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.001686/0.001686, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00205/0.00205, allocations: 210.5 kB / 22.24 MB, free: 5.258 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.586/1.586, allocations: 230.6 MB / 256 MB, free: 7.828 MB / 206.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 3.061/3.061, allocations: 476 MB / 0.7699 GB, free: 4.801 MB / 0.6231 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.002188/0.002188, allocations: 68.5 kB / 1.117 GB, free: 41.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4211/0.4233, allocations: 170 MB / 1.283 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.006599/0.4299, allocations: 3.069 MB / 1.286 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002998/0.4329, allocations: 1.321 MB / 1.287 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002579/0.4331, allocations: 4 kB / 1.287 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001353/0.4345, allocations: 335.9 kB / 1.288 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0006331/0.4351, allocations: 147.2 kB / 1.288 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006038/0.4357, allocations: 131.7 kB / 1.288 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0007643/0.4365, allocations: 310.9 kB / 1.288 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006788/0.4372, allocations: 188.6 kB / 1.288 GB, free: 6.523 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000386/0.4376, allocations: 127.5 kB / 1.288 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004936/0.438, allocations: 135.5 kB / 1.289 GB, free: 6.266 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.578e-05/0.4381, allocations: 20 kB / 1.289 GB, free: 6.246 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004455/0.4385, allocations: 151.6 kB / 1.289 GB, free: 6.098 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000157/0.4387, allocations: 79.8 kB / 1.289 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001667/0.4389, allocations: 99.58 kB / 1.289 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0007494/0.4396, allocations: 334.7 kB / 1.289 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 8.215e-06/0.4396, allocations: 3.984 kB / 1.289 GB, free: 5.59 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.796e-06/0.4396, allocations: 0 / 1.289 GB, free: 5.59 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.325e-05/0.4396, allocations: 0 / 1.289 GB, free: 5.59 MB / 0.9825 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.00137/0.441, allocations: 453.5 kB / 1.29 GB, free: 5.113 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/0.4411, allocations: 12.03 kB / 1.29 GB, free: 5.102 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007121/0.4418, allocations: 84.66 kB / 1.29 GB, free: 5.02 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004213/0.4422, allocations: 183.9 kB / 1.29 GB, free: 4.816 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.093e-05/0.4422, allocations: 16.75 kB / 1.29 GB, free: 4.801 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.983e-05/0.4423, allocations: 16.38 kB / 1.29 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005616/0.4428, allocations: 384.6 kB / 1.29 GB, free: 4.371 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.4428, allocations: 0 / 1.29 GB, free: 4.371 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.677e-05/0.4429, allocations: 12 kB / 1.29 GB, free: 4.359 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.265e-05/0.4429, allocations: 16.36 kB / 1.29 GB, free: 4.344 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003524/0.4433, allocations: 204.9 kB / 1.291 GB, free: 4.145 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001794/0.4451, allocations: 0.9771 MB / 1.292 GB, free: 3.113 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002902/0.4454, allocations: 94.55 kB / 1.292 GB, free: 3.012 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.696e-05/0.4454, allocations: 32.84 kB / 1.292 GB, free: 2.977 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.641e-05/0.4454, allocations: 4.156 kB / 1.292 GB, free: 2.973 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.614e-05/0.4455, allocations: 38.5 kB / 1.292 GB, free: 2.926 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.643e-06/0.4455, allocations: 0 / 1.292 GB, free: 2.926 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0005518/0.446, allocations: 150.5 kB / 1.292 GB, free: 2.77 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.002e-05/0.4461, allocations: 59.41 kB / 1.292 GB, free: 2.699 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002165/0.4463, allocations: 183.9 kB / 1.292 GB, free: 2.512 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.619e-05/0.4463, allocations: 25.7 kB / 1.292 GB, free: 2.48 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001322/0.4464, allocations: 168 kB / 1.292 GB, free: 2.312 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.03e-05/0.4465, allocations: 27.75 kB / 1.292 GB, free: 2.285 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.226e-05/0.4466, allocations: 33.7 kB / 1.292 GB, free: 2.246 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001543/0.4467, allocations: 334.8 kB / 1.293 GB, free: 1.91 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.325e-05/0.4468, allocations: 35.89 kB / 1.293 GB, free: 1.875 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001263/0.4469, allocations: 106.8 kB / 1.293 GB, free: 1.742 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001981/0.4471, allocations: 144.4 kB / 1.293 GB, free: 1.57 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.4471, allocations: 4 kB / 1.293 GB, free: 1.566 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003548/0.4475, allocations: 190.1 kB / 1.293 GB, free: 1.371 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.4475, allocations: 4 kB / 1.293 GB, free: 1.367 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.4475, allocations: 4 kB / 1.293 GB, free: 1.363 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001994/0.4477, allocations: 29.12 kB / 1.293 GB, free: 1.332 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/0.4478, allocations: 31.92 kB / 1.293 GB, free: 1.301 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00128/0.4491, allocations: 1.295 MB / 1.294 GB, free: 15.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001271/0.4492, allocations: 11.89 kB / 1.294 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.384e-05/0.4492, allocations: 8 kB / 1.294 GB, free: 15.88 MB / 0.9981 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.000163/0.4494, allocations: 154.9 kB / 1.295 GB, free: 15.72 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.073e-05/0.4494, allocations: 15.84 kB / 1.295 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.44e-05/0.4495, allocations: 21.39 kB / 1.295 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.4495, allocations: 0 / 1.295 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.4495, allocations: 0 / 1.295 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.4495, allocations: 4 kB / 1.295 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005152/0.45, allocations: 359 kB / 1.295 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.45, allocations: 3.938 kB / 1.295 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.366e-05/0.45, allocations: 8.062 kB / 1.295 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.391e-05/0.4501, allocations: 28.84 kB / 1.295 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.826e-06/0.4501, allocations: 0 / 1.295 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001136/0.4513, allocations: 1.288 MB / 1.296 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.4513, allocations: 4.031 kB / 1.296 GB, free: 13.85 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002662/0.4515, allocations: 212.2 kB / 1.296 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.641e-05/0.4516, allocations: 15.89 kB / 1.296 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.157e-05/0.4516, allocations: 12.14 kB / 1.297 GB, free: 13.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000118/0.4517, allocations: 4 kB / 1.297 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.789e-05/0.4518, allocations: 11.92 kB / 1.297 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.269e-06/0.4518, allocations: 0 / 1.297 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001612/0.4519, allocations: 139.2 kB / 1.297 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.4519, allocations: 0 / 1.297 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003712/0.4523, allocations: 55.84 kB / 1.297 GB, free: 13.39 MB / 0.9981 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.0001425/0.4525, allocations: 99.19 kB / 1.297 GB, free: 13.28 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000434/0.4529, allocations: 206.5 kB / 1.297 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.4529, allocations: 0 / 1.297 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000174/0.4531, allocations: 142.7 kB / 1.297 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003511/0.4534, allocations: 31.3 kB / 1.297 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000707/0.4541, allocations: 367.4 kB / 1.298 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001604/0.4543, allocations: 139.9 kB / 1.298 GB, free: 12.35 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 8.837e-05/0.4544, allocations: 17.42 kB / 1.298 GB, free: 12.33 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.679e-05/0.4544, allocations: 15.44 kB / 1.298 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of SimCode: time 4.11e-07/0.4544, allocations: 0 / 1.298 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of Templates: time 0.006039/0.4605, allocations: 1.856 MB / 1.299 GB, free: 10.51 MB / 0.9981 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 -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: 10.134637916460633]