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.001528/0.001528, allocations: 110.5 kB / 19.69 MB, free: 2.254 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.001683/0.001683, allocations: 216.7 kB / 23.01 MB, free: 4.566 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.476/1.476, allocations: 230.6 MB / 256.8 MB, free: 8.031 MB / 206.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 3.217/3.217, allocations: 0.505 GB / 0.8108 GB, free: 22.05 MB / 0.6231 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.003331/0.003331, allocations: 66.84 kB / 1.178 GB, free: 16.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4197/0.4231, allocations: 180.2 MB / 1.354 GB, free: 7.961 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.005224/0.4283, allocations: 3.205 MB / 1.357 GB, free: 4.742 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002438/0.4307, allocations: 1.414 MB / 1.359 GB, free: 3.32 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000135/0.4309, allocations: 4 kB / 1.359 GB, free: 3.316 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.00108/0.4319, allocations: 358.7 kB / 1.359 GB, free: 2.965 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0003567/0.4323, allocations: 143.2 kB / 1.359 GB, free: 2.824 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004108/0.4327, allocations: 139.6 kB / 1.359 GB, free: 2.688 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0004053/0.4331, allocations: 307 kB / 1.359 GB, free: 2.387 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004074/0.4335, allocations: 184.5 kB / 1.36 GB, free: 2.203 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001682/0.4337, allocations: 127.5 kB / 1.36 GB, free: 2.078 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003157/0.434, allocations: 147.5 kB / 1.36 GB, free: 1.934 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.503e-05/0.434, allocations: 20 kB / 1.36 GB, free: 1.914 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003089/0.4343, allocations: 171.6 kB / 1.36 GB, free: 1.746 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 9.501e-05/0.4344, allocations: 79.75 kB / 1.36 GB, free: 1.668 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.000136/0.4346, allocations: 111.5 kB / 1.36 GB, free: 1.559 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004491/0.435, allocations: 338.8 kB / 1.361 GB, free: 1.227 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.435, allocations: 0 / 1.361 GB, free: 1.227 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.472e-06/0.435, allocations: 0 / 1.361 GB, free: 1.227 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.192e-06/0.435, allocations: 0 / 1.361 GB, free: 1.227 MB / 1.045 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.0008578/0.4359, allocations: 471 kB / 1.361 GB, free: 0.7344 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.4359, allocations: 8.031 kB / 1.361 GB, free: 0.7266 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005884/0.4365, allocations: 80.72 kB / 1.361 GB, free: 0.6484 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003546/0.4369, allocations: 186.2 kB / 1.361 GB, free: 452 kB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.002e-05/0.4369, allocations: 12.75 kB / 1.361 GB, free: 440 kB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.991e-05/0.4369, allocations: 16.38 kB / 1.361 GB, free: 424 kB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004689/0.4374, allocations: 303.2 kB / 1.362 GB, free: 100 kB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.4374, allocations: 0 / 1.362 GB, free: 100 kB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.702e-05/0.4374, allocations: 15.94 kB / 1.362 GB, free: 84 kB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.572e-05/0.4375, allocations: 20.36 kB / 1.362 GB, free: 64 kB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003408/0.4378, allocations: 197 kB / 1.362 GB, free: 15.87 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001665/0.4395, allocations: 1.425 MB / 1.363 GB, free: 14.29 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002418/0.4397, allocations: 98.58 kB / 1.363 GB, free: 14.18 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.459e-05/0.4398, allocations: 28.84 kB / 1.363 GB, free: 14.15 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 7.794e-06/0.4398, allocations: 4 kB / 1.363 GB, free: 14.15 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.501e-05/0.4398, allocations: 38.56 kB / 1.363 GB, free: 14.1 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.4398, allocations: 0 / 1.363 GB, free: 14.1 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0004569/0.4403, allocations: 142.6 kB / 1.364 GB, free: 13.95 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.005e-05/0.4403, allocations: 51.41 kB / 1.364 GB, free: 13.89 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002272/0.4406, allocations: 203 kB / 1.364 GB, free: 13.68 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.872e-05/0.4406, allocations: 29.7 kB / 1.364 GB, free: 13.65 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/0.4407, allocations: 163.9 kB / 1.364 GB, free: 13.48 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.588e-05/0.4407, allocations: 27.8 kB / 1.364 GB, free: 13.46 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.005e-05/0.4408, allocations: 37.62 kB / 1.364 GB, free: 13.41 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001643/0.441, allocations: 330.8 kB / 1.364 GB, free: 13.08 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.772e-05/0.441, allocations: 31.98 kB / 1.364 GB, free: 13.05 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001263/0.4412, allocations: 108.5 kB / 1.364 GB, free: 12.91 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001848/0.4413, allocations: 144.6 kB / 1.365 GB, free: 12.74 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.4413, allocations: 0 / 1.365 GB, free: 12.74 MB / 1.061 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003255/0.4417, allocations: 194.4 kB / 1.365 GB, free: 12.54 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.4417, allocations: 9.25 kB / 1.365 GB, free: 12.54 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/0.4417, allocations: 7.984 kB / 1.365 GB, free: 12.53 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001706/0.4419, allocations: 24.78 kB / 1.365 GB, free: 12.5 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.442, allocations: 28.03 kB / 1.365 GB, free: 12.47 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001279/0.4433, allocations: 1.326 MB / 1.366 GB, free: 11.03 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001195/0.4434, allocations: 19.88 kB / 1.366 GB, free: 11.01 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.224e-05/0.4434, allocations: 12.16 kB / 1.366 GB, free: 11 MB / 1.061 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.0001452/0.4435, allocations: 146.4 kB / 1.366 GB, free: 10.84 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.756e-05/0.4436, allocations: 15.91 kB / 1.366 GB, free: 10.83 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.288e-05/0.4436, allocations: 21.39 kB / 1.366 GB, free: 10.81 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.4436, allocations: 0 / 1.366 GB, free: 10.81 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.4436, allocations: 0 / 1.366 GB, free: 10.81 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.584e-06/0.4436, allocations: 0 / 1.366 GB, free: 10.81 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005556/0.4442, allocations: 422.2 kB / 1.367 GB, free: 10.34 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.4442, allocations: 0 / 1.367 GB, free: 10.34 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.873e-05/0.4442, allocations: 7.984 kB / 1.367 GB, free: 10.34 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.756e-05/0.4443, allocations: 24.84 kB / 1.367 GB, free: 10.31 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.4443, allocations: 0 / 1.367 GB, free: 10.31 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001099/0.4454, allocations: 1.327 MB / 1.368 GB, free: 8.867 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.4454, allocations: 0 / 1.368 GB, free: 8.867 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002485/0.4457, allocations: 216.3 kB / 1.368 GB, free: 8.637 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.81e-05/0.4457, allocations: 15.94 kB / 1.368 GB, free: 8.621 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.474e-05/0.4457, allocations: 4 kB / 1.368 GB, free: 8.617 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.4458, allocations: 3.984 kB / 1.368 GB, free: 8.613 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.019e-05/0.4459, allocations: 8 kB / 1.368 GB, free: 8.605 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.4459, allocations: 0 / 1.368 GB, free: 8.605 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001448/0.446, allocations: 151 kB / 1.368 GB, free: 8.457 MB / 1.061 GB Notification: Performance of sort global known variables: time 8.1e-08/0.446, allocations: 0 / 1.368 GB, free: 8.457 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003365/0.4463, allocations: 59.84 kB / 1.369 GB, free: 8.398 MB / 1.061 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.0001213/0.4465, allocations: 99.23 kB / 1.369 GB, free: 8.289 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003887/0.4469, allocations: 202.5 kB / 1.369 GB, free: 8.078 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.4469, allocations: 0.5625 kB / 1.369 GB, free: 8.078 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001642/0.447, allocations: 142.7 kB / 1.369 GB, free: 7.926 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003526/0.4474, allocations: 35.77 kB / 1.369 GB, free: 7.895 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007031/0.4481, allocations: 400.8 kB / 1.369 GB, free: 7.469 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004196/0.4485, allocations: 0.7591 MB / 1.37 GB, free: 6.684 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.147e-05/0.4485, allocations: 15.44 kB / 1.37 GB, free: 6.668 MB / 1.061 GB Notification: Performance of SimCode: time 3.11e-07/0.4485, allocations: 0 / 1.37 GB, free: 6.668 MB / 1.061 GB Notification: Performance of Templates: time 0.005521/0.4541, allocations: 2.996 MB / 1.373 GB, free: 3.68 MB / 1.061 GB " [Timeout remaining time 300] 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 -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: 11.79953748898697]