Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001758/0.001758, allocations: 111.5 kB / 17.13 MB, free: 6.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002153/0.002153, allocations: 213.8 kB / 20.1 MB, free: 3.055 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.53/1.53, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.902/2.902, allocations: 0.49 GB / 0.7923 GB, free: 1.285 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.V|sen.I",fileNamePrefix="Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource") translateModel(Buildings.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.V|sen.I",fileNamePrefix="Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002073/0.002073, allocations: 63.91 kB / 1.15 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.925/0.927, allocations: 176.1 MB / 1.322 GB, free: 25.27 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.004015/0.931, allocations: 3.281 MB / 1.325 GB, free: 23.06 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001867/0.9329, allocations: 1.482 MB / 1.327 GB, free: 22.03 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001372/0.9331, allocations: 9.375 kB / 1.327 GB, free: 22.03 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0008855/0.9339, allocations: 331.5 kB / 1.327 GB, free: 21.84 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0003017/0.9342, allocations: 155 kB / 1.327 GB, free: 21.75 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003458/0.9346, allocations: 164 kB / 1.327 GB, free: 21.66 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003642/0.935, allocations: 329.2 kB / 1.328 GB, free: 21.52 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003692/0.9353, allocations: 207.7 kB / 1.328 GB, free: 21.43 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002303/0.9356, allocations: 145.6 kB / 1.328 GB, free: 21.36 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002437/0.9358, allocations: 159.9 kB / 1.328 GB, free: 21.3 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.077e-05/0.9358, allocations: 20.53 kB / 1.328 GB, free: 21.3 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002938/0.9361, allocations: 178.5 kB / 1.328 GB, free: 21.24 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.394e-05/0.9362, allocations: 84.09 kB / 1.328 GB, free: 21.2 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001167/0.9363, allocations: 128.1 kB / 1.328 GB, free: 21.12 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004395/0.9368, allocations: 365.4 kB / 1.329 GB, free: 21 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.9368, allocations: 0.5938 kB / 1.329 GB, free: 21 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.513e-06/0.9368, allocations: 0 / 1.329 GB, free: 21 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.9368, allocations: 0.9062 kB / 1.329 GB, free: 21 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0007995/0.9376, allocations: 0.5455 MB / 1.329 GB, free: 20.52 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.9376, allocations: 20.5 kB / 1.329 GB, free: 20.51 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000674/0.9383, allocations: 95.38 kB / 1.329 GB, free: 20.49 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000291/0.9386, allocations: 255.9 kB / 1.33 GB, free: 20.25 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/0.9386, allocations: 13.25 kB / 1.33 GB, free: 20.24 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.933e-05/0.9386, allocations: 20.66 kB / 1.33 GB, free: 20.23 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005249/0.9392, allocations: 319.9 kB / 1.33 GB, free: 20.06 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.9392, allocations: 0.625 kB / 1.33 GB, free: 20.06 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.774e-05/0.9392, allocations: 7.094 kB / 1.33 GB, free: 20.06 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-05/0.9392, allocations: 20.48 kB / 1.33 GB, free: 20.05 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003901/0.9396, allocations: 211.8 kB / 1.33 GB, free: 19.98 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001286/0.9409, allocations: 1.496 MB / 1.332 GB, free: 18.64 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003853/0.9413, allocations: 203 kB / 1.332 GB, free: 18.48 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.839e-05/0.9414, allocations: 38.08 kB / 1.332 GB, free: 18.47 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.31e-05/0.9414, allocations: 5.125 kB / 1.332 GB, free: 18.46 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.436e-05/0.9414, allocations: 36.38 kB / 1.332 GB, free: 18.42 MB / 1.061 GB Notification: Performance of pre-optimization done (n=8): time 1.472e-06/0.9414, allocations: 0 / 1.332 GB, free: 18.42 MB / 1.061 GB Notification: Performance of matching and sorting (n=8): time 0.0005288/0.942, allocations: 258.8 kB / 1.332 GB, free: 18.25 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.079e-05/0.942, allocations: 56.5 kB / 1.332 GB, free: 18.18 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000183/0.9422, allocations: 204 kB / 1.332 GB, free: 18.05 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.179e-05/0.9422, allocations: 27.56 kB / 1.332 GB, free: 18.02 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.057e-05/0.9423, allocations: 181.8 kB / 1.333 GB, free: 17.86 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.132e-05/0.9423, allocations: 29.97 kB / 1.333 GB, free: 17.83 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.146e-05/0.9423, allocations: 36.91 kB / 1.333 GB, free: 17.8 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.595e-05/0.9424, allocations: 335.4 kB / 1.333 GB, free: 17.48 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001011/0.9425, allocations: 42.98 kB / 1.333 GB, free: 17.46 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001276/0.9426, allocations: 112.4 kB / 1.333 GB, free: 17.36 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002151/0.9428, allocations: 168.6 kB / 1.333 GB, free: 17.23 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.257e-06/0.9428, allocations: 1.156 kB / 1.333 GB, free: 17.23 MB / 1.061 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003669/0.9432, allocations: 217 kB / 1.334 GB, free: 17.12 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.9432, allocations: 5.906 kB / 1.334 GB, free: 17.12 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.9432, allocations: 6.156 kB / 1.334 GB, free: 17.12 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001675/0.9434, allocations: 28.44 kB / 1.334 GB, free: 17.11 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001396/0.9435, allocations: 40.16 kB / 1.334 GB, free: 17.1 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007895/0.9443, allocations: 1.425 MB / 1.335 GB, free: 15.68 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00015/0.9445, allocations: 20.19 kB / 1.335 GB, free: 15.66 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.618e-05/0.9445, allocations: 7.125 kB / 1.335 GB, free: 15.66 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001145/0.9446, allocations: 151.8 kB / 1.335 GB, free: 15.53 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.194e-05/0.9447, allocations: 20.5 kB / 1.335 GB, free: 15.52 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.437e-05/0.9447, allocations: 19.67 kB / 1.335 GB, free: 15.5 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.9447, allocations: 10.12 kB / 1.335 GB, free: 15.49 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.9447, allocations: 0.5625 kB / 1.335 GB, free: 15.49 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.9447, allocations: 0.75 kB / 1.335 GB, free: 15.49 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005419/0.9452, allocations: 482.6 kB / 1.336 GB, free: 15.11 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.9452, allocations: 0 / 1.336 GB, free: 15.11 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.689e-05/0.9453, allocations: 15.67 kB / 1.336 GB, free: 15.11 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.044e-05/0.9454, allocations: 28.42 kB / 1.336 GB, free: 15.09 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.9454, allocations: 0 / 1.336 GB, free: 15.09 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000688/0.9461, allocations: 1.432 MB / 1.337 GB, free: 13.67 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.9461, allocations: 0 / 1.337 GB, free: 13.67 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002852/0.9464, allocations: 233.3 kB / 1.337 GB, free: 13.49 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.933e-05/0.9464, allocations: 103.8 kB / 1.337 GB, free: 13.38 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.186e-05/0.9465, allocations: 2.203 kB / 1.337 GB, free: 13.38 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000126/0.9466, allocations: 9.547 kB / 1.337 GB, free: 13.38 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.588e-05/0.9466, allocations: 8.828 kB / 1.337 GB, free: 13.38 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.886e-06/0.9466, allocations: 7.281 kB / 1.337 GB, free: 13.37 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001284/0.9468, allocations: 153.6 kB / 1.338 GB, free: 13.27 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.9468, allocations: 1.125 kB / 1.338 GB, free: 13.27 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003573/0.9471, allocations: 59.73 kB / 1.338 GB, free: 13.25 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 8.946e-05/0.9472, allocations: 100 kB / 1.338 GB, free: 13.16 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004275/0.9476, allocations: 226.8 kB / 1.338 GB, free: 13.01 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.9476, allocations: 1.094 kB / 1.338 GB, free: 13.01 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001871/0.9478, allocations: 154.2 kB / 1.338 GB, free: 12.89 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003845/0.9482, allocations: 49.05 kB / 1.338 GB, free: 12.87 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007427/0.949, allocations: 443.7 kB / 1.339 GB, free: 12.57 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002359/0.9492, allocations: 0.7541 MB / 1.339 GB, free: 11.87 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.378e-05/0.9492, allocations: 24.73 kB / 1.339 GB, free: 11.86 MB / 1.061 GB Notification: Performance of SimCode: time 3.1e-07/0.9492, allocations: 0 / 1.339 GB, free: 11.86 MB / 1.061 GB Notification: Performance of Templates: time 0.006092/0.9553, allocations: 3.272 MB / 1.343 GB, free: 11.59 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource.sim & ./Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_DC_Sources_Examples_VoltageSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.197281859989744]