Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001872/0.001872, allocations: 80.41 kB / 20.23 MB, free: 4.195 MB / 18.57 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.002262/0.002262, allocations: 161.7 kB / 23.54 MB, free: 0.8867 MB / 18.57 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.475/1.475, allocations: 177.1 MB / 203.9 MB, free: 5.574 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.884/2.884, allocations: 377.8 MB / 0.6232 GB, free: 8.516 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.Resistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I",fileNamePrefix="Buildings_12_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_12_Buildings.Electrical.DC.Lines.Examples.Resistance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 0.8108 GB, free: 1.004 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.901e-05/3.073e-05, allocations: 3.578 kB / 0.8108 GB, free: 1 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.006053/0.006084, allocations: 3.046 MB / 0.8137 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002727/0.008811, allocations: 1.317 MB / 0.815 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001776/0.008988, allocations: 7.938 kB / 0.815 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.001188/0.01018, allocations: 337.8 kB / 0.8154 GB, free: 12.31 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0005099/0.01069, allocations: 147.1 kB / 0.8155 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004599/0.01115, allocations: 136.2 kB / 0.8156 GB, free: 12.03 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0005256/0.01167, allocations: 311.6 kB / 0.8159 GB, free: 11.73 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004796/0.01215, allocations: 189.4 kB / 0.8161 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003324/0.01248, allocations: 172.5 kB / 0.8163 GB, free: 11.38 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003752/0.01286, allocations: 131.6 kB / 0.8164 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 4.436e-05/0.0129, allocations: 16.66 kB / 0.8164 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003798/0.01328, allocations: 156.6 kB / 0.8166 GB, free: 11.08 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0001422/0.01342, allocations: 87.8 kB / 0.8167 GB, free: 10.99 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001373/0.01356, allocations: 79.81 kB / 0.8167 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0006056/0.01417, allocations: 343.5 kB / 0.8171 GB, free: 10.58 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.01417, allocations: 0 / 0.8171 GB, free: 10.58 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.51e-07/0.01417, allocations: 4.5 kB / 0.8171 GB, free: 10.57 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.465e-06/0.01418, allocations: 1.25 kB / 0.8171 GB, free: 10.57 MB / 0.7292 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.0009667/0.01515, allocations: 449.6 kB / 0.8175 GB, free: 10.1 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.01518, allocations: 10.28 kB / 0.8175 GB, free: 10.09 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007187/0.0159, allocations: 124.5 kB / 0.8176 GB, free: 9.973 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003527/0.01626, allocations: 182.2 kB / 0.8178 GB, free: 9.77 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.675e-05/0.01628, allocations: 21.27 kB / 0.8178 GB, free: 9.75 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.933e-05/0.01632, allocations: 17.78 kB / 0.8178 GB, free: 9.734 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005833/0.0169, allocations: 377.3 kB / 0.8182 GB, free: 9.328 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.01692, allocations: 192 / 0.8182 GB, free: 9.328 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.086e-05/0.01695, allocations: 8.359 kB / 0.8182 GB, free: 9.32 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.191e-05/0.01699, allocations: 21.84 kB / 0.8182 GB, free: 9.301 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003927/0.01738, allocations: 196.9 kB / 0.8184 GB, free: 9.109 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001746/0.01913, allocations: 0.9946 MB / 0.8194 GB, free: 8.059 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002784/0.01941, allocations: 90.61 kB / 0.8195 GB, free: 7.961 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.872e-05/0.01948, allocations: 30.05 kB / 0.8195 GB, free: 7.93 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.391e-05/0.01949, allocations: 7.984 kB / 0.8195 GB, free: 7.922 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.524e-05/0.01952, allocations: 35.91 kB / 0.8195 GB, free: 7.879 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.01953, allocations: 48 / 0.8195 GB, free: 7.879 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0005251/0.02005, allocations: 159 kB / 0.8197 GB, free: 7.715 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.227e-05/0.02009, allocations: 51.41 kB / 0.8197 GB, free: 7.652 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002312/0.02032, allocations: 191.4 kB / 0.8199 GB, free: 7.453 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.326e-05/0.02035, allocations: 26.23 kB / 0.8199 GB, free: 7.422 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001448/0.02049, allocations: 164.9 kB / 0.8201 GB, free: 7.258 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.499e-05/0.02053, allocations: 31.73 kB / 0.8201 GB, free: 7.227 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.875e-05/0.02061, allocations: 37.7 kB / 0.8202 GB, free: 7.184 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001748/0.02078, allocations: 323.6 kB / 0.8205 GB, free: 6.859 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.284e-05/0.02086, allocations: 31.98 kB / 0.8205 GB, free: 6.828 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001334/0.021, allocations: 101 kB / 0.8206 GB, free: 6.699 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002395/0.02124, allocations: 147.7 kB / 0.8207 GB, free: 6.527 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.02124, allocations: 0.7188 kB / 0.8207 GB, free: 6.527 MB / 0.7292 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000379/0.02162, allocations: 199.8 kB / 0.8209 GB, free: 6.324 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.02164, allocations: 9.312 kB / 0.8209 GB, free: 6.316 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.02164, allocations: 0 / 0.8209 GB, free: 6.316 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002561/0.0219, allocations: 38.05 kB / 0.821 GB, free: 6.277 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001304/0.02203, allocations: 33.64 kB / 0.821 GB, free: 6.246 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001342/0.02337, allocations: 1.285 MB / 0.8223 GB, free: 4.859 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001299/0.0235, allocations: 19.36 kB / 0.8223 GB, free: 4.844 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.67e-05/0.02352, allocations: 12.06 kB / 0.8223 GB, free: 4.832 MB / 0.7292 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.0001682/0.02368, allocations: 153.7 kB / 0.8224 GB, free: 4.672 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.277e-05/0.02374, allocations: 15.91 kB / 0.8225 GB, free: 4.656 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.972e-05/0.02378, allocations: 17.47 kB / 0.8225 GB, free: 4.641 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.02378, allocations: 3.938 kB / 0.8225 GB, free: 4.637 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.02379, allocations: 0 / 0.8225 GB, free: 4.637 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.834e-06/0.02379, allocations: 7.984 kB / 0.8225 GB, free: 4.629 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005743/0.02437, allocations: 367.4 kB / 0.8228 GB, free: 4.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.083e-06/0.02437, allocations: 1.062 kB / 0.8228 GB, free: 4.23 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.751e-05/0.02442, allocations: 11.98 kB / 0.8228 GB, free: 4.219 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001753/0.02459, allocations: 34.58 kB / 0.8229 GB, free: 4.184 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.834e-06/0.0246, allocations: 2.094 kB / 0.8229 GB, free: 4.184 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001238/0.02584, allocations: 1.284 MB / 0.8241 GB, free: 2.797 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.02584, allocations: 3.25 kB / 0.8241 GB, free: 2.797 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002987/0.02614, allocations: 212.2 kB / 0.8243 GB, free: 2.57 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.524e-05/0.02619, allocations: 19.94 kB / 0.8244 GB, free: 2.551 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.62e-05/0.02621, allocations: 0 / 0.8244 GB, free: 2.551 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001189/0.02633, allocations: 7.938 kB / 0.8244 GB, free: 2.543 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.217e-05/0.02635, allocations: 3.984 kB / 0.8244 GB, free: 2.539 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.095e-06/0.02636, allocations: 4 kB / 0.8244 GB, free: 2.535 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001375/0.0265, allocations: 131.2 kB / 0.8245 GB, free: 2.406 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7e-08/0.0265, allocations: 0.9375 kB / 0.8245 GB, free: 2.406 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003511/0.02685, allocations: 55.84 kB / 0.8246 GB, free: 2.352 MB / 0.7292 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.0001343/0.02698, allocations: 105.3 kB / 0.8247 GB, free: 2.238 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004062/0.02739, allocations: 207.6 kB / 0.8249 GB, free: 2.023 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.02739, allocations: 1.25 kB / 0.8249 GB, free: 2.023 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001866/0.02758, allocations: 142.6 kB / 0.825 GB, free: 1.871 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003712/0.02795, allocations: 41.39 kB / 0.825 GB, free: 1.836 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007026/0.02865, allocations: 352.4 kB / 0.8254 GB, free: 1.465 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001741/0.02882, allocations: 131.9 kB / 0.8255 GB, free: 1.32 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 9.484e-05/0.02892, allocations: 29.2 kB / 0.8255 GB, free: 1.293 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.56e-05/0.02897, allocations: 16.5 kB / 0.8255 GB, free: 1.273 MB / 0.7292 GB Notification: Performance of SimCode: time 4.11e-07/0.02897, allocations: 0 / 0.8255 GB, free: 1.273 MB / 0.7292 GB Notification: Performance of Templates: time 0.005613/0.03458, allocations: 1.68 MB / 0.8272 GB, free: 15.66 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance.sim & ./Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_DC_Lines_Examples_Resistance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 7.851722466992214]