Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001535/0.001535, allocations: 79.97 kB / 19.76 MB, free: 1.875 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.002064/0.002064, allocations: 162.2 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.527/1.527, allocations: 177.2 MB / 203.4 MB, free: 9.008 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.715/2.715, allocations: 359.1 MB / 0.6044 GB, free: 14.87 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.Resistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I",fileNamePrefix="Buildings_11_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_11_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.002122/0.002122, allocations: 70.25 kB / 0.9515 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4407/0.4428, allocations: 169.9 MB / 1.117 GB, free: 2.578 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.005699/0.4485, allocations: 3.067 MB / 1.12 GB, free: 15.5 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.002632/0.4511, allocations: 1.321 MB / 1.122 GB, free: 14.17 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001498/0.4513, allocations: 11.94 kB / 1.122 GB, free: 14.16 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001214/0.4525, allocations: 330.8 kB / 1.122 GB, free: 13.83 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0004054/0.4529, allocations: 143.3 kB / 1.122 GB, free: 13.69 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004072/0.4533, allocations: 135.6 kB / 1.122 GB, free: 13.56 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0004594/0.4538, allocations: 310.9 kB / 1.123 GB, free: 13.25 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004634/0.4542, allocations: 184.6 kB / 1.123 GB, free: 13.07 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001936/0.4544, allocations: 127.6 kB / 1.123 GB, free: 12.95 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000373/0.4548, allocations: 135.5 kB / 1.123 GB, free: 12.82 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 4.49e-05/0.4548, allocations: 20 kB / 1.123 GB, free: 12.8 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003084/0.4552, allocations: 147.6 kB / 1.123 GB, free: 12.65 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001224/0.4553, allocations: 83.73 kB / 1.123 GB, free: 12.57 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001373/0.4554, allocations: 95.52 kB / 1.123 GB, free: 12.48 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0005319/0.4559, allocations: 342.8 kB / 1.124 GB, free: 12.14 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 9.989e-06/0.456, allocations: 3.984 kB / 1.124 GB, free: 12.14 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.354e-06/0.456, allocations: 0 / 1.124 GB, free: 12.14 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.674e-06/0.456, allocations: 0 / 1.124 GB, free: 12.14 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.000986/0.457, allocations: 449.5 kB / 1.124 GB, free: 11.66 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.457, allocations: 12.03 kB / 1.124 GB, free: 11.65 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006345/0.4576, allocations: 80.72 kB / 1.124 GB, free: 11.57 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003515/0.458, allocations: 186.1 kB / 1.124 GB, free: 11.37 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.056e-05/0.458, allocations: 16.75 kB / 1.124 GB, free: 11.35 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.48e-05/0.458, allocations: 20.36 kB / 1.124 GB, free: 11.33 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005575/0.4586, allocations: 385 kB / 1.125 GB, free: 10.92 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/0.4586, allocations: 11.88 kB / 1.125 GB, free: 10.91 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.554e-05/0.4586, allocations: 4 kB / 1.125 GB, free: 10.9 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.942e-05/0.4587, allocations: 16.38 kB / 1.125 GB, free: 10.89 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000326/0.459, allocations: 196.9 kB / 1.125 GB, free: 10.7 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001445/0.4605, allocations: 0.9811 MB / 1.126 GB, free: 9.656 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002731/0.4607, allocations: 102.5 kB / 1.126 GB, free: 9.547 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.985e-05/0.4608, allocations: 25.02 kB / 1.126 GB, free: 9.52 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.9e-05/0.4608, allocations: 11.97 kB / 1.126 GB, free: 9.508 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.574e-05/0.4608, allocations: 30.56 kB / 1.126 GB, free: 9.469 MB / 1.076 GB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.4608, allocations: 0 / 1.126 GB, free: 9.469 MB / 1.076 GB Notification: Performance of matching and sorting (n=7): time 0.000485/0.4613, allocations: 142.5 kB / 1.126 GB, free: 9.32 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.443e-05/0.4614, allocations: 59.34 kB / 1.126 GB, free: 9.25 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002037/0.4616, allocations: 186.9 kB / 1.126 GB, free: 9.059 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.756e-05/0.4616, allocations: 25.7 kB / 1.127 GB, free: 9.027 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001365/0.4617, allocations: 175.9 kB / 1.127 GB, free: 8.852 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.497e-05/0.4618, allocations: 19.8 kB / 1.127 GB, free: 8.832 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.91e-05/0.4618, allocations: 37.7 kB / 1.127 GB, free: 8.789 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001865/0.462, allocations: 326.8 kB / 1.127 GB, free: 8.461 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.257e-05/0.4621, allocations: 35.98 kB / 1.127 GB, free: 8.426 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001508/0.4622, allocations: 104.5 kB / 1.127 GB, free: 8.293 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000215/0.4625, allocations: 152.4 kB / 1.127 GB, free: 8.113 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.4625, allocations: 0 / 1.127 GB, free: 8.113 MB / 1.076 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003307/0.4628, allocations: 194.2 kB / 1.128 GB, free: 7.914 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.4628, allocations: 4 kB / 1.128 GB, free: 7.91 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/0.4628, allocations: 4 kB / 1.128 GB, free: 7.906 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001867/0.463, allocations: 20.94 kB / 1.128 GB, free: 7.883 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001127/0.4631, allocations: 35.92 kB / 1.128 GB, free: 7.848 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00126/0.4644, allocations: 1.3 MB / 1.129 GB, free: 6.445 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001164/0.4645, allocations: 15.89 kB / 1.129 GB, free: 6.43 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.384e-05/0.4645, allocations: 11.94 kB / 1.129 GB, free: 6.418 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.0001611/0.4647, allocations: 145.8 kB / 1.129 GB, free: 6.266 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.922e-05/0.4647, allocations: 15.84 kB / 1.129 GB, free: 6.25 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.742e-05/0.4647, allocations: 21.39 kB / 1.129 GB, free: 6.227 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-06/0.4647, allocations: 0 / 1.129 GB, free: 6.227 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.4647, allocations: 8.125 kB / 1.129 GB, free: 6.219 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.4648, allocations: 0 / 1.129 GB, free: 6.219 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005351/0.4653, allocations: 362.9 kB / 1.129 GB, free: 5.824 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.4653, allocations: 0 / 1.129 GB, free: 5.824 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.042e-05/0.4653, allocations: 12 kB / 1.129 GB, free: 5.812 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.451e-05/0.4654, allocations: 16.84 kB / 1.129 GB, free: 5.793 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.4654, allocations: 4 kB / 1.129 GB, free: 5.789 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001159/0.4666, allocations: 1.292 MB / 1.131 GB, free: 4.398 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4666, allocations: 0 / 1.131 GB, free: 4.398 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002696/0.4668, allocations: 216.2 kB / 1.131 GB, free: 4.168 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 5.223e-05/0.4669, allocations: 23.78 kB / 1.131 GB, free: 4.145 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.832e-05/0.4669, allocations: 7.984 kB / 1.131 GB, free: 4.137 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.879e-05/0.467, allocations: 0 / 1.131 GB, free: 4.137 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.689e-05/0.467, allocations: 11.97 kB / 1.131 GB, free: 4.125 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.674e-06/0.467, allocations: 4 kB / 1.131 GB, free: 4.121 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001259/0.4672, allocations: 135.4 kB / 1.131 GB, free: 3.988 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.4672, allocations: 0 / 1.131 GB, free: 3.988 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003449/0.4675, allocations: 51.89 kB / 1.131 GB, free: 3.938 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.0001335/0.4677, allocations: 99.25 kB / 1.131 GB, free: 3.832 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0004261/0.4681, allocations: 202.5 kB / 1.131 GB, free: 3.621 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4681, allocations: 0.5625 kB / 1.131 GB, free: 3.621 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001771/0.4683, allocations: 150.6 kB / 1.132 GB, free: 3.461 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003703/0.4686, allocations: 30.47 kB / 1.132 GB, free: 3.438 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007264/0.4694, allocations: 367.5 kB / 1.132 GB, free: 3.047 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001608/0.4695, allocations: 143.9 kB / 1.132 GB, free: 2.887 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 8.328e-05/0.4696, allocations: 29.41 kB / 1.132 GB, free: 2.859 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.622e-05/0.4696, allocations: 12.5 kB / 1.132 GB, free: 2.844 MB / 1.076 GB Notification: Performance of SimCode: time 3.01e-07/0.4696, allocations: 0 / 1.132 GB, free: 2.844 MB / 1.076 GB Notification: Performance of Templates: time 0.005482/0.4751, allocations: 1.64 MB / 1.134 GB, free: 1.242 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.DC.Lines.Examples.Resistance.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo Buildings_11_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/Buildings_11_Buildings.Electrical.DC.Lines.Examples.Resistance.sim & ./Buildings_11_Buildings.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.DC.Lines.Examples.Resistance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_DC_Lines_Examples_Resistance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.48415496898815]