Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.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.002188/0.002188, allocations: 78.09 kB / 19.76 MB, free: 2.031 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.002599/0.002599, allocations: 156.1 kB / 23.01 MB, free: 4.945 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.419/1.419, allocations: 177.2 MB / 203.4 MB, free: 8.945 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.941/2.941, allocations: 394.2 MB / 0.6387 GB, free: 11.93 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.Resistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance") translateModel(Buildings.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance") [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.002116/0.002116, allocations: 71.89 kB / 1.009 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9313/0.9334, allocations: 181.8 MB / 1.187 GB, free: 16.17 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.006361/0.9398, allocations: 3.076 MB / 1.19 GB, free: 14.19 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.002852/0.9426, allocations: 1.318 MB / 1.191 GB, free: 13.33 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000189/0.9428, allocations: 9.406 kB / 1.191 GB, free: 13.33 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001287/0.9441, allocations: 328.5 kB / 1.191 GB, free: 13.15 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0005152/0.9446, allocations: 144.6 kB / 1.191 GB, free: 13.07 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005098/0.9451, allocations: 143.8 kB / 1.191 GB, free: 13 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0004526/0.9456, allocations: 304.5 kB / 1.192 GB, free: 12.86 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004691/0.946, allocations: 175.7 kB / 1.192 GB, free: 12.79 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002361/0.9463, allocations: 136.3 kB / 1.192 GB, free: 12.72 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004082/0.9467, allocations: 138.3 kB / 1.192 GB, free: 12.67 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 5.529e-05/0.9467, allocations: 18.06 kB / 1.192 GB, free: 12.67 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004302/0.9472, allocations: 149.2 kB / 1.192 GB, free: 12.62 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001358/0.9473, allocations: 79.17 kB / 1.192 GB, free: 12.59 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001684/0.9475, allocations: 93.7 kB / 1.193 GB, free: 12.55 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0006541/0.9481, allocations: 347.8 kB / 1.193 GB, free: 12.43 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.9481, allocations: 0 / 1.193 GB, free: 12.43 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.444e-06/0.9481, allocations: 1.094 kB / 1.193 GB, free: 12.43 MB / 1.076 GB Notification: Performance of Transformations before backend: time 8.485e-06/0.9481, allocations: 0 / 1.193 GB, free: 12.43 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0009453/0.9491, allocations: 450.5 kB / 1.193 GB, free: 12.06 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.9491, allocations: 9.344 kB / 1.193 GB, free: 12.06 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009777/0.9501, allocations: 83.55 kB / 1.193 GB, free: 12.04 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004152/0.9505, allocations: 189.6 kB / 1.194 GB, free: 11.87 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.509e-05/0.9505, allocations: 12.34 kB / 1.194 GB, free: 11.87 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.567e-05/0.9506, allocations: 17.06 kB / 1.194 GB, free: 11.86 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006667/0.9513, allocations: 382.4 kB / 1.194 GB, free: 11.6 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.9513, allocations: 0 / 1.194 GB, free: 11.6 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.688e-05/0.9513, allocations: 7.125 kB / 1.194 GB, free: 11.6 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.378e-05/0.9514, allocations: 20.31 kB / 1.194 GB, free: 11.59 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004868/0.9518, allocations: 201.5 kB / 1.194 GB, free: 11.52 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00155/0.9534, allocations: 0.982 MB / 1.195 GB, free: 10.72 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003421/0.9537, allocations: 96.14 kB / 1.195 GB, free: 10.67 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.994e-05/0.9538, allocations: 29.88 kB / 1.195 GB, free: 10.65 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.127e-05/0.9538, allocations: 5.562 kB / 1.195 GB, free: 10.65 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.919e-05/0.9539, allocations: 36.75 kB / 1.195 GB, free: 10.61 MB / 1.076 GB Notification: Performance of pre-optimization done (n=7): time 1.803e-06/0.9539, allocations: 0 / 1.195 GB, free: 10.61 MB / 1.076 GB Notification: Performance of matching and sorting (n=7): time 0.0006204/0.9545, allocations: 152.1 kB / 1.195 GB, free: 10.52 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.412e-05/0.9545, allocations: 53.47 kB / 1.195 GB, free: 10.46 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002397/0.9547, allocations: 183.5 kB / 1.196 GB, free: 10.33 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.413e-05/0.9548, allocations: 26.92 kB / 1.196 GB, free: 10.3 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.9549, allocations: 167.2 kB / 1.196 GB, free: 10.16 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.774e-05/0.9549, allocations: 25.67 kB / 1.196 GB, free: 10.14 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.993e-05/0.955, allocations: 44.73 kB / 1.196 GB, free: 10.1 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.865e-05/0.955, allocations: 330.5 kB / 1.196 GB, free: 9.777 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001039/0.9551, allocations: 34.92 kB / 1.196 GB, free: 9.766 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000136/0.9553, allocations: 104.8 kB / 1.196 GB, free: 9.668 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002454/0.9555, allocations: 147.4 kB / 1.196 GB, free: 9.547 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.9555, allocations: 0 / 1.196 GB, free: 9.547 MB / 1.076 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004788/0.956, allocations: 190.4 kB / 1.197 GB, free: 9.445 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.956, allocations: 6.312 kB / 1.197 GB, free: 9.445 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.956, allocations: 3.375 kB / 1.197 GB, free: 9.445 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002179/0.9562, allocations: 26.47 kB / 1.197 GB, free: 9.434 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001826/0.9564, allocations: 31.97 kB / 1.197 GB, free: 9.426 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001096/0.9575, allocations: 1.288 MB / 1.198 GB, free: 8.172 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001969/0.9577, allocations: 25.75 kB / 1.198 GB, free: 8.152 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.815e-05/0.9577, allocations: 6.406 kB / 1.198 GB, free: 8.152 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001591/0.9579, allocations: 152.3 kB / 1.198 GB, free: 8.016 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.113e-05/0.958, allocations: 14.98 kB / 1.198 GB, free: 8.008 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.116e-05/0.958, allocations: 14.38 kB / 1.198 GB, free: 7.996 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.958, allocations: 1.094 kB / 1.198 GB, free: 7.996 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.958, allocations: 1.859 kB / 1.198 GB, free: 7.996 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.958, allocations: 0 / 1.198 GB, free: 7.996 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000628/0.9586, allocations: 375.9 kB / 1.199 GB, free: 7.695 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.9586, allocations: 0 / 1.199 GB, free: 7.695 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.188e-05/0.9587, allocations: 11.33 kB / 1.199 GB, free: 7.691 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001108/0.9588, allocations: 23.53 kB / 1.199 GB, free: 7.68 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.9588, allocations: 4.797 kB / 1.199 GB, free: 7.676 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009311/0.9598, allocations: 1.28 MB / 1.2 GB, free: 6.426 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.9598, allocations: 5.469 kB / 1.2 GB, free: 6.422 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002796/0.96, allocations: 206.8 kB / 1.2 GB, free: 6.254 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 7.606e-05/0.9601, allocations: 29.02 kB / 1.2 GB, free: 6.234 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.461e-05/0.9601, allocations: 0.7188 kB / 1.2 GB, free: 6.234 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001798/0.9603, allocations: 9.531 kB / 1.2 GB, free: 6.23 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.631e-05/0.9603, allocations: 4.391 kB / 1.2 GB, free: 6.23 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.9604, allocations: 2.281 kB / 1.2 GB, free: 6.23 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001447/0.9605, allocations: 134.4 kB / 1.2 GB, free: 6.137 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9605, allocations: 0 / 1.2 GB, free: 6.137 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0006367/0.9611, allocations: 52.86 kB / 1.2 GB, free: 6.125 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000108/0.9612, allocations: 102.1 kB / 1.2 GB, free: 6.027 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0004702/0.9617, allocations: 214.9 kB / 1.201 GB, free: 5.875 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.9617, allocations: 192 / 1.201 GB, free: 5.875 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001908/0.9619, allocations: 140.2 kB / 1.201 GB, free: 5.758 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005715/0.9625, allocations: 37.67 kB / 1.201 GB, free: 5.738 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008331/0.9633, allocations: 362.1 kB / 1.201 GB, free: 5.508 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001917/0.9635, allocations: 136.8 kB / 1.201 GB, free: 5.426 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001314/0.9636, allocations: 22.34 kB / 1.201 GB, free: 5.418 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.225e-05/0.9637, allocations: 14.94 kB / 1.201 GB, free: 5.41 MB / 1.076 GB Notification: Performance of SimCode: time 4.4e-07/0.9637, allocations: 1.5 kB / 1.201 GB, free: 5.41 MB / 1.076 GB Notification: Performance of Templates: time 0.008107/0.9718, allocations: 1.648 MB / 1.203 GB, free: 5.18 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.sim & ./Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_DC_Lines_Examples_Resistance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.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.970005716080777]