Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001547/0.001547, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001897/0.001897, allocations: 217.8 kB / 23.01 MB, free: 4.566 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.421/1.421, allocations: 230.6 MB / 256.8 MB, free: 8.258 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.213/3.213, allocations: 0.505 GB / 0.8108 GB, free: 22.1 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.00211/0.00211, allocations: 67.38 kB / 1.178 GB, free: 16.93 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3504/0.3525, allocations: 180.2 MB / 1.354 GB, free: 8 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.00568/0.3581, allocations: 3.333 MB / 1.357 GB, free: 4.652 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.00262/0.3608, allocations: 1.5 MB / 1.359 GB, free: 3.145 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000152/0.3609, allocations: 4 kB / 1.359 GB, free: 3.141 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001102/0.362, allocations: 354.6 kB / 1.359 GB, free: 2.793 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0004053/0.3624, allocations: 155.2 kB / 1.359 GB, free: 2.641 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004388/0.3629, allocations: 157.9 kB / 1.359 GB, free: 2.488 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.000426/0.3633, allocations: 338.8 kB / 1.36 GB, free: 2.156 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004388/0.3637, allocations: 204 kB / 1.36 GB, free: 1.949 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002737/0.364, allocations: 151.5 kB / 1.36 GB, free: 1.801 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002892/0.3643, allocations: 151.4 kB / 1.36 GB, free: 1.652 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.919e-05/0.3643, allocations: 23.98 kB / 1.36 GB, free: 1.629 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003264/0.3647, allocations: 179.6 kB / 1.36 GB, free: 1.453 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001123/0.3648, allocations: 87.73 kB / 1.361 GB, free: 1.367 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001326/0.3649, allocations: 123.4 kB / 1.361 GB, free: 1.246 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0005196/0.3654, allocations: 370.6 kB / 1.361 GB, free: 0.8828 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3654, allocations: 0 / 1.361 GB, free: 0.8828 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.262e-06/0.3654, allocations: 0 / 1.361 GB, free: 0.8828 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.763e-06/0.3654, allocations: 0 / 1.361 GB, free: 0.8828 MB / 1.045 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.0009373/0.3664, allocations: 485.4 kB / 1.361 GB, free: 388 kB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.3664, allocations: 8.031 kB / 1.361 GB, free: 380 kB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006686/0.3671, allocations: 96.66 kB / 1.362 GB, free: 284 kB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003601/0.3674, allocations: 203.9 kB / 1.362 GB, free: 52 kB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.086e-05/0.3675, allocations: 16.81 kB / 1.362 GB, free: 36 kB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.206e-05/0.3675, allocations: 20.38 kB / 1.362 GB, free: 16 kB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005623/0.3681, allocations: 312.7 kB / 1.362 GB, free: 15.68 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.3681, allocations: 7.875 kB / 1.362 GB, free: 15.68 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.936e-05/0.3681, allocations: 11.98 kB / 1.362 GB, free: 15.66 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.663e-05/0.3681, allocations: 20.42 kB / 1.362 GB, free: 15.64 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000391/0.3685, allocations: 209.6 kB / 1.362 GB, free: 15.44 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001743/0.3703, allocations: 1.459 MB / 1.364 GB, free: 13.82 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004116/0.3707, allocations: 122.5 kB / 1.364 GB, free: 13.7 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.971e-05/0.3708, allocations: 40.84 kB / 1.364 GB, free: 13.65 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.409e-05/0.3708, allocations: 0 / 1.364 GB, free: 13.65 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.607e-05/0.3708, allocations: 38.55 kB / 1.364 GB, free: 13.61 MB / 1.061 GB Notification: Performance of pre-optimization done (n=8): time 9.52e-07/0.3708, allocations: 0 / 1.364 GB, free: 13.61 MB / 1.061 GB Notification: Performance of matching and sorting (n=8): time 0.0005687/0.3714, allocations: 186.4 kB / 1.364 GB, free: 13.41 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.901e-05/0.3714, allocations: 55.34 kB / 1.364 GB, free: 13.35 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002307/0.3717, allocations: 206.9 kB / 1.364 GB, free: 13.14 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.418e-05/0.3717, allocations: 29.7 kB / 1.364 GB, free: 13.1 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001304/0.3718, allocations: 179.9 kB / 1.365 GB, free: 12.92 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.854e-05/0.3719, allocations: 27.78 kB / 1.365 GB, free: 12.89 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.446e-05/0.3719, allocations: 33.67 kB / 1.365 GB, free: 12.86 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.3721, allocations: 330.8 kB / 1.365 GB, free: 12.52 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001099/0.3722, allocations: 47.97 kB / 1.365 GB, free: 12.48 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001483/0.3723, allocations: 113.9 kB / 1.365 GB, free: 12.34 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002605/0.3726, allocations: 172.3 kB / 1.365 GB, free: 12.14 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.3726, allocations: 0 / 1.365 GB, free: 12.14 MB / 1.061 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003913/0.373, allocations: 210.1 kB / 1.365 GB, free: 11.92 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.373, allocations: 8 kB / 1.365 GB, free: 11.91 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.373, allocations: 4 kB / 1.365 GB, free: 11.91 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001776/0.3732, allocations: 33.11 kB / 1.365 GB, free: 11.88 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001387/0.3733, allocations: 31.92 kB / 1.366 GB, free: 11.84 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001234/0.3746, allocations: 1.322 MB / 1.367 GB, free: 10.4 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001462/0.3747, allocations: 27.81 kB / 1.367 GB, free: 10.38 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.55e-05/0.3747, allocations: 8 kB / 1.367 GB, free: 10.37 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.00016/0.3749, allocations: 154.3 kB / 1.367 GB, free: 10.21 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.171e-05/0.3749, allocations: 20 kB / 1.367 GB, free: 10.19 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.533e-05/0.375, allocations: 17.41 kB / 1.367 GB, free: 10.17 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.375, allocations: 3.938 kB / 1.367 GB, free: 10.17 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.375, allocations: 4 kB / 1.367 GB, free: 10.16 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.375, allocations: 3.984 kB / 1.367 GB, free: 10.16 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000666/0.3756, allocations: 454.3 kB / 1.367 GB, free: 9.664 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.3756, allocations: 0 / 1.367 GB, free: 9.664 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.858e-05/0.3757, allocations: 12 kB / 1.367 GB, free: 9.652 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.101e-05/0.3758, allocations: 24.84 kB / 1.368 GB, free: 9.625 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.3758, allocations: 7.922 kB / 1.368 GB, free: 9.617 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001126/0.3769, allocations: 1.318 MB / 1.369 GB, free: 8.184 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3769, allocations: 0 / 1.369 GB, free: 8.184 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003253/0.3773, allocations: 244.2 kB / 1.369 GB, free: 7.926 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.358e-05/0.3773, allocations: 31.92 kB / 1.369 GB, free: 7.895 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.1e-05/0.3773, allocations: 0 / 1.369 GB, free: 7.895 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000132/0.3775, allocations: 11.98 kB / 1.369 GB, free: 7.883 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.56e-05/0.3775, allocations: 7.984 kB / 1.369 GB, free: 7.875 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-06/0.3775, allocations: 96 / 1.369 GB, free: 7.875 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001419/0.3777, allocations: 152.3 kB / 1.369 GB, free: 7.727 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.3777, allocations: 0 / 1.369 GB, free: 7.727 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003485/0.378, allocations: 63.78 kB / 1.369 GB, free: 7.664 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 0.0001369/0.3781, allocations: 103.2 kB / 1.369 GB, free: 7.551 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000446/0.3786, allocations: 218.6 kB / 1.37 GB, free: 7.324 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3786, allocations: 0 / 1.37 GB, free: 7.324 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002182/0.3788, allocations: 159.2 kB / 1.37 GB, free: 7.156 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003865/0.3792, allocations: 42.75 kB / 1.37 GB, free: 7.117 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007706/0.38, allocations: 447.6 kB / 1.37 GB, free: 6.648 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004081/0.3804, allocations: 0.7593 MB / 1.371 GB, free: 5.863 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.929e-05/0.3804, allocations: 15.44 kB / 1.371 GB, free: 5.848 MB / 1.061 GB Notification: Performance of SimCode: time 3.61e-07/0.3804, allocations: 0 / 1.371 GB, free: 5.848 MB / 1.061 GB Notification: Performance of Templates: time 0.005906/0.3863, allocations: 3.272 MB / 1.374 GB, free: 2.586 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.sim & ./Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_DC_Sources_Examples_VoltageSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.374986674985848]