Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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=5000,variableFilter="time|sen.V|sen.I",fileNamePrefix="Buildings_9_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_9_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.001524/0.001524, allocations: 112.4 kB / 16.42 MB, free: 6.445 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.001729/0.001729, allocations: 185.7 kB / 17.35 MB, free: 5.738 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.383/1.383, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.263/2.263, allocations: 390.3 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001529/0.001529, allocations: 63.91 kB / 0.9515 GB, free: 7.707 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9459/0.9474, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.004872/0.9524, allocations: 3.21 MB / 1.092 GB, free: 3.371 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002311/0.9547, allocations: 1.377 MB / 1.093 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000157/0.9549, allocations: 5.062 kB / 1.093 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001047/0.9559, allocations: 336.5 kB / 1.093 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003471/0.9563, allocations: 157.5 kB / 1.094 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003716/0.9566, allocations: 147.2 kB / 1.094 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004449/0.9571, allocations: 334.3 kB / 1.094 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005066/0.9576, allocations: 251.7 kB / 1.094 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002366/0.9579, allocations: 144.9 kB / 1.094 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000324/0.9582, allocations: 152.1 kB / 1.095 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.158e-05/0.9583, allocations: 20.16 kB / 1.095 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003548/0.9586, allocations: 166.5 kB / 1.095 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001237/0.9587, allocations: 84.52 kB / 1.095 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001575/0.9589, allocations: 121.3 kB / 1.095 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006132/0.9595, allocations: 358.9 kB / 1.095 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.9595, allocations: 0.8125 kB / 1.095 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.543e-06/0.9596, allocations: 4 kB / 1.095 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.055e-06/0.9596, allocations: 0 / 1.095 GB, free: 1.371 MB / 0.8575 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.0009051/0.9605, allocations: 0.5353 MB / 1.096 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.415e-05/0.9605, allocations: 8.594 kB / 1.096 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006275/0.9612, allocations: 81.12 kB / 1.096 GB, free: 0.8867 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003105/0.9615, allocations: 261.5 kB / 1.096 GB, free: 0.6406 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.216e-05/0.9615, allocations: 12.25 kB / 1.096 GB, free: 0.6367 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.13e-05/0.9616, allocations: 21.52 kB / 1.096 GB, free: 0.6289 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005703/0.9621, allocations: 320 kB / 1.096 GB, free: 468 kB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.9622, allocations: 4.594 kB / 1.096 GB, free: 464 kB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.792e-05/0.9622, allocations: 6.406 kB / 1.096 GB, free: 460 kB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.904e-05/0.9623, allocations: 20.83 kB / 1.096 GB, free: 452 kB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004383/0.9627, allocations: 210.7 kB / 1.097 GB, free: 384 kB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002015/0.9647, allocations: 1.488 MB / 1.098 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005239/0.9653, allocations: 207.3 kB / 1.098 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001272/0.9654, allocations: 43.95 kB / 1.098 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 1.541e-05/0.9654, allocations: 0.8438 kB / 1.098 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.538e-05/0.9655, allocations: 32.77 kB / 1.098 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=8): time 3.075e-06/0.9655, allocations: 4 kB / 1.098 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of matching and sorting (n=8): time 0.0006886/0.9662, allocations: 266 kB / 1.099 GB, free: 14.63 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.882e-05/0.9662, allocations: 53.16 kB / 1.099 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002998/0.9665, allocations: 207.6 kB / 1.099 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.226e-05/0.9666, allocations: 26.8 kB / 1.099 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001399/0.9667, allocations: 176.2 kB / 1.099 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.338e-05/0.9667, allocations: 30.59 kB / 1.099 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.361e-05/0.9668, allocations: 37.67 kB / 1.099 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001585/0.967, allocations: 331.8 kB / 1.099 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001205/0.9671, allocations: 42.39 kB / 1.1 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000174/0.9673, allocations: 116.7 kB / 1.1 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002895/0.9676, allocations: 167.9 kB / 1.1 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.9676, allocations: 1 kB / 1.1 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004619/0.9681, allocations: 213.6 kB / 1.1 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.9681, allocations: 8.5 kB / 1.1 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.9681, allocations: 2.859 kB / 1.1 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001806/0.9683, allocations: 26.7 kB / 1.1 GB, free: 13.51 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001458/0.9685, allocations: 37.55 kB / 1.1 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001131/0.9696, allocations: 1.425 MB / 1.101 GB, free: 12.08 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001423/0.9698, allocations: 16.64 kB / 1.101 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.914e-05/0.9698, allocations: 14.28 kB / 1.101 GB, free: 12.07 MB / 0.8731 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.0001573/0.97, allocations: 153.5 kB / 1.102 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.833e-05/0.97, allocations: 17.38 kB / 1.102 GB, free: 11.92 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.879e-05/0.9701, allocations: 19.34 kB / 1.102 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.9701, allocations: 4.547 kB / 1.102 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.9701, allocations: 0.75 kB / 1.102 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 8.698e-05/0.9702, allocations: 99.88 kB / 1.102 GB, free: 11.8 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.569e-05/0.9702, allocations: 5.531 kB / 1.102 GB, free: 11.8 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001253/0.9703, allocations: 9.625 kB / 1.102 GB, free: 11.79 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.625e-05/0.9704, allocations: 10.41 kB / 1.102 GB, free: 11.79 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003845/0.9708, allocations: 217.9 kB / 1.102 GB, free: 11.64 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004024/0.9712, allocations: 329.9 kB / 1.102 GB, free: 11.39 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.357e-05/0.9713, allocations: 39.36 kB / 1.102 GB, free: 11.38 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.00015/0.9715, allocations: 146.2 kB / 1.103 GB, free: 11.29 MB / 0.8731 GB Notification: Performance of Backend: time 3.21e-07/0.9715, allocations: 0 / 1.103 GB, free: 11.29 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0009957/0.9725, allocations: 380.8 kB / 1.103 GB, free: 11.05 MB / 0.8731 GB Notification: Performance of SimCode: time 0.00121/0.9737, allocations: 0.8645 MB / 1.104 GB, free: 10.33 MB / 0.8731 GB Notification: Performance of Templates: time 0.008268/0.982, allocations: 2.752 MB / 1.106 GB, free: 10.07 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Electrical.DC.Sources.Examples.VoltageSource.makefile (rm -f Buildings_9_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo Buildings_9_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/Buildings_9_Buildings.Electrical.DC.Sources.Examples.VoltageSource.sim & ./Buildings_9_Buildings.Electrical.DC.Sources.Examples.VoltageSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_DC_Sources_Examples_VoltageSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.DC.Sources.Examples.VoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches