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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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=5000,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=5000,variableFilter="time|sen.V|sen.I",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001586/0.001586, allocations: 109.7 kB / 16.41 MB, free: 6.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001338/0.001339, allocations: 183.9 kB / 17.35 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.366/1.366, allocations: 222.9 MB / 241.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.645/2.645, allocations: 472.7 MB / 0.746 GB, free: 460 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.00134, allocations: 63.91 kB / 1.07 GB, free: 9.598 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9604/0.9618, allocations: 159.9 MB / 1.226 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.006255/0.9681, allocations: 3.212 MB / 1.229 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002864/0.971, allocations: 1.375 MB / 1.231 GB, free: 8.938 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002798/0.9713, allocations: 7.938 kB / 1.231 GB, free: 8.93 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001275/0.9726, allocations: 338.6 kB / 1.231 GB, free: 8.598 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0005746/0.9732, allocations: 147.2 kB / 1.231 GB, free: 8.453 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005232/0.9738, allocations: 151.5 kB / 1.231 GB, free: 8.305 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0006029/0.9744, allocations: 338.8 kB / 1.232 GB, free: 7.973 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005693/0.975, allocations: 247.7 kB / 1.232 GB, free: 7.727 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003365/0.9753, allocations: 139.5 kB / 1.232 GB, free: 7.59 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004432/0.9758, allocations: 147.5 kB / 1.232 GB, free: 7.445 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 6.207e-05/0.9758, allocations: 20 kB / 1.232 GB, free: 7.426 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000429/0.9763, allocations: 171.6 kB / 1.232 GB, free: 7.258 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001345/0.9764, allocations: 83.73 kB / 1.233 GB, free: 7.176 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002162/0.9766, allocations: 119.5 kB / 1.233 GB, free: 7.059 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0007759/0.9774, allocations: 367.1 kB / 1.233 GB, free: 6.703 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.9774, allocations: 0 / 1.233 GB, free: 6.703 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.623e-06/0.9774, allocations: 0 / 1.233 GB, free: 6.703 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.403e-05/0.9775, allocations: 0 / 1.233 GB, free: 6.703 MB / 0.9512 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.001177/0.9786, allocations: 0.5416 MB / 1.234 GB, free: 6.113 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.188e-05/0.9787, allocations: 12.03 kB / 1.234 GB, free: 6.102 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006702/0.9794, allocations: 84.67 kB / 1.234 GB, free: 6.02 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004183/0.9798, allocations: 253.2 kB / 1.234 GB, free: 5.734 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/0.9798, allocations: 20.81 kB / 1.234 GB, free: 5.715 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001019/0.98, allocations: 16.38 kB / 1.234 GB, free: 5.699 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005764/0.9805, allocations: 320.6 kB / 1.234 GB, free: 5.359 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.9806, allocations: 3.938 kB / 1.234 GB, free: 5.355 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.895e-05/0.9806, allocations: 8 kB / 1.234 GB, free: 5.348 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.029e-05/0.9806, allocations: 16.44 kB / 1.234 GB, free: 5.332 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004378/0.9811, allocations: 213.5 kB / 1.234 GB, free: 5.121 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001919/0.983, allocations: 1.49 MB / 1.236 GB, free: 3.469 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004504/0.9835, allocations: 211.6 kB / 1.236 GB, free: 3.234 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.798e-05/0.9836, allocations: 44.83 kB / 1.236 GB, free: 3.188 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.875e-05/0.9836, allocations: 7.984 kB / 1.236 GB, free: 3.18 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.413e-05/0.9837, allocations: 38.48 kB / 1.236 GB, free: 3.133 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=8): time 2.335e-06/0.9837, allocations: 3.938 kB / 1.236 GB, free: 3.129 MB / 0.9512 GB Notification: Performance of matching and sorting (n=8): time 0.0006037/0.9843, allocations: 259.5 kB / 1.236 GB, free: 2.848 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.579e-05/0.9844, allocations: 59.34 kB / 1.236 GB, free: 2.777 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002063/0.9846, allocations: 203.8 kB / 1.237 GB, free: 2.566 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.9846, allocations: 25.7 kB / 1.237 GB, free: 2.535 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001141/0.9847, allocations: 176 kB / 1.237 GB, free: 2.359 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.711e-05/0.9848, allocations: 31.73 kB / 1.237 GB, free: 2.328 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.915e-05/0.9849, allocations: 41.67 kB / 1.237 GB, free: 2.281 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.985, allocations: 334.8 kB / 1.237 GB, free: 1.945 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001142/0.9851, allocations: 44.03 kB / 1.237 GB, free: 1.902 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001364/0.9853, allocations: 108.5 kB / 1.237 GB, free: 1.766 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000255/0.9855, allocations: 176.3 kB / 1.238 GB, free: 1.562 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.9855, allocations: 0 / 1.238 GB, free: 1.562 MB / 0.9512 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004062/0.9859, allocations: 210.1 kB / 1.238 GB, free: 1.348 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.986, allocations: 4 kB / 1.238 GB, free: 1.344 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.986, allocations: 8.281 kB / 1.238 GB, free: 1.336 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001984/0.9862, allocations: 24.84 kB / 1.238 GB, free: 1.309 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001313/0.9863, allocations: 35.98 kB / 1.238 GB, free: 1.273 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001333/0.9877, allocations: 1.425 MB / 1.239 GB, free: 15.71 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001492/0.9878, allocations: 11.89 kB / 1.239 GB, free: 15.7 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.754e-05/0.9879, allocations: 12 kB / 1.239 GB, free: 15.68 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.000179/0.9881, allocations: 153.8 kB / 1.239 GB, free: 15.52 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.264e-05/0.9881, allocations: 19.86 kB / 1.239 GB, free: 15.5 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.672e-05/0.9882, allocations: 17.41 kB / 1.239 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.9882, allocations: 4.078 kB / 1.239 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.9882, allocations: 7.938 kB / 1.239 GB, free: 15.47 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001066/0.9883, allocations: 100.9 kB / 1.24 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.284e-05/0.9883, allocations: 4 kB / 1.24 GB, free: 15.35 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001251/0.9885, allocations: 8 kB / 1.24 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.892e-05/0.9885, allocations: 7.922 kB / 1.24 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003663/0.9889, allocations: 213.7 kB / 1.24 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000402/0.9893, allocations: 330.6 kB / 1.24 GB, free: 14.78 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.528e-05/0.9894, allocations: 36 kB / 1.24 GB, free: 14.74 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.000138/0.9896, allocations: 157.5 kB / 1.24 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of Backend: time 3.71e-07/0.9896, allocations: 0 / 1.24 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0009534/0.9905, allocations: 385.9 kB / 1.241 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of SimCode: time 0.0009486/0.9915, allocations: 0.8584 MB / 1.241 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of Templates: time 0.006915/0.9984, allocations: 2.76 MB / 1.244 GB, free: 10.55 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) 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) Reference file matches