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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001349/0.001349, allocations: 109.9 kB / 16.41 MB, free: 6.473 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.001465/0.001465, allocations: 189.5 kB / 17.35 MB, free: 5.711 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.392/1.392, allocations: 222.9 MB / 241.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.666/2.666, allocations: 472.7 MB / 0.746 GB, free: 468 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001399/0.001399, allocations: 63.91 kB / 1.07 GB, free: 9.574 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9145/0.9159, allocations: 159.9 MB / 1.226 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.006703/0.9226, allocations: 4.359 MB / 1.231 GB, free: 9.113 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.00339/0.926, allocations: 1.858 MB / 1.232 GB, free: 7.246 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004395/0.9265, allocations: 11.94 kB / 1.232 GB, free: 7.234 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001759/0.9283, allocations: 0.5983 MB / 1.233 GB, free: 6.637 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0007783/0.9291, allocations: 266.6 kB / 1.233 GB, free: 6.375 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007068/0.9298, allocations: 251.4 kB / 1.233 GB, free: 6.129 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0006399/0.9305, allocations: 0.615 MB / 1.234 GB, free: 5.512 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006742/0.9311, allocations: 466.3 kB / 1.235 GB, free: 5.059 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002629/0.9314, allocations: 251.1 kB / 1.235 GB, free: 4.812 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004481/0.9319, allocations: 267 kB / 1.235 GB, free: 4.551 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 6.283e-05/0.932, allocations: 40 kB / 1.235 GB, free: 4.512 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004472/0.9324, allocations: 251.5 kB / 1.235 GB, free: 4.266 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001488/0.9326, allocations: 155.5 kB / 1.235 GB, free: 4.113 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002236/0.9328, allocations: 215 kB / 1.236 GB, free: 3.902 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0007011/0.9335, allocations: 0.612 MB / 1.236 GB, free: 3.289 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.9335, allocations: 0 / 1.236 GB, free: 3.289 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.463e-06/0.9335, allocations: 0 / 1.236 GB, free: 3.289 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.085e-06/0.9335, allocations: 0 / 1.236 GB, free: 3.289 MB / 0.9512 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.001239/0.9348, allocations: 0.7402 MB / 1.237 GB, free: 2.5 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.9348, allocations: 8.031 kB / 1.237 GB, free: 2.492 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009479/0.9358, allocations: 148.5 kB / 1.237 GB, free: 2.348 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004352/0.9362, allocations: 346.6 kB / 1.237 GB, free: 1.969 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.584e-05/0.9363, allocations: 29.38 kB / 1.237 GB, free: 1.941 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.373e-05/0.9363, allocations: 28.38 kB / 1.238 GB, free: 1.914 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007647/0.9371, allocations: 0.5318 MB / 1.238 GB, free: 1.344 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.9371, allocations: 4 kB / 1.238 GB, free: 1.34 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.227e-05/0.9372, allocations: 19.98 kB / 1.238 GB, free: 1.32 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.461e-05/0.9372, allocations: 24.64 kB / 1.238 GB, free: 1.297 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005482/0.9378, allocations: 386.3 kB / 1.238 GB, free: 0.9219 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002383/0.9402, allocations: 2.404 MB / 1.241 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005062/0.9407, allocations: 278.2 kB / 1.241 GB, free: 14.01 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001599/0.9409, allocations: 104.8 kB / 1.241 GB, free: 13.91 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.724e-05/0.9409, allocations: 4 kB / 1.241 GB, free: 13.9 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.211e-05/0.9409, allocations: 38.5 kB / 1.241 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=20): time 1.453e-06/0.9409, allocations: 0 / 1.241 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of matching and sorting (n=23): time 0.00209/0.943, allocations: 1.127 MB / 1.242 GB, free: 12.63 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.17e-05/0.9431, allocations: 55.41 kB / 1.242 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003288/0.9434, allocations: 304.5 kB / 1.243 GB, free: 12.26 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.025e-05/0.9434, allocations: 29.7 kB / 1.243 GB, free: 12.22 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001688/0.9436, allocations: 236.2 kB / 1.243 GB, free: 11.99 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 7.122e-05/0.9437, allocations: 87.22 kB / 1.243 GB, free: 11.9 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001031/0.9438, allocations: 58.03 kB / 1.243 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.9439, allocations: 346.7 kB / 1.243 GB, free: 11.49 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001675/0.9441, allocations: 104.6 kB / 1.243 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002116/0.9443, allocations: 191.7 kB / 1.244 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004095/0.9448, allocations: 319.4 kB / 1.244 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.9448, allocations: 0 / 1.244 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007208/0.9455, allocations: 441.9 kB / 1.244 GB, free: 10.37 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.9455, allocations: 5.25 kB / 1.244 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.9455, allocations: 7.984 kB / 1.244 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003652/0.9459, allocations: 98.84 kB / 1.244 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002576/0.9462, allocations: 59.91 kB / 1.245 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003176/0.9494, allocations: 4.403 MB / 1.249 GB, free: 5.363 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001962/0.9496, allocations: 8 kB / 1.249 GB, free: 5.355 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.27e-05/0.9496, allocations: 20.16 kB / 1.249 GB, free: 5.336 MB / 0.9669 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.000183/0.9498, allocations: 177.7 kB / 1.249 GB, free: 5.152 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.587e-05/0.9498, allocations: 35.75 kB / 1.249 GB, free: 5.117 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.805e-05/0.9499, allocations: 42.31 kB / 1.249 GB, free: 5.074 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.9499, allocations: 0 / 1.249 GB, free: 5.074 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.9499, allocations: 0 / 1.249 GB, free: 5.074 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001162/0.9501, allocations: 124.9 kB / 1.249 GB, free: 4.934 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.592e-05/0.9501, allocations: 8 kB / 1.249 GB, free: 4.926 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001893/0.9503, allocations: 15.92 kB / 1.249 GB, free: 4.91 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.357e-05/0.9504, allocations: 23.97 kB / 1.249 GB, free: 4.887 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008063/0.9512, allocations: 431 kB / 1.25 GB, free: 4.449 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005324/0.9517, allocations: 0.5249 MB / 1.25 GB, free: 3.91 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000133/0.9519, allocations: 99.78 kB / 1.25 GB, free: 3.812 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.000202/0.9521, allocations: 219.1 kB / 1.251 GB, free: 3.602 MB / 0.9669 GB Notification: Performance of Backend: time 5.01e-07/0.9521, allocations: 0 / 1.251 GB, free: 3.602 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001309/0.9534, allocations: 0.74 MB / 1.251 GB, free: 2.812 MB / 0.9669 GB Notification: Performance of SimCode: time 0.001334/0.9547, allocations: 1.242 MB / 1.252 GB, free: 1.527 MB / 0.9669 GB Notification: Performance of Templates: time 0.009573/0.9643, allocations: 5.733 MB / 1.258 GB, free: 11.84 MB / 0.9825 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