Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.001569/0.001569, allocations: 115.6 kB / 16.42 MB, free: 5.988 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.00179/0.00179, allocations: 184.5 kB / 17.35 MB, free: 5.602 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.382/1.382, allocations: 222.9 MB / 241.1 MB, free: 15.16 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.248/2.248, allocations: 390.3 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001376, allocations: 59.91 kB / 0.9515 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8417/0.8431, allocations: 140.4 MB / 1.089 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.005567/0.8487, allocations: 4.362 MB / 1.093 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002835/0.8515, allocations: 1.861 MB / 1.095 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002476/0.8518, allocations: 11.94 kB / 1.095 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.00155/0.8534, allocations: 0.5911 MB / 1.095 GB, free: 0.8945 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0006257/0.854, allocations: 265.8 kB / 1.096 GB, free: 0.7383 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006872/0.8547, allocations: 258.7 kB / 1.096 GB, free: 0.6133 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0006998/0.8554, allocations: 0.6072 MB / 1.096 GB, free: 352 kB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007831/0.8562, allocations: 474.5 kB / 1.097 GB, free: 148 kB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003702/0.8566, allocations: 253 kB / 1.097 GB, free: 36 kB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005105/0.8571, allocations: 265.6 kB / 1.097 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 7.563e-05/0.8572, allocations: 37.19 kB / 1.097 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000571/0.8578, allocations: 253.7 kB / 1.098 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001895/0.858, allocations: 152.9 kB / 1.098 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0002679/0.8582, allocations: 219.2 kB / 1.098 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0009472/0.8592, allocations: 0.6058 MB / 1.099 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.8592, allocations: 0 / 1.099 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.703e-06/0.8592, allocations: 5.062 kB / 1.099 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 9.628e-06/0.8592, allocations: 0 / 1.099 GB, free: 15.44 MB / 0.8731 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.001544/0.8608, allocations: 0.7254 MB / 1.099 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/0.8609, allocations: 9.844 kB / 1.099 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001082/0.8619, allocations: 150.8 kB / 1.099 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006066/0.8626, allocations: 334.3 kB / 1.1 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.961e-05/0.8626, allocations: 27.81 kB / 1.1 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.691e-05/0.8627, allocations: 29.8 kB / 1.1 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00102/0.8637, allocations: 0.5347 MB / 1.1 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.747e-05/0.8638, allocations: 5.859 kB / 1.1 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.94e-05/0.8638, allocations: 16.34 kB / 1.1 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.169e-05/0.8639, allocations: 36.19 kB / 1.1 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006785/0.8646, allocations: 382.9 kB / 1.101 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002866/0.8674, allocations: 2.405 MB / 1.103 GB, free: 12.05 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005758/0.868, allocations: 264.8 kB / 1.103 GB, free: 11.94 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002046/0.8682, allocations: 108.2 kB / 1.103 GB, free: 11.89 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 1.255e-05/0.8683, allocations: 2.078 kB / 1.103 GB, free: 11.89 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.512e-05/0.8683, allocations: 37.56 kB / 1.103 GB, free: 11.85 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=20): time 2.284e-06/0.8683, allocations: 0 / 1.103 GB, free: 11.85 MB / 0.8731 GB Notification: Performance of matching and sorting (n=23): time 0.002625/0.8709, allocations: 1.125 MB / 1.105 GB, free: 11.1 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.835e-05/0.871, allocations: 54.52 kB / 1.105 GB, free: 11.04 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003684/0.8714, allocations: 303.2 kB / 1.105 GB, free: 10.87 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.619e-05/0.8714, allocations: 27.27 kB / 1.105 GB, free: 10.84 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001682/0.8716, allocations: 230.5 kB / 1.105 GB, free: 10.65 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 7.704e-05/0.8717, allocations: 81.59 kB / 1.105 GB, free: 10.59 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001153/0.8718, allocations: 69.41 kB / 1.105 GB, free: 10.54 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.8719, allocations: 342.8 kB / 1.106 GB, free: 10.21 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001868/0.8721, allocations: 100.9 kB / 1.106 GB, free: 10.18 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002673/0.8724, allocations: 190.1 kB / 1.106 GB, free: 10.03 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004599/0.8729, allocations: 318.9 kB / 1.106 GB, free: 9.824 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.8729, allocations: 1.188 kB / 1.106 GB, free: 9.824 MB / 0.8731 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008307/0.8737, allocations: 445.7 kB / 1.107 GB, free: 9.617 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.563e-05/0.8738, allocations: 10.11 kB / 1.107 GB, free: 9.617 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.8738, allocations: 2.688 kB / 1.107 GB, free: 9.617 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003996/0.8742, allocations: 95.66 kB / 1.107 GB, free: 9.578 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003062/0.8745, allocations: 64.41 kB / 1.107 GB, free: 9.57 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003554/0.8781, allocations: 4.392 MB / 1.111 GB, free: 5.238 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003082/0.8784, allocations: 9.859 kB / 1.111 GB, free: 5.234 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.436e-05/0.8784, allocations: 13.78 kB / 1.111 GB, free: 5.23 MB / 0.8731 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.0002783/0.8787, allocations: 180.1 kB / 1.111 GB, free: 5.082 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.874e-05/0.8788, allocations: 35.44 kB / 1.111 GB, free: 5.062 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.056e-05/0.8789, allocations: 41.83 kB / 1.111 GB, free: 5.035 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.8789, allocations: 2.625 kB / 1.111 GB, free: 5.035 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.8789, allocations: 0 / 1.111 GB, free: 5.035 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001608/0.8791, allocations: 124.1 kB / 1.111 GB, free: 4.918 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.211e-05/0.8791, allocations: 5.875 kB / 1.111 GB, free: 4.914 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002033/0.8793, allocations: 15.58 kB / 1.111 GB, free: 4.906 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.239e-05/0.8794, allocations: 16.67 kB / 1.111 GB, free: 4.906 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009186/0.8803, allocations: 432.4 kB / 1.112 GB, free: 4.688 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005939/0.8809, allocations: 0.5263 MB / 1.112 GB, free: 4.359 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001537/0.8811, allocations: 102.4 kB / 1.113 GB, free: 4.324 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002296/0.8813, allocations: 209.9 kB / 1.113 GB, free: 4.207 MB / 0.8731 GB Notification: Performance of Backend: time 4.61e-07/0.8814, allocations: 0 / 1.113 GB, free: 4.207 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001582/0.8829, allocations: 0.7393 MB / 1.113 GB, free: 3.703 MB / 0.8731 GB Notification: Performance of SimCode: time 0.001638/0.8846, allocations: 1.229 MB / 1.115 GB, free: 2.789 MB / 0.8731 GB Notification: Performance of Templates: time 0.01273/0.8973, allocations: 5.726 MB / 1.12 GB, free: 2.328 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Electrical.DC.Lines.Examples.RCModel.makefile (rm -f Buildings_9_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo Buildings_9_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/Buildings_9_Buildings.Electrical.DC.Lines.Examples.RCModel.sim & ./Buildings_9_Buildings.Electrical.DC.Lines.Examples.RCModel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.DC.Lines.Examples.RCModel_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_DC_Lines_Examples_RCModel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.DC.Lines.Examples.RCModel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches