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.001906/0.001906, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002122/0.002122, allocations: 214.5 kB / 22.99 MB, free: 4.984 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.582/1.582, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.494/3.494, allocations: 0.49 GB / 0.7959 GB, free: 35.42 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.002055/0.002055, allocations: 70.05 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.44/0.4421, allocations: 176.1 MB / 1.327 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.006828/0.4489, allocations: 3.071 MB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002947/0.4519, allocations: 1.309 MB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001796/0.452, allocations: 4 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001192/0.4532, allocations: 350.7 kB / 1.332 GB, free: 12.24 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004187/0.4536, allocations: 147.2 kB / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004039/0.4541, allocations: 131.7 kB / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000421/0.4545, allocations: 306.9 kB / 1.332 GB, free: 11.67 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004489/0.4549, allocations: 189.1 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001884/0.4551, allocations: 127.5 kB / 1.333 GB, free: 11.36 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00034/0.4554, allocations: 147.5 kB / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.844e-05/0.4555, allocations: 19.94 kB / 1.333 GB, free: 11.19 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002975/0.4558, allocations: 151.7 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001139/0.4559, allocations: 83.73 kB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001279/0.456, allocations: 91.59 kB / 1.333 GB, free: 10.87 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005193/0.4565, allocations: 338.8 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.4566, allocations: 0 / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.563e-06/0.4566, allocations: 0 / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.096e-06/0.4566, allocations: 4 kB / 1.333 GB, free: 10.54 MB / 1.029 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.0009661/0.4575, allocations: 457.5 kB / 1.334 GB, free: 10.05 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.4576, allocations: 8.031 kB / 1.334 GB, free: 10.05 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006046/0.4582, allocations: 84.7 kB / 1.334 GB, free: 9.965 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003701/0.4585, allocations: 187.5 kB / 1.334 GB, free: 9.758 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.25e-05/0.4586, allocations: 16.73 kB / 1.334 GB, free: 9.742 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.698e-05/0.4586, allocations: 16.38 kB / 1.334 GB, free: 9.727 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005695/0.4592, allocations: 380.6 kB / 1.334 GB, free: 9.309 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.4592, allocations: 0 / 1.334 GB, free: 9.309 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.789e-05/0.4592, allocations: 8 kB / 1.334 GB, free: 9.301 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-05/0.4593, allocations: 20.36 kB / 1.334 GB, free: 9.281 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003396/0.4596, allocations: 196.9 kB / 1.335 GB, free: 9.09 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001453/0.4611, allocations: 0.9771 MB / 1.336 GB, free: 8.055 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002591/0.4613, allocations: 110.5 kB / 1.336 GB, free: 7.938 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.913e-05/0.4614, allocations: 28.84 kB / 1.336 GB, free: 7.906 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.345e-05/0.4614, allocations: 0 / 1.336 GB, free: 7.906 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.295e-05/0.4614, allocations: 34.56 kB / 1.336 GB, free: 7.863 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 8.31e-07/0.4614, allocations: 0 / 1.336 GB, free: 7.863 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.000494/0.4619, allocations: 150.5 kB / 1.336 GB, free: 7.707 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.568e-05/0.462, allocations: 51.41 kB / 1.336 GB, free: 7.645 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002144/0.4622, allocations: 194.3 kB / 1.336 GB, free: 7.445 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.087e-05/0.4622, allocations: 29.7 kB / 1.336 GB, free: 7.41 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001648/0.4624, allocations: 171.9 kB / 1.336 GB, free: 7.238 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.957e-05/0.4624, allocations: 27.78 kB / 1.336 GB, free: 7.211 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.281e-05/0.4625, allocations: 33.72 kB / 1.336 GB, free: 7.172 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001809/0.4627, allocations: 326.8 kB / 1.337 GB, free: 6.844 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.018e-05/0.4627, allocations: 35.98 kB / 1.337 GB, free: 6.809 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001301/0.4629, allocations: 100.5 kB / 1.337 GB, free: 6.68 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000199/0.4631, allocations: 144.4 kB / 1.337 GB, free: 6.508 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.4631, allocations: 0 / 1.337 GB, free: 6.508 MB / 1.029 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003335/0.4634, allocations: 190.4 kB / 1.337 GB, free: 6.312 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.4634, allocations: 8 kB / 1.337 GB, free: 6.305 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.969e-05/0.4634, allocations: 4 kB / 1.337 GB, free: 6.301 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001812/0.4636, allocations: 24.84 kB / 1.337 GB, free: 6.273 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/0.4637, allocations: 31.92 kB / 1.337 GB, free: 6.242 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001261/0.465, allocations: 1.288 MB / 1.338 GB, free: 4.848 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001221/0.4651, allocations: 27.89 kB / 1.339 GB, free: 4.82 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.208e-05/0.4651, allocations: 4 kB / 1.339 GB, free: 4.816 MB / 1.029 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.0001509/0.4653, allocations: 153.7 kB / 1.339 GB, free: 4.656 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.534e-05/0.4653, allocations: 19.84 kB / 1.339 GB, free: 4.637 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.056e-05/0.4654, allocations: 13.41 kB / 1.339 GB, free: 4.625 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.4654, allocations: 0 / 1.339 GB, free: 4.625 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.4654, allocations: 0 / 1.339 GB, free: 4.625 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.4654, allocations: 0 / 1.339 GB, free: 4.625 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005284/0.4659, allocations: 371 kB / 1.339 GB, free: 4.223 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.4659, allocations: 96 / 1.339 GB, free: 4.223 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.821e-05/0.4659, allocations: 11.88 kB / 1.339 GB, free: 4.211 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.46e-05/0.466, allocations: 24.84 kB / 1.339 GB, free: 4.184 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.466, allocations: 0 / 1.339 GB, free: 4.184 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001136/0.4672, allocations: 1.295 MB / 1.34 GB, free: 2.785 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.4672, allocations: 4.156 kB / 1.34 GB, free: 2.781 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002501/0.4674, allocations: 204.3 kB / 1.341 GB, free: 2.562 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.188e-05/0.4675, allocations: 27.81 kB / 1.341 GB, free: 2.535 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.957e-05/0.4675, allocations: 4 kB / 1.341 GB, free: 2.531 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.4676, allocations: 4 kB / 1.341 GB, free: 2.527 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.119e-05/0.4676, allocations: 11.92 kB / 1.341 GB, free: 2.516 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-06/0.4676, allocations: 0 / 1.341 GB, free: 2.516 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001383/0.4678, allocations: 128.3 kB / 1.341 GB, free: 2.391 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4678, allocations: 0 / 1.341 GB, free: 2.391 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003458/0.4681, allocations: 51.89 kB / 1.341 GB, free: 2.34 MB / 1.029 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.0001489/0.4683, allocations: 112 kB / 1.341 GB, free: 2.219 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004238/0.4687, allocations: 198.5 kB / 1.341 GB, free: 2.012 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4687, allocations: 4 kB / 1.341 GB, free: 2.008 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001687/0.4689, allocations: 147.2 kB / 1.341 GB, free: 1.852 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00038/0.4693, allocations: 34.09 kB / 1.341 GB, free: 1.82 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000737/0.47, allocations: 360.4 kB / 1.342 GB, free: 1.445 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001866/0.4702, allocations: 139.9 kB / 1.342 GB, free: 1.289 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.822e-05/0.4703, allocations: 21.41 kB / 1.342 GB, free: 1.27 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.746e-05/0.4703, allocations: 15.44 kB / 1.342 GB, free: 1.254 MB / 1.029 GB Notification: Performance of SimCode: time 4.31e-07/0.4703, allocations: 3.938 kB / 1.342 GB, free: 1.25 MB / 1.029 GB Notification: Performance of Templates: time 0.00602/0.4763, allocations: 1.912 MB / 1.344 GB, free: 15.38 MB / 1.045 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 -s cvode -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/jenkins1/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: 9.904859776986996]