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.001167/0.001167, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.001476/0.001476, allocations: 177.9 kB / 23.21 MB, free: 1.352 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 0.8625/0.8625, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.619/1.619, allocations: 359 MB / 0.6044 GB, free: 11.12 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 0.9517 GB, free: 3.043 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.94e-05/2.089e-05, allocations: 2.281 kB / 0.9517 GB, free: 3.039 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.003001/0.003022, allocations: 3.037 MB / 0.9547 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.001309/0.004331, allocations: 1.305 MB / 0.9559 GB, free: 14.67 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.65e-05/0.004427, allocations: 7.938 kB / 0.956 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0005934/0.005021, allocations: 334.6 kB / 0.9563 GB, free: 14.33 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0002275/0.005248, allocations: 147.1 kB / 0.9564 GB, free: 14.19 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001958/0.005444, allocations: 143.5 kB / 0.9565 GB, free: 14.05 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0002484/0.005692, allocations: 310.9 kB / 0.9568 GB, free: 13.74 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002884/0.005981, allocations: 180.6 kB / 0.957 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001355/0.006116, allocations: 179.6 kB / 0.9572 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002038/0.00632, allocations: 123.6 kB / 0.9573 GB, free: 13.27 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 2.369e-05/0.006344, allocations: 20 kB / 0.9573 GB, free: 13.25 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001588/0.006503, allocations: 155.5 kB / 0.9575 GB, free: 13.1 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 6.545e-05/0.006568, allocations: 83.78 kB / 0.9576 GB, free: 13.02 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0003242/0.006892, allocations: 79.83 kB / 0.9576 GB, free: 12.94 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0002883/0.00718, allocations: 350.8 kB / 0.958 GB, free: 12.59 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.007183, allocations: 0 / 0.958 GB, free: 12.59 MB / 0.9167 GB Notification: Performance of FrontEnd: time 8.22e-07/0.007183, allocations: 4 kB / 0.958 GB, free: 12.59 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.007188, allocations: 0 / 0.958 GB, free: 12.59 MB / 0.9167 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.0005414/0.007729, allocations: 453.5 kB / 0.9584 GB, free: 12.11 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.365e-05/0.007763, allocations: 12.03 kB / 0.9584 GB, free: 12.1 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000296/0.008059, allocations: 76.72 kB / 0.9585 GB, free: 12.03 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002041/0.008263, allocations: 191.1 kB / 0.9587 GB, free: 11.82 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.008277, allocations: 12.75 kB / 0.9587 GB, free: 11.8 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.982e-05/0.008297, allocations: 24.36 kB / 0.9587 GB, free: 11.78 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003202/0.008617, allocations: 369.1 kB / 0.9591 GB, free: 11.38 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/0.008632, allocations: 8.125 kB / 0.9591 GB, free: 11.37 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.056e-05/0.008653, allocations: 8.359 kB / 0.9591 GB, free: 11.36 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.933e-05/0.008682, allocations: 24.3 kB / 0.9591 GB, free: 11.34 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001965/0.008879, allocations: 196.9 kB / 0.9593 GB, free: 11.15 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000808/0.009687, allocations: 0.9851 MB / 0.9602 GB, free: 10.11 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001689/0.009856, allocations: 90.61 kB / 0.9603 GB, free: 10.01 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.921e-05/0.009895, allocations: 28.84 kB / 0.9604 GB, free: 9.977 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 7.995e-06/0.009903, allocations: 4 kB / 0.9604 GB, free: 9.973 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.052e-05/0.009923, allocations: 42.44 kB / 0.9604 GB, free: 9.922 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=7): time 1.223e-06/0.009925, allocations: 0 / 0.9604 GB, free: 9.922 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7): time 0.0002916/0.01022, allocations: 142.5 kB / 0.9605 GB, free: 9.773 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.473e-05/0.01024, allocations: 51.56 kB / 0.9606 GB, free: 9.711 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.01036, allocations: 192.5 kB / 0.9608 GB, free: 9.516 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.071e-05/0.01037, allocations: 25.7 kB / 0.9608 GB, free: 9.484 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 7.308e-05/0.01044, allocations: 183.9 kB / 0.961 GB, free: 9.301 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.536e-05/0.01046, allocations: 23.8 kB / 0.961 GB, free: 9.277 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.952e-05/0.0105, allocations: 33.66 kB / 0.961 GB, free: 9.238 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.243e-05/0.01057, allocations: 330.8 kB / 0.9613 GB, free: 8.906 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.355e-05/0.01061, allocations: 32.05 kB / 0.9614 GB, free: 8.875 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.566e-05/0.01068, allocations: 108.6 kB / 0.9615 GB, free: 8.738 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001163/0.01079, allocations: 152.4 kB / 0.9616 GB, free: 8.559 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.0108, allocations: 0 / 0.9616 GB, free: 8.559 MB / 0.9167 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001832/0.01098, allocations: 190.1 kB / 0.9618 GB, free: 8.363 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.01099, allocations: 4 kB / 0.9618 GB, free: 8.359 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.011, allocations: 4.312 kB / 0.9618 GB, free: 8.355 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001233/0.01112, allocations: 28.78 kB / 0.9618 GB, free: 8.324 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.265e-05/0.01118, allocations: 27.98 kB / 0.9619 GB, free: 8.297 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006388/0.01182, allocations: 1.296 MB / 0.9631 GB, free: 6.898 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.734e-05/0.01188, allocations: 19.84 kB / 0.9631 GB, free: 6.879 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.01189, allocations: 8 kB / 0.9632 GB, free: 6.871 MB / 0.9167 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 8.326e-05/0.01197, allocations: 145.8 kB / 0.9633 GB, free: 6.719 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.874e-05/0.01199, allocations: 7.953 kB / 0.9633 GB, free: 6.711 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.324e-05/0.012, allocations: 17.61 kB / 0.9633 GB, free: 6.695 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.012, allocations: 7.938 kB / 0.9633 GB, free: 6.688 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.01201, allocations: 4 kB / 0.9633 GB, free: 6.684 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.195e-06/0.01201, allocations: 3.938 kB / 0.9633 GB, free: 6.68 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002811/0.01229, allocations: 378.8 kB / 0.9637 GB, free: 6.27 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.01229, allocations: 0 / 0.9637 GB, free: 6.27 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.814e-05/0.01231, allocations: 8 kB / 0.9637 GB, free: 6.262 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-05/0.01236, allocations: 16.84 kB / 0.9637 GB, free: 6.242 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-06/0.01236, allocations: 4 kB / 0.9637 GB, free: 6.238 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007822/0.01314, allocations: 1.288 MB / 0.965 GB, free: 4.848 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.01314, allocations: 0 / 0.965 GB, free: 4.848 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001227/0.01327, allocations: 208.2 kB / 0.9652 GB, free: 4.625 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 2.647e-05/0.01329, allocations: 19.89 kB / 0.9652 GB, free: 4.605 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.215e-06/0.0133, allocations: 4 kB / 0.9652 GB, free: 4.602 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.236e-05/0.01335, allocations: 3.938 kB / 0.9652 GB, free: 4.598 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.597e-05/0.01337, allocations: 12.14 kB / 0.9652 GB, free: 4.586 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-06/0.01337, allocations: 4 kB / 0.9652 GB, free: 4.582 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 6.536e-05/0.01344, allocations: 135.5 kB / 0.9653 GB, free: 4.449 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.01344, allocations: 0 / 0.9653 GB, free: 4.449 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001984/0.01364, allocations: 51.98 kB / 0.9654 GB, free: 4.398 MB / 0.9167 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 7.544e-05/0.01371, allocations: 103.2 kB / 0.9655 GB, free: 4.285 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002258/0.01394, allocations: 203 kB / 0.9657 GB, free: 4.074 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01394, allocations: 0 / 0.9657 GB, free: 4.074 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 7.187e-05/0.01401, allocations: 154.5 kB / 0.9658 GB, free: 3.91 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002192/0.01423, allocations: 34.91 kB / 0.9659 GB, free: 3.883 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004068/0.01464, allocations: 387.9 kB / 0.9662 GB, free: 3.473 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.513e-05/0.01472, allocations: 140 kB / 0.9664 GB, free: 3.316 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.697e-05/0.01475, allocations: 16.5 kB / 0.9664 GB, free: 3.297 MB / 0.9167 GB Notification: Performance of SimCode: time 3.71e-07/0.01475, allocations: 0 / 0.9664 GB, free: 3.297 MB / 0.9167 GB Notification: Performance of Templates: time 0.00288/0.01763, allocations: 2.976 MB / 0.9693 GB, free: 328 kB / 0.9167 GB " [Timeout remaining time 300] 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 -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/jenkins/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: 6.575577066279948]