Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.DC.Lines.Examples.Resistance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001443/0.001443, allocations: 116.5 kB / 17.08 MB, free: 5.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001473/0.001473, allocations: 194.2 kB / 20.03 MB, free: 3.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 222.9 MB / 245.7 MB, free: 4.199 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.707/2.707, allocations: 437 MB / 0.7177 GB, free: 4.449 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Electrical.DC.Lines.Examples.Resistance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002004/0.002005, allocations: 71.88 kB / 1.028 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3336/0.3356, allocations: 151.6 MB / 1.176 GB, free: 5.859 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.005409/0.341, allocations: 3.075 MB / 1.179 GB, free: 2.758 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002337/0.3434, allocations: 1.34 MB / 1.18 GB, free: 1.41 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000135/0.3436, allocations: 8 kB / 1.18 GB, free: 1.402 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001071/0.3446, allocations: 338.7 kB / 1.18 GB, free: 1.07 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0003813/0.345, allocations: 147.2 kB / 1.181 GB, free: 0.9258 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003738/0.3454, allocations: 135.7 kB / 1.181 GB, free: 0.793 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0004116/0.3458, allocations: 306.9 kB / 1.181 GB, free: 0.4922 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004473/0.3463, allocations: 240.2 kB / 1.181 GB, free: 264 kB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001507/0.3465, allocations: 115.6 kB / 1.181 GB, free: 148 kB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000362/0.3468, allocations: 139.5 kB / 1.181 GB, free: 8 kB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 5.867e-05/0.3469, allocations: 20.05 kB / 1.182 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003268/0.3472, allocations: 175.5 kB / 1.182 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 9.767e-05/0.3473, allocations: 75.81 kB / 1.182 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001278/0.3475, allocations: 107.5 kB / 1.182 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004777/0.348, allocations: 334.8 kB / 1.182 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.348, allocations: 3.938 kB / 1.182 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.492e-06/0.348, allocations: 4 kB / 1.182 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.348, allocations: 0 / 1.182 GB, free: 15.3 MB / 0.9356 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.0009191/0.3489, allocations: 0.5298 MB / 1.183 GB, free: 14.72 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.349, allocations: 8.031 kB / 1.183 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005834/0.3495, allocations: 76.72 kB / 1.183 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003437/0.3499, allocations: 244 kB / 1.183 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.3499, allocations: 12.75 kB / 1.183 GB, free: 14.35 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.072e-05/0.35, allocations: 24.36 kB / 1.183 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005199/0.3505, allocations: 295.5 kB / 1.183 GB, free: 14.01 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.3505, allocations: 4 kB / 1.183 GB, free: 14.01 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.629e-05/0.3505, allocations: 8 kB / 1.183 GB, free: 14 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-05/0.3506, allocations: 20.36 kB / 1.183 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003611/0.351, allocations: 196.7 kB / 1.184 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001947/0.3529, allocations: 1.46 MB / 1.185 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000275/0.3532, allocations: 179.6 kB / 1.185 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001188/0.3533, allocations: 40.84 kB / 1.185 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 7.785e-06/0.3533, allocations: 0 / 1.185 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.097e-05/0.3534, allocations: 30.56 kB / 1.185 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.3534, allocations: 0 / 1.185 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0005108/0.3539, allocations: 223.5 kB / 1.185 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.383e-05/0.354, allocations: 51.41 kB / 1.185 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002354/0.3542, allocations: 214.9 kB / 1.186 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.465e-05/0.3542, allocations: 33.64 kB / 1.186 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001196/0.3544, allocations: 164.1 kB / 1.186 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.823e-05/0.3544, allocations: 31.73 kB / 1.186 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.147e-05/0.3545, allocations: 37.7 kB / 1.186 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001575/0.3546, allocations: 326.8 kB / 1.186 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.747e-05/0.3547, allocations: 31.98 kB / 1.186 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001171/0.3548, allocations: 102.6 kB / 1.186 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002192/0.355, allocations: 152.4 kB / 1.187 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.3551, allocations: 0 / 1.187 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003288/0.3554, allocations: 190.2 kB / 1.187 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.3554, allocations: 8 kB / 1.187 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.3554, allocations: 320 / 1.187 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001636/0.3556, allocations: 28.84 kB / 1.187 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.3557, allocations: 23.94 kB / 1.187 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001402/0.3571, allocations: 1.434 MB / 1.188 GB, free: 8.574 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001226/0.3573, allocations: 28.03 kB / 1.188 GB, free: 8.547 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.182e-05/0.3573, allocations: 4 kB / 1.188 GB, free: 8.543 MB / 0.9356 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.0001711/0.3575, allocations: 141.8 kB / 1.188 GB, free: 8.395 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.021e-05/0.3575, allocations: 15.95 kB / 1.188 GB, free: 8.379 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.727e-05/0.3576, allocations: 17.39 kB / 1.188 GB, free: 8.359 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.3576, allocations: 0 / 1.188 GB, free: 8.359 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.3576, allocations: 4 kB / 1.188 GB, free: 8.355 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.3576, allocations: 0 / 1.188 GB, free: 8.355 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006602/0.3582, allocations: 451.2 kB / 1.189 GB, free: 7.855 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.3583, allocations: 96 / 1.189 GB, free: 7.855 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.743e-05/0.3583, allocations: 11.94 kB / 1.189 GB, free: 7.844 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.022e-05/0.3584, allocations: 24.78 kB / 1.189 GB, free: 7.816 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.978e-06/0.3584, allocations: 4 kB / 1.189 GB, free: 7.812 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001184/0.3596, allocations: 1.422 MB / 1.19 GB, free: 6.25 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.3596, allocations: 3.938 kB / 1.19 GB, free: 6.246 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002496/0.3599, allocations: 212.4 kB / 1.19 GB, free: 6.02 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.615e-05/0.36, allocations: 101 kB / 1.191 GB, free: 5.902 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.127e-05/0.36, allocations: 0 / 1.191 GB, free: 5.902 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/0.3601, allocations: 7.938 kB / 1.191 GB, free: 5.895 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.541e-05/0.3601, allocations: 7.984 kB / 1.191 GB, free: 5.887 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.3602, allocations: 8 kB / 1.191 GB, free: 5.879 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001511/0.3603, allocations: 144.4 kB / 1.191 GB, free: 5.738 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3603, allocations: 0 / 1.191 GB, free: 5.738 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003424/0.3607, allocations: 51.88 kB / 1.191 GB, free: 5.688 MB / 0.9356 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.0001356/0.3608, allocations: 103.2 kB / 1.191 GB, free: 5.574 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004294/0.3612, allocations: 207 kB / 1.191 GB, free: 5.359 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.3613, allocations: 8 kB / 1.191 GB, free: 5.352 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000204/0.3615, allocations: 150.7 kB / 1.191 GB, free: 5.191 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003863/0.3619, allocations: 27.8 kB / 1.191 GB, free: 5.168 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007898/0.3627, allocations: 403.9 kB / 1.192 GB, free: 4.742 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004441/0.3631, allocations: 0.7436 MB / 1.192 GB, free: 3.973 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.176e-05/0.3632, allocations: 15.44 kB / 1.192 GB, free: 3.957 MB / 0.9356 GB Notification: Performance of SimCode: time 2.81e-07/0.3632, allocations: 4 kB / 1.192 GB, free: 3.953 MB / 0.9356 GB Notification: Performance of Templates: time 0.005516/0.3687, allocations: 2.983 MB / 1.195 GB, free: 0.9766 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Electrical.DC.Lines.Examples.Resistance.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo Buildings_10_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/Buildings_10_Buildings.Electrical.DC.Lines.Examples.Resistance.sim & ./Buildings_10_Buildings.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.DC.Lines.Examples.Resistance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_DC_Lines_Examples_Resistance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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.105374329956248]