Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen_ss.I|sen_dyn.I|RC_ss.Vc|RC_dyn.Vc",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel") translateModel(Buildings.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen_ss.I|sen_dyn.I|RC_ss.Vc|RC_dyn.Vc",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 109 kB / 16.42 MB, free: 5.984 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.001134/0.001134, allocations: 186.5 kB / 17.35 MB, free: 5.582 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.368/1.368, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.569/2.569, allocations: 461.9 MB / 0.7355 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001436, allocations: 60.12 kB / 1.055 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9452/0.9466, allocations: 157.4 MB / 1.208 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.006657/0.9533, allocations: 4.352 MB / 1.213 GB, free: 9.43 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003195/0.9566, allocations: 1.854 MB / 1.214 GB, free: 7.566 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004076/0.957, allocations: 11.94 kB / 1.214 GB, free: 7.555 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001743/0.9588, allocations: 0.5915 MB / 1.215 GB, free: 6.961 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.000805/0.9596, allocations: 262.6 kB / 1.215 GB, free: 6.703 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007575/0.9604, allocations: 254.9 kB / 1.216 GB, free: 6.457 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0008658/0.9613, allocations: 0.6112 MB / 1.216 GB, free: 5.844 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008003/0.9621, allocations: 468.6 kB / 1.217 GB, free: 5.383 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004381/0.9625, allocations: 251.1 kB / 1.217 GB, free: 5.137 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005979/0.9631, allocations: 275 kB / 1.217 GB, free: 4.867 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 9.804e-05/0.9632, allocations: 36 kB / 1.217 GB, free: 4.832 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005374/0.9638, allocations: 255.4 kB / 1.217 GB, free: 4.582 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001736/0.964, allocations: 151.6 kB / 1.218 GB, free: 4.434 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002775/0.9643, allocations: 218.9 kB / 1.218 GB, free: 4.219 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0008648/0.9651, allocations: 0.5997 MB / 1.218 GB, free: 3.617 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.9651, allocations: 0 / 1.218 GB, free: 3.617 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.482e-06/0.9652, allocations: 0 / 1.218 GB, free: 3.617 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.504e-06/0.9652, allocations: 0 / 1.218 GB, free: 3.617 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001206/0.9664, allocations: 0.7407 MB / 1.219 GB, free: 2.828 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.9664, allocations: 8.031 kB / 1.219 GB, free: 2.82 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009753/0.9674, allocations: 148.2 kB / 1.219 GB, free: 2.676 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004472/0.9679, allocations: 334.6 kB / 1.22 GB, free: 2.312 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.708e-05/0.9679, allocations: 29.36 kB / 1.22 GB, free: 2.285 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.051e-05/0.968, allocations: 28.38 kB / 1.22 GB, free: 2.258 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007942/0.9688, allocations: 0.5357 MB / 1.22 GB, free: 1.684 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.719e-05/0.9688, allocations: 7.938 kB / 1.22 GB, free: 1.676 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.613e-05/0.9689, allocations: 16 kB / 1.22 GB, free: 1.66 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.006e-05/0.9689, allocations: 32.62 kB / 1.22 GB, free: 1.629 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005531/0.9695, allocations: 390.3 kB / 1.221 GB, free: 1.25 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002463/0.9719, allocations: 2.395 MB / 1.223 GB, free: 14.63 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005152/0.9725, allocations: 266.5 kB / 1.223 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001801/0.9727, allocations: 106.4 kB / 1.223 GB, free: 14.26 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.651e-05/0.9727, allocations: 4 kB / 1.223 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.004e-05/0.9727, allocations: 42.5 kB / 1.223 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=20): time 1.954e-06/0.9727, allocations: 0 / 1.223 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of matching and sorting (n=23): time 0.00225/0.975, allocations: 1.127 MB / 1.224 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.997e-05/0.975, allocations: 55.41 kB / 1.224 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003133/0.9754, allocations: 296.5 kB / 1.225 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.722e-05/0.9754, allocations: 29.7 kB / 1.225 GB, free: 12.58 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001448/0.9755, allocations: 231.6 kB / 1.225 GB, free: 12.35 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 6.705e-05/0.9756, allocations: 86.69 kB / 1.225 GB, free: 12.26 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001015/0.9757, allocations: 58.03 kB / 1.225 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.9758, allocations: 342.8 kB / 1.225 GB, free: 11.85 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000173/0.976, allocations: 104.6 kB / 1.225 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002204/0.9763, allocations: 191.7 kB / 1.226 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004342/0.9767, allocations: 327.4 kB / 1.226 GB, free: 11.17 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.9767, allocations: 0 / 1.226 GB, free: 11.17 MB / 0.9512 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007683/0.9775, allocations: 441.8 kB / 1.226 GB, free: 10.72 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.9775, allocations: 4 kB / 1.226 GB, free: 10.72 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.9775, allocations: 4 kB / 1.226 GB, free: 10.71 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003845/0.9779, allocations: 102.7 kB / 1.227 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002775/0.9782, allocations: 59.91 kB / 1.227 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003283/0.9815, allocations: 4.395 MB / 1.231 GB, free: 5.727 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002528/0.9818, allocations: 12 kB / 1.231 GB, free: 5.715 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.752e-05/0.9818, allocations: 12 kB / 1.231 GB, free: 5.703 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002206/0.982, allocations: 177.7 kB / 1.231 GB, free: 5.52 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.443e-05/0.9821, allocations: 39.66 kB / 1.231 GB, free: 5.48 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.297e-05/0.9822, allocations: 42.31 kB / 1.231 GB, free: 5.441 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.9822, allocations: 0 / 1.231 GB, free: 5.441 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.9822, allocations: 0 / 1.231 GB, free: 5.441 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001339/0.9824, allocations: 124.7 kB / 1.231 GB, free: 5.301 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.987e-05/0.9824, allocations: 4 kB / 1.231 GB, free: 5.297 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002034/0.9826, allocations: 12 kB / 1.231 GB, free: 5.285 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.869e-05/0.9827, allocations: 19.91 kB / 1.231 GB, free: 5.266 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000849/0.9835, allocations: 427.1 kB / 1.232 GB, free: 4.832 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005504/0.9841, allocations: 0.5277 MB / 1.232 GB, free: 4.289 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001377/0.9842, allocations: 95.92 kB / 1.232 GB, free: 4.195 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002079/0.9845, allocations: 215.1 kB / 1.233 GB, free: 3.988 MB / 0.9512 GB Notification: Performance of Backend: time 3.91e-07/0.9845, allocations: 0 / 1.233 GB, free: 3.988 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001478/0.9859, allocations: 0.7445 MB / 1.233 GB, free: 3.195 MB / 0.9512 GB Notification: Performance of SimCode: time 0.001567/0.9875, allocations: 1.225 MB / 1.234 GB, free: 1.922 MB / 0.9512 GB Notification: Performance of Templates: time 0.01164/0.9992, allocations: 5.829 MB / 1.24 GB, free: 12.14 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel.makefile (rm -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel.sim & ./Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_DC_Lines_Examples_RCModel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches