Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) 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.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_10_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_10_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.001771/0.001771, allocations: 114.4 kB / 16.42 MB, free: 6.441 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.002015/0.002015, allocations: 189.6 kB / 17.35 MB, free: 5.727 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.434/1.434, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.622/2.622, allocations: 437 MB / 0.7112 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001472/0.001472, allocations: 63.89 kB / 1.019 GB, free: 9.461 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9462/0.9477, allocations: 151.6 MB / 1.167 GB, free: 3.867 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.007661/0.9554, allocations: 4.36 MB / 1.172 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.003324/0.9588, allocations: 1.862 MB / 1.173 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003851/0.9592, allocations: 11.94 kB / 1.173 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001841/0.961, allocations: 0.5966 MB / 1.174 GB, free: 13.01 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0007441/0.9618, allocations: 254.6 kB / 1.174 GB, free: 12.76 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007612/0.9626, allocations: 259.4 kB / 1.174 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.000854/0.9634, allocations: 0.6151 MB / 1.175 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008113/0.9642, allocations: 462.6 kB / 1.175 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004135/0.9647, allocations: 255.1 kB / 1.176 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005628/0.9653, allocations: 267 kB / 1.176 GB, free: 10.92 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 9.528e-05/0.9654, allocations: 40 kB / 1.176 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005227/0.9659, allocations: 251.4 kB / 1.176 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001939/0.9661, allocations: 147.7 kB / 1.176 GB, free: 10.49 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0003218/0.9664, allocations: 214.9 kB / 1.177 GB, free: 10.28 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.000863/0.9673, allocations: 0.6171 MB / 1.177 GB, free: 9.664 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.9673, allocations: 0 / 1.177 GB, free: 9.664 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.383e-06/0.9673, allocations: 0 / 1.177 GB, free: 9.664 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.803e-05/0.9673, allocations: 4 kB / 1.177 GB, free: 9.66 MB / 0.9044 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.001504/0.9689, allocations: 0.7251 MB / 1.178 GB, free: 8.887 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.9689, allocations: 8.922 kB / 1.178 GB, free: 8.879 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001048/0.97, allocations: 152.2 kB / 1.178 GB, free: 8.73 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005628/0.9705, allocations: 334.5 kB / 1.178 GB, free: 8.367 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.974e-05/0.9706, allocations: 33.36 kB / 1.178 GB, free: 8.336 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.737e-05/0.9706, allocations: 32.38 kB / 1.178 GB, free: 8.305 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008429/0.9715, allocations: 0.5317 MB / 1.179 GB, free: 7.738 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.858e-05/0.9715, allocations: 11.92 kB / 1.179 GB, free: 7.727 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.55e-05/0.9716, allocations: 20 kB / 1.179 GB, free: 7.707 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.096e-05/0.9716, allocations: 24.64 kB / 1.179 GB, free: 7.684 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006219/0.9723, allocations: 386.3 kB / 1.179 GB, free: 7.305 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00281/0.9751, allocations: 2.399 MB / 1.182 GB, free: 4.684 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005346/0.9756, allocations: 255.9 kB / 1.182 GB, free: 4.426 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001772/0.9758, allocations: 115 kB / 1.182 GB, free: 4.312 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.682e-05/0.9759, allocations: 4 kB / 1.182 GB, free: 4.309 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.374e-05/0.9759, allocations: 30.56 kB / 1.182 GB, free: 4.27 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=20): time 5.671e-06/0.9759, allocations: 3.984 kB / 1.182 GB, free: 4.266 MB / 0.9044 GB Notification: Performance of matching and sorting (n=23): time 0.002312/0.9782, allocations: 1.135 MB / 1.183 GB, free: 3.035 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.216e-05/0.9783, allocations: 59.34 kB / 1.183 GB, free: 2.965 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003287/0.9786, allocations: 300.5 kB / 1.184 GB, free: 2.668 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.69e-05/0.9786, allocations: 29.7 kB / 1.184 GB, free: 2.633 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001508/0.9788, allocations: 231.6 kB / 1.184 GB, free: 2.402 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 6.534e-05/0.9789, allocations: 82.75 kB / 1.184 GB, free: 2.32 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001091/0.979, allocations: 58.03 kB / 1.184 GB, free: 2.254 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.9791, allocations: 346.8 kB / 1.184 GB, free: 1.906 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001727/0.9793, allocations: 104.6 kB / 1.184 GB, free: 1.805 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002202/0.9795, allocations: 183.8 kB / 1.185 GB, free: 1.586 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004078/0.9799, allocations: 319.5 kB / 1.185 GB, free: 1.238 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.98, allocations: 0 / 1.185 GB, free: 1.238 MB / 0.9044 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000775/0.9807, allocations: 445.8 kB / 1.185 GB, free: 0.7891 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/0.9808, allocations: 4 kB / 1.185 GB, free: 0.7852 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/0.9808, allocations: 7.984 kB / 1.185 GB, free: 0.7773 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003834/0.9812, allocations: 98.69 kB / 1.185 GB, free: 0.668 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002894/0.9815, allocations: 59.91 kB / 1.185 GB, free: 0.6094 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003491/0.985, allocations: 4.391 MB / 1.19 GB, free: 11.79 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000237/0.9852, allocations: 8 kB / 1.19 GB, free: 11.79 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.948e-05/0.9853, allocations: 19.98 kB / 1.19 GB, free: 11.77 MB / 0.92 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.0002308/0.9855, allocations: 180 kB / 1.19 GB, free: 11.58 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.966e-05/0.9856, allocations: 35.56 kB / 1.19 GB, free: 11.55 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.66e-05/0.9857, allocations: 42.31 kB / 1.19 GB, free: 11.5 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.9857, allocations: 96 / 1.19 GB, free: 11.5 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.9857, allocations: 0 / 1.19 GB, free: 11.5 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001587/0.9858, allocations: 128.7 kB / 1.19 GB, free: 11.36 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.246e-05/0.9859, allocations: 4 kB / 1.19 GB, free: 11.36 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002036/0.9861, allocations: 11.98 kB / 1.19 GB, free: 11.34 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.003e-05/0.9862, allocations: 27.91 kB / 1.19 GB, free: 11.32 MB / 0.92 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009113/0.9871, allocations: 431 kB / 1.191 GB, free: 10.88 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005743/0.9877, allocations: 0.524 MB / 1.191 GB, free: 10.34 MB / 0.92 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001406/0.9878, allocations: 95.92 kB / 1.191 GB, free: 10.25 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0002123/0.988, allocations: 215.1 kB / 1.191 GB, free: 10.04 MB / 0.92 GB Notification: Performance of Backend: time 1.864e-06/0.988, allocations: 0 / 1.191 GB, free: 10.04 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.00139/0.9894, allocations: 0.7433 MB / 1.192 GB, free: 9.246 MB / 0.92 GB Notification: Performance of SimCode: time 0.00158/0.991, allocations: 1.235 MB / 1.193 GB, free: 7.965 MB / 0.92 GB Notification: Performance of Templates: time 0.01128/1.002, allocations: 5.734 MB / 1.199 GB, free: 2.27 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Electrical.DC.Lines.Examples.RCModel.makefile (rm -f Buildings_10_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo Buildings_10_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/Buildings_10_Buildings.Electrical.DC.Lines.Examples.RCModel.sim & ./Buildings_10_Buildings.Electrical.DC.Lines.Examples.RCModel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.DC.Lines.Examples.RCModel_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_DC_Lines_Examples_RCModel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.DC.Lines.Examples.RCModel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches