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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001346/0.001346, allocations: 79.73 kB / 19.76 MB, free: 1.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001361/0.001361, allocations: 161 kB / 23.01 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.48/1.48, allocations: 177.2 MB / 203.4 MB, free: 8.898 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.883/2.883, allocations: 394.2 MB / 0.6386 GB, free: 11.92 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|sen_ss.I|sen_dyn.I|RC_ss.Vc|RC_dyn.Vc",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002108/0.002108, allocations: 63.89 kB / 1.009 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9165/0.9186, allocations: 181.8 MB / 1.187 GB, free: 16.16 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.005843/0.9245, allocations: 4.284 MB / 1.191 GB, free: 13.41 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.003222/0.9277, allocations: 1.826 MB / 1.193 GB, free: 12.22 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002433/0.9279, allocations: 12.28 kB / 1.193 GB, free: 12.22 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001701/0.9296, allocations: 0.5994 MB / 1.193 GB, free: 11.88 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0007254/0.9304, allocations: 267 kB / 1.193 GB, free: 11.73 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.000774/0.9311, allocations: 249.7 kB / 1.194 GB, free: 11.61 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0007752/0.9319, allocations: 0.6132 MB / 1.194 GB, free: 11.33 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006037/0.9325, allocations: 348.7 kB / 1.195 GB, free: 11.16 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003133/0.9328, allocations: 254.1 kB / 1.195 GB, free: 11.05 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005417/0.9334, allocations: 262.1 kB / 1.195 GB, free: 10.96 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 7.424e-05/0.9335, allocations: 37.28 kB / 1.195 GB, free: 10.96 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005043/0.934, allocations: 226.4 kB / 1.195 GB, free: 10.89 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001856/0.9341, allocations: 157.1 kB / 1.195 GB, free: 10.82 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0002262/0.9344, allocations: 187.7 kB / 1.196 GB, free: 10.73 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0008794/0.9352, allocations: 0.6104 MB / 1.196 GB, free: 10.52 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.9353, allocations: 0 / 1.196 GB, free: 10.52 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.665e-06/0.9353, allocations: 5.062 kB / 1.196 GB, free: 10.52 MB / 1.076 GB Notification: Performance of Transformations before backend: time 9.779e-06/0.9353, allocations: 0 / 1.196 GB, free: 10.52 MB / 1.076 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.001222/0.9365, allocations: 0.6581 MB / 1.197 GB, free: 10.04 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.9365, allocations: 9.672 kB / 1.197 GB, free: 10.04 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001019/0.9375, allocations: 147.9 kB / 1.197 GB, free: 10.01 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004596/0.938, allocations: 282.7 kB / 1.197 GB, free: 9.801 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.007e-05/0.938, allocations: 27.53 kB / 1.197 GB, free: 9.789 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.772e-05/0.9381, allocations: 33.61 kB / 1.197 GB, free: 9.777 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008555/0.939, allocations: 0.6893 MB / 1.198 GB, free: 9.312 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.062e-05/0.939, allocations: 1.062 kB / 1.198 GB, free: 9.312 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.274e-05/0.939, allocations: 16.41 kB / 1.198 GB, free: 9.301 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.706e-05/0.9391, allocations: 32.25 kB / 1.198 GB, free: 9.297 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006035/0.9397, allocations: 385.9 kB / 1.198 GB, free: 9.168 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0021/0.9418, allocations: 1.672 MB / 1.2 GB, free: 7.902 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005383/0.9423, allocations: 236.8 kB / 1.2 GB, free: 7.801 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001644/0.9425, allocations: 97.97 kB / 1.2 GB, free: 7.762 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.463e-05/0.9425, allocations: 6.125 kB / 1.2 GB, free: 7.758 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.22e-05/0.9425, allocations: 41.25 kB / 1.2 GB, free: 7.711 MB / 1.076 GB Notification: Performance of pre-optimization done (n=20): time 1.433e-06/0.9425, allocations: 0 / 1.2 GB, free: 7.711 MB / 1.076 GB Notification: Performance of matching and sorting (n=23): time 0.002135/0.9447, allocations: 0.8995 MB / 1.201 GB, free: 7.242 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.413e-05/0.9447, allocations: 57.75 kB / 1.201 GB, free: 7.176 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002891/0.945, allocations: 277 kB / 1.202 GB, free: 7.012 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/0.945, allocations: 31.17 kB / 1.202 GB, free: 6.977 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001203/0.9451, allocations: 236.4 kB / 1.202 GB, free: 6.781 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 5.962e-05/0.9452, allocations: 89.45 kB / 1.202 GB, free: 6.711 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001022/0.9453, allocations: 63.33 kB / 1.202 GB, free: 6.668 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 6.967e-05/0.9453, allocations: 341.5 kB / 1.202 GB, free: 6.34 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001726/0.9455, allocations: 103.1 kB / 1.202 GB, free: 6.305 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002098/0.9457, allocations: 193.3 kB / 1.203 GB, free: 6.16 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003784/0.9461, allocations: 314.8 kB / 1.203 GB, free: 5.961 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.9461, allocations: 1.406 kB / 1.203 GB, free: 5.961 MB / 1.076 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007487/0.9469, allocations: 439.4 kB / 1.203 GB, free: 5.758 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.9469, allocations: 5.375 kB / 1.203 GB, free: 5.758 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.9469, allocations: 3.516 kB / 1.203 GB, free: 5.758 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003659/0.9473, allocations: 104 kB / 1.203 GB, free: 5.711 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002865/0.9475, allocations: 61.91 kB / 1.204 GB, free: 5.707 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002418/0.95, allocations: 4.005 MB / 1.207 GB, free: 1.871 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002372/0.9502, allocations: 9.109 kB / 1.207 GB, free: 1.867 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.641e-05/0.9502, allocations: 17.09 kB / 1.207 GB, free: 1.859 MB / 1.076 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.0002098/0.9504, allocations: 184.5 kB / 1.208 GB, free: 1.707 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.695e-05/0.9505, allocations: 31.47 kB / 1.208 GB, free: 1.691 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.907e-05/0.9506, allocations: 35.7 kB / 1.208 GB, free: 1.66 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.9506, allocations: 7.297 kB / 1.208 GB, free: 1.656 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-05/0.9506, allocations: 5.281 kB / 1.208 GB, free: 1.652 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.9506, allocations: 1.078 kB / 1.208 GB, free: 1.652 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004202/0.951, allocations: 280.5 kB / 1.208 GB, free: 1.469 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.951, allocations: 1.344 kB / 1.208 GB, free: 1.469 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001976/0.9512, allocations: 36.09 kB / 1.208 GB, free: 1.465 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002964/0.9515, allocations: 92.89 kB / 1.208 GB, free: 1.426 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.627e-05/0.9515, allocations: 1.188 kB / 1.208 GB, free: 1.426 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003256/0.9548, allocations: 4.02 MB / 1.212 GB, free: 13.58 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.9548, allocations: 1.25 kB / 1.212 GB, free: 13.58 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009251/0.9557, allocations: 0.5562 MB / 1.213 GB, free: 13.26 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001329/0.9558, allocations: 46.2 kB / 1.213 GB, free: 13.24 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.004e-05/0.9559, allocations: 5.281 kB / 1.213 GB, free: 13.23 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002038/0.9561, allocations: 7.672 kB / 1.213 GB, free: 13.23 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.509e-05/0.9562, allocations: 28.86 kB / 1.213 GB, free: 13.22 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.865e-05/0.9562, allocations: 9.094 kB / 1.213 GB, free: 13.22 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0002306/0.9564, allocations: 188.8 kB / 1.213 GB, free: 13.11 MB / 1.092 GB Notification: Performance of sort global known variables: time 9e-08/0.9564, allocations: 3.938 kB / 1.213 GB, free: 13.11 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0005628/0.957, allocations: 98.59 kB / 1.213 GB, free: 13.09 MB / 1.092 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.0001539/0.9571, allocations: 100.5 kB / 1.213 GB, free: 13 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0009921/0.9581, allocations: 0.5932 MB / 1.214 GB, free: 12.57 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.247e-06/0.9581, allocations: 1.281 kB / 1.214 GB, free: 12.57 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.000598/0.9587, allocations: 464.2 kB / 1.214 GB, free: 12.19 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005165/0.9592, allocations: 65.45 kB / 1.214 GB, free: 12.17 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00153/0.9608, allocations: 0.7182 MB / 1.215 GB, free: 11.75 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003342/0.9611, allocations: 224.7 kB / 1.215 GB, free: 11.65 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0002319/0.9613, allocations: 58.81 kB / 1.215 GB, free: 11.63 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.287e-05/0.9614, allocations: 23.62 kB / 1.215 GB, free: 11.62 MB / 1.092 GB Notification: Performance of SimCode: time 6.31e-07/0.9614, allocations: 4.938 kB / 1.215 GB, free: 11.62 MB / 1.092 GB Notification: Performance of Templates: time 0.01182/0.9732, allocations: 4.34 MB / 1.219 GB, free: 11.11 MB / 1.092 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel.makefile [Timeout 300] (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=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.94734732597135]