Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.DC.Sources.Examples.VoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 225.6 MB / 249.4 MB, free: 3.152 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.646/2.646, allocations: 443.5 MB / 0.7304 GB, free: 13.91 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Electrical.DC.Sources.Examples.VoltageSource") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002017/0.002017, allocations: 67.89 kB / 1.059 GB, free: 412 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4439/0.4459, allocations: 160.7 MB / 1.216 GB, free: 15.37 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.005724/0.4516, allocations: 3.335 MB / 1.219 GB, free: 12.01 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003342/0.4549, allocations: 1.426 MB / 1.221 GB, free: 10.58 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002244/0.4552, allocations: 4 kB / 1.221 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001281/0.4564, allocations: 346.7 kB / 1.221 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0005359/0.457, allocations: 151.2 kB / 1.221 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004952/0.4575, allocations: 146.9 kB / 1.221 GB, free: 9.945 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0004686/0.4579, allocations: 330.9 kB / 1.222 GB, free: 9.621 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004503/0.4584, allocations: 183.6 kB / 1.222 GB, free: 9.438 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002472/0.4586, allocations: 155.5 kB / 1.222 GB, free: 9.285 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003383/0.459, allocations: 151.4 kB / 1.222 GB, free: 9.137 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.101e-05/0.459, allocations: 20 kB / 1.222 GB, free: 9.117 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003832/0.4594, allocations: 175.6 kB / 1.222 GB, free: 8.945 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001109/0.4595, allocations: 87.72 kB / 1.222 GB, free: 8.859 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001468/0.4597, allocations: 119.4 kB / 1.223 GB, free: 8.742 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005458/0.4602, allocations: 354.7 kB / 1.223 GB, free: 8.395 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.4602, allocations: 0 / 1.223 GB, free: 8.395 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.943e-06/0.4602, allocations: 4 kB / 1.223 GB, free: 8.391 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.626e-06/0.4602, allocations: 4 kB / 1.223 GB, free: 8.387 MB / 0.9669 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.001071/0.4613, allocations: 0.5453 MB / 1.223 GB, free: 7.793 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.4613, allocations: 8.031 kB / 1.223 GB, free: 7.785 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006241/0.462, allocations: 84.67 kB / 1.224 GB, free: 7.703 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003759/0.4623, allocations: 262.8 kB / 1.224 GB, free: 7.41 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.429e-05/0.4624, allocations: 12.81 kB / 1.224 GB, free: 7.398 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.395e-05/0.4624, allocations: 16.38 kB / 1.224 GB, free: 7.383 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000555/0.463, allocations: 320.6 kB / 1.224 GB, free: 7.043 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.463, allocations: 0 / 1.224 GB, free: 7.043 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.101e-05/0.463, allocations: 7.984 kB / 1.224 GB, free: 7.035 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.934e-05/0.4631, allocations: 28.36 kB / 1.224 GB, free: 7.008 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003837/0.4634, allocations: 209.5 kB / 1.224 GB, free: 6.805 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001792/0.4652, allocations: 1.494 MB / 1.226 GB, free: 5.145 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004674/0.4657, allocations: 203.6 kB / 1.226 GB, free: 4.918 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.509e-05/0.4658, allocations: 40.84 kB / 1.226 GB, free: 4.875 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.706e-05/0.4658, allocations: 0 / 1.226 GB, free: 4.875 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.138e-05/0.4658, allocations: 30.56 kB / 1.226 GB, free: 4.836 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 1.142e-06/0.4658, allocations: 0 / 1.226 GB, free: 4.836 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.0006783/0.4665, allocations: 279.3 kB / 1.226 GB, free: 4.535 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.702e-05/0.4666, allocations: 51.41 kB / 1.226 GB, free: 4.473 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002299/0.4668, allocations: 207.7 kB / 1.227 GB, free: 4.262 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.291e-05/0.4668, allocations: 25.7 kB / 1.227 GB, free: 4.23 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001586/0.467, allocations: 176 kB / 1.227 GB, free: 4.051 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.002e-05/0.467, allocations: 31.75 kB / 1.227 GB, free: 4.02 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.43e-05/0.4671, allocations: 41.66 kB / 1.227 GB, free: 3.973 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.4672, allocations: 330.8 kB / 1.227 GB, free: 3.641 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001027/0.4674, allocations: 43.97 kB / 1.227 GB, free: 3.598 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001424/0.4675, allocations: 110.6 kB / 1.227 GB, free: 3.461 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000251/0.4677, allocations: 164.4 kB / 1.227 GB, free: 3.27 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/0.4678, allocations: 4 kB / 1.227 GB, free: 3.266 MB / 0.9669 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003827/0.4681, allocations: 218.2 kB / 1.228 GB, free: 3.043 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.4682, allocations: 8 kB / 1.228 GB, free: 3.035 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.4682, allocations: 0 / 1.228 GB, free: 3.035 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002012/0.4684, allocations: 28.84 kB / 1.228 GB, free: 3.004 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001358/0.4685, allocations: 31.92 kB / 1.228 GB, free: 2.973 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001299/0.4698, allocations: 1.433 MB / 1.229 GB, free: 1.402 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001479/0.4699, allocations: 19.83 kB / 1.229 GB, free: 1.383 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.563e-05/0.47, allocations: 12.16 kB / 1.229 GB, free: 1.371 MB / 0.9669 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.0001683/0.4701, allocations: 141.8 kB / 1.229 GB, free: 1.223 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.727e-05/0.4702, allocations: 19.89 kB / 1.229 GB, free: 1.203 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.987e-05/0.4702, allocations: 21.39 kB / 1.229 GB, free: 1.18 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.4702, allocations: 4 kB / 1.229 GB, free: 1.176 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.4702, allocations: 0 / 1.229 GB, free: 1.176 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.4702, allocations: 3.938 kB / 1.229 GB, free: 1.172 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007133/0.4709, allocations: 495.1 kB / 1.23 GB, free: 0.6289 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.4709, allocations: 0 / 1.23 GB, free: 0.6289 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.362e-05/0.471, allocations: 12 kB / 1.23 GB, free: 0.6172 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.705e-05/0.4711, allocations: 24.78 kB / 1.23 GB, free: 0.5898 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.535e-05/0.4711, allocations: 11.98 kB / 1.23 GB, free: 0.5781 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001145/0.4723, allocations: 1.414 MB / 1.231 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.4723, allocations: 0 / 1.231 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003169/0.4726, allocations: 244.8 kB / 1.231 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001018/0.4727, allocations: 104.9 kB / 1.232 GB, free: 14.65 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.295e-05/0.4727, allocations: 4 kB / 1.232 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001222/0.4728, allocations: 11.98 kB / 1.232 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.465e-05/0.4729, allocations: 0 / 1.232 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.233e-05/0.4729, allocations: 7.984 kB / 1.232 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000147/0.473, allocations: 148.2 kB / 1.232 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.473, allocations: 0 / 1.232 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003591/0.4734, allocations: 59.83 kB / 1.232 GB, free: 14.42 MB / 0.9825 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.0001647/0.4736, allocations: 101.5 kB / 1.232 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004951/0.4741, allocations: 226.8 kB / 1.232 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.4741, allocations: 0 / 1.232 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002227/0.4743, allocations: 166.6 kB / 1.232 GB, free: 13.9 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003997/0.4747, allocations: 37.61 kB / 1.232 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007915/0.4755, allocations: 411.5 kB / 1.233 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004158/0.4759, allocations: 0.7554 MB / 1.233 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.829e-05/0.476, allocations: 29.52 kB / 1.233 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.519e-05/0.476, allocations: 15.44 kB / 1.233 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of SimCode: time 5.71e-07/0.476, allocations: 0 / 1.233 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of Templates: time 0.0059/0.4819, allocations: 2.008 MB / 1.235 GB, free: 10.62 MB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Electrical.DC.Sources.Examples.VoltageSource.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo Buildings_10_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/Buildings_10_Buildings.Electrical.DC.Sources.Examples.VoltageSource.sim & ./Buildings_10_Buildings.Electrical.DC.Sources.Examples.VoltageSource -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_DC_Sources_Examples_VoltageSource.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 8.798417940735817]