Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002243/0.002243, 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.00301/0.00301, allocations: 159.9 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.646/1.646, allocations: 177.2 MB / 203.4 MB, free: 9.004 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.778/2.778, allocations: 359.1 MB / 0.6044 GB, free: 14.93 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_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_11_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.002396/0.002396, allocations: 71.89 kB / 0.9515 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4343/0.4367, allocations: 169.9 MB / 1.117 GB, free: 2.637 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.008405/0.4451, allocations: 4.271 MB / 1.122 GB, free: 14.35 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.004179/0.4493, allocations: 1.831 MB / 1.123 GB, free: 12.51 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003669/0.4497, allocations: 19.88 kB / 1.123 GB, free: 12.49 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001909/0.4516, allocations: 0.5992 MB / 1.124 GB, free: 11.89 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0007107/0.4523, allocations: 262.6 kB / 1.124 GB, free: 11.63 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007548/0.4531, allocations: 251.4 kB / 1.124 GB, free: 11.38 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0008472/0.4539, allocations: 0.6151 MB / 1.125 GB, free: 10.77 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006491/0.4546, allocations: 339.2 kB / 1.125 GB, free: 10.43 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003279/0.4549, allocations: 259.1 kB / 1.126 GB, free: 10.18 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005472/0.4554, allocations: 266.9 kB / 1.126 GB, free: 9.918 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 7.019e-05/0.4555, allocations: 36 kB / 1.126 GB, free: 9.883 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004434/0.456, allocations: 219.5 kB / 1.126 GB, free: 9.668 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002/0.4562, allocations: 167.5 kB / 1.126 GB, free: 9.504 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0002447/0.4564, allocations: 179.2 kB / 1.126 GB, free: 9.328 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.000831/0.4572, allocations: 0.6149 MB / 1.127 GB, free: 8.711 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.4572, allocations: 4 kB / 1.127 GB, free: 8.707 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.693e-06/0.4572, allocations: 0 / 1.127 GB, free: 8.707 MB / 1.076 GB Notification: Performance of Transformations before backend: time 8.767e-06/0.4572, allocations: 4 kB / 1.127 GB, free: 8.703 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.001459/0.4587, allocations: 0.6532 MB / 1.128 GB, free: 8.02 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.111e-05/0.4588, allocations: 12.03 kB / 1.128 GB, free: 8.008 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001008/0.4598, allocations: 160.5 kB / 1.128 GB, free: 7.852 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005443/0.4603, allocations: 277.2 kB / 1.128 GB, free: 7.559 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.506e-05/0.4603, allocations: 25.38 kB / 1.128 GB, free: 7.535 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.567e-05/0.4604, allocations: 32.38 kB / 1.128 GB, free: 7.504 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009785/0.4614, allocations: 0.6902 MB / 1.129 GB, free: 6.742 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.63e-05/0.4614, allocations: 0 / 1.129 GB, free: 6.742 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.838e-05/0.4614, allocations: 16 kB / 1.129 GB, free: 6.727 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.674e-05/0.4615, allocations: 32.64 kB / 1.129 GB, free: 6.695 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006512/0.4622, allocations: 382.3 kB / 1.129 GB, free: 6.32 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002505/0.4647, allocations: 1.668 MB / 1.131 GB, free: 4.586 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005597/0.4652, allocations: 242.5 kB / 1.131 GB, free: 4.34 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000177/0.4654, allocations: 101.1 kB / 1.131 GB, free: 4.238 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.184e-05/0.4654, allocations: 11.94 kB / 1.131 GB, free: 4.227 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.721e-05/0.4655, allocations: 38.56 kB / 1.131 GB, free: 4.18 MB / 1.076 GB Notification: Performance of pre-optimization done (n=20): time 1.603e-06/0.4655, allocations: 4 kB / 1.131 GB, free: 4.176 MB / 1.076 GB Notification: Performance of matching and sorting (n=23): time 0.002281/0.4677, allocations: 0.8977 MB / 1.132 GB, free: 3.238 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.875e-05/0.4678, allocations: 51.41 kB / 1.132 GB, free: 3.176 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003202/0.4681, allocations: 273.8 kB / 1.132 GB, free: 2.898 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.488e-05/0.4681, allocations: 33.7 kB / 1.133 GB, free: 2.859 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002009/0.4683, allocations: 236 kB / 1.133 GB, free: 2.625 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 7.802e-05/0.4684, allocations: 95.25 kB / 1.133 GB, free: 2.531 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001204/0.4685, allocations: 61.98 kB / 1.133 GB, free: 2.461 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001806/0.4687, allocations: 342.8 kB / 1.133 GB, free: 2.117 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001863/0.4689, allocations: 104.5 kB / 1.133 GB, free: 2.016 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002579/0.4692, allocations: 195.7 kB / 1.134 GB, free: 1.785 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000465/0.4696, allocations: 315.5 kB / 1.134 GB, free: 1.441 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.4696, allocations: 3.938 kB / 1.134 GB, free: 1.438 MB / 1.076 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007754/0.4704, allocations: 434.1 kB / 1.134 GB, free: 1 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/0.4704, allocations: 7.984 kB / 1.134 GB, free: 0.9922 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.936e-06/0.4704, allocations: 7.938 kB / 1.134 GB, free: 0.9844 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000375/0.4708, allocations: 94.69 kB / 1.134 GB, free: 0.8828 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002764/0.4711, allocations: 63.91 kB / 1.134 GB, free: 0.8203 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.9533/1.424, allocations: 3.996 MB / 1.138 GB, free: 54.92 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003386/1.425, allocations: 8.688 kB / 1.138 GB, free: 54.92 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.452e-05/1.425, allocations: 14.19 kB / 1.138 GB, free: 54.92 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.0002441/1.425, allocations: 183.7 kB / 1.138 GB, free: 54.8 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.85e-05/1.425, allocations: 30.56 kB / 1.139 GB, free: 54.8 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.791e-05/1.425, allocations: 41.84 kB / 1.139 GB, free: 54.8 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/1.425, allocations: 3.906 kB / 1.139 GB, free: 54.8 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.176e-05/1.425, allocations: 3.141 kB / 1.139 GB, free: 54.8 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.698e-06/1.425, allocations: 3.469 kB / 1.139 GB, free: 54.8 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003541/1.426, allocations: 281.1 kB / 1.139 GB, free: 54.68 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.137e-06/1.426, allocations: 2.906 kB / 1.139 GB, free: 54.68 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001818/1.426, allocations: 34.44 kB / 1.139 GB, free: 54.68 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002973/1.426, allocations: 101.3 kB / 1.139 GB, free: 54.65 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/1.426, allocations: 0.9062 kB / 1.139 GB, free: 54.65 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002125/1.428, allocations: 4.007 MB / 1.143 GB, free: 51.12 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/1.428, allocations: 3.5 kB / 1.143 GB, free: 51.12 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006537/1.429, allocations: 0.5535 MB / 1.143 GB, free: 50.96 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 9.691e-05/1.429, allocations: 44.48 kB / 1.143 GB, free: 50.94 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.996e-05/1.429, allocations: 10.94 kB / 1.143 GB, free: 50.94 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001857/1.429, allocations: 13.12 kB / 1.143 GB, free: 50.94 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.637e-05/1.429, allocations: 16.78 kB / 1.144 GB, free: 50.94 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.435e-05/1.429, allocations: 9.938 kB / 1.144 GB, free: 50.94 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001613/1.429, allocations: 186.4 kB / 1.144 GB, free: 50.86 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/1.429, allocations: 3.375 kB / 1.144 GB, free: 50.86 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004405/1.43, allocations: 95.91 kB / 1.144 GB, free: 50.86 MB / 1.076 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.0001184/1.43, allocations: 103.3 kB / 1.144 GB, free: 50.77 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0007642/1.431, allocations: 0.5896 MB / 1.144 GB, free: 50.44 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/1.431, allocations: 0 / 1.144 GB, free: 50.44 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0004139/1.431, allocations: 463.1 kB / 1.145 GB, free: 50.1 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004833/1.432, allocations: 64.95 kB / 1.145 GB, free: 50.1 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001087/1.433, allocations: 0.7356 MB / 1.146 GB, free: 49.75 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001942/1.433, allocations: 223.5 kB / 1.146 GB, free: 49.66 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001553/1.433, allocations: 59.2 kB / 1.146 GB, free: 49.64 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.747e-05/1.433, allocations: 23.19 kB / 1.146 GB, free: 49.63 MB / 1.076 GB Notification: Performance of SimCode: time 4.61e-07/1.433, allocations: 0 / 1.146 GB, free: 49.63 MB / 1.076 GB Notification: Performance of Templates: time 0.008865/1.442, allocations: 4.34 MB / 1.15 GB, free: 49.2 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.DC.Lines.Examples.RCModel.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo Buildings_11_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/Buildings_11_Buildings.Electrical.DC.Lines.Examples.RCModel.sim & ./Buildings_11_Buildings.Electrical.DC.Lines.Examples.RCModel -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.DC.Lines.Examples.RCModel_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_DC_Lines_Examples_RCModel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 10.269192780018784]