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.00856/0.00856, allocations: 101.6 kB / 15.73 MB, free: 5.98 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.001987/0.001987, allocations: 187.4 kB / 16.67 MB, free: 5.918 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.471/1.471, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.821/2.821, allocations: 461.9 MB / 0.7347 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 59.91 kB / 1.054 GB, free: 7.145 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.366/0.3673, allocations: 157.4 MB / 1.208 GB, free: 9.645 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.006708/0.3741, allocations: 4.369 MB / 1.212 GB, free: 5.254 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003105/0.3772, allocations: 1.862 MB / 1.214 GB, free: 3.383 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000238/0.3775, allocations: 11.94 kB / 1.214 GB, free: 3.371 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0017/0.3792, allocations: 0.5914 MB / 1.214 GB, free: 2.777 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0006715/0.3799, allocations: 258.6 kB / 1.215 GB, free: 2.523 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000683/0.3806, allocations: 253.5 kB / 1.215 GB, free: 2.277 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0006389/0.3812, allocations: 0.6151 MB / 1.215 GB, free: 1.66 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006958/0.3819, allocations: 474.8 kB / 1.216 GB, free: 1.195 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002709/0.3822, allocations: 247.2 kB / 1.216 GB, free: 0.9531 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004244/0.3826, allocations: 267 kB / 1.216 GB, free: 0.6914 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 5.767e-05/0.3827, allocations: 40 kB / 1.216 GB, free: 0.6523 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004361/0.3831, allocations: 255.4 kB / 1.217 GB, free: 412 kB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001456/0.3833, allocations: 143.6 kB / 1.217 GB, free: 268 kB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002133/0.3835, allocations: 223 kB / 1.217 GB, free: 44 kB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006772/0.3842, allocations: 0.6075 MB / 1.218 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.3842, allocations: 4 kB / 1.218 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.645e-06/0.3842, allocations: 0 / 1.218 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.037e-06/0.3842, allocations: 0 / 1.218 GB, free: 15.43 MB / 0.9825 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.00125/0.3855, allocations: 0.7213 MB / 1.218 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.3855, allocations: 12.62 kB / 1.218 GB, free: 14.65 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009766/0.3865, allocations: 148.2 kB / 1.218 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004515/0.387, allocations: 346.4 kB / 1.219 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.409e-05/0.387, allocations: 21.38 kB / 1.219 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.625e-05/0.3871, allocations: 36.36 kB / 1.219 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007568/0.3879, allocations: 0.5318 MB / 1.219 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/0.3879, allocations: 4 kB / 1.219 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.476e-05/0.3879, allocations: 15.98 kB / 1.219 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-05/0.388, allocations: 32.64 kB / 1.219 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000581/0.3886, allocations: 390.2 kB / 1.22 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00245/0.391, allocations: 2.384 MB / 1.222 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005406/0.3916, allocations: 271.5 kB / 1.222 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001653/0.3918, allocations: 108.8 kB / 1.223 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.072e-05/0.3918, allocations: 7.984 kB / 1.223 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.3918, allocations: 38.48 kB / 1.223 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=20): time 1.874e-06/0.3918, allocations: 0 / 1.223 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of matching and sorting (n=23): time 0.002224/0.3941, allocations: 1.129 MB / 1.224 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.195e-05/0.3941, allocations: 55.34 kB / 1.224 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003114/0.3944, allocations: 308.4 kB / 1.224 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.474e-05/0.3945, allocations: 29.7 kB / 1.224 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001439/0.3946, allocations: 231.6 kB / 1.224 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.851e-05/0.3947, allocations: 82.8 kB / 1.224 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.916e-05/0.3948, allocations: 65.94 kB / 1.224 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.3949, allocations: 342.8 kB / 1.225 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001709/0.3951, allocations: 100.6 kB / 1.225 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002219/0.3953, allocations: 191.7 kB / 1.225 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003954/0.3958, allocations: 319.5 kB / 1.225 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.3958, allocations: 0 / 1.225 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007487/0.3965, allocations: 445.9 kB / 1.226 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.3965, allocations: 4 kB / 1.226 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.318e-06/0.3966, allocations: 4 kB / 1.226 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003855/0.3969, allocations: 94.72 kB / 1.226 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002816/0.3972, allocations: 63.91 kB / 1.226 GB, free: 6.367 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003081/0.4003, allocations: 4.395 MB / 1.23 GB, free: 1.547 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002257/0.4006, allocations: 8 kB / 1.23 GB, free: 1.539 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.555e-05/0.4006, allocations: 16 kB / 1.23 GB, free: 1.523 MB / 0.9825 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.0002058/0.4008, allocations: 181.8 kB / 1.23 GB, free: 1.336 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.582e-05/0.4009, allocations: 31.66 kB / 1.23 GB, free: 1.305 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.281e-05/0.401, allocations: 38.45 kB / 1.23 GB, free: 1.27 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.401, allocations: 3.984 kB / 1.23 GB, free: 1.266 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.401, allocations: 4 kB / 1.23 GB, free: 1.262 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.401, allocations: 3.984 kB / 1.23 GB, free: 1.258 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004403/0.4015, allocations: 397.4 kB / 1.231 GB, free: 0.8203 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.4015, allocations: 4 kB / 1.231 GB, free: 0.8164 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001972/0.4017, allocations: 39.86 kB / 1.231 GB, free: 0.7773 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003133/0.402, allocations: 90.5 kB / 1.231 GB, free: 0.6797 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.808e-05/0.402, allocations: 7.938 kB / 1.231 GB, free: 0.6719 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003015/0.405, allocations: 4.391 MB / 1.235 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.4051, allocations: 0 / 1.235 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000808/0.4059, allocations: 0.5505 MB / 1.236 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00013/0.406, allocations: 124.7 kB / 1.236 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.477e-05/0.4061, allocations: 8.125 kB / 1.236 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002101/0.4063, allocations: 15.98 kB / 1.236 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.377e-05/0.4063, allocations: 11.98 kB / 1.236 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.967e-05/0.4064, allocations: 11.98 kB / 1.236 GB, free: 11.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000208/0.4066, allocations: 207.1 kB / 1.236 GB, free: 10.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4066, allocations: 0 / 1.236 GB, free: 10.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004854/0.4071, allocations: 103.9 kB / 1.236 GB, free: 10.8 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (RC_dyn.Vc) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 15 * 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 Backend phase and start with SimCode phase: time 0.0001275/0.4072, allocations: 111.2 kB / 1.236 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0008661/0.4081, allocations: 0.6016 MB / 1.237 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.4081, allocations: 3.938 kB / 1.237 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004963/0.4086, allocations: 478.5 kB / 1.237 GB, free: 9.531 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004934/0.4091, allocations: 82.48 kB / 1.237 GB, free: 9.453 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001172/0.4103, allocations: 0.6989 MB / 1.238 GB, free: 8.727 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003841/0.4107, allocations: 0.8311 MB / 1.239 GB, free: 7.867 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001854/0.4109, allocations: 58.94 kB / 1.239 GB, free: 7.809 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.974e-05/0.4109, allocations: 19.44 kB / 1.239 GB, free: 7.789 MB / 0.9981 GB Notification: Performance of SimCode: time 4.61e-07/0.4109, allocations: 4 kB / 1.239 GB, free: 7.785 MB / 0.9981 GB Notification: Performance of Templates: time 0.008913/0.4199, allocations: 4.487 MB / 1.243 GB, free: 3.34 MB / 0.9981 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/jenkins/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