Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002002/0.002002, allocations: 83.81 kB / 19.76 MB, free: 2.016 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.002734/0.002734, allocations: 154.2 kB / 23.01 MB, free: 4.973 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.665/1.665, allocations: 177.2 MB / 203.4 MB, free: 8.941 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.973/2.973, allocations: 377.9 MB / 0.6228 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002357/0.002357, allocations: 71.89 kB / 0.9819 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.134/1.136, allocations: 176.1 MB / 1.154 GB, free: 33.33 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.004062/1.14, allocations: 3.072 MB / 1.157 GB, free: 31.34 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001893/1.142, allocations: 1.314 MB / 1.158 GB, free: 30.5 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001151/1.142, allocations: 6.875 kB / 1.158 GB, free: 30.49 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0009862/1.143, allocations: 336.4 kB / 1.158 GB, free: 30.31 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0003163/1.143, allocations: 142.6 kB / 1.159 GB, free: 30.23 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003012/1.144, allocations: 136.5 kB / 1.159 GB, free: 30.16 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0003429/1.144, allocations: 313.1 kB / 1.159 GB, free: 30.02 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004003/1.144, allocations: 181.7 kB / 1.159 GB, free: 29.94 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001451/1.145, allocations: 129.2 kB / 1.159 GB, free: 29.88 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003075/1.145, allocations: 139.4 kB / 1.159 GB, free: 29.83 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.855e-05/1.145, allocations: 19.53 kB / 1.16 GB, free: 29.83 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002427/1.145, allocations: 149.3 kB / 1.16 GB, free: 29.78 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 9.606e-05/1.145, allocations: 80.86 kB / 1.16 GB, free: 29.75 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001089/1.145, allocations: 93.5 kB / 1.16 GB, free: 29.7 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0004198/1.146, allocations: 341.4 kB / 1.16 GB, free: 29.59 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/1.146, allocations: 0 / 1.16 GB, free: 29.59 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.583e-06/1.146, allocations: 0 / 1.16 GB, free: 29.59 MB / 1.076 GB Notification: Performance of Transformations before backend: time 8.295e-06/1.146, allocations: 0 / 1.16 GB, free: 29.59 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.0007721/1.147, allocations: 461.8 kB / 1.161 GB, free: 29.21 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/1.147, allocations: 8.656 kB / 1.161 GB, free: 29.21 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005809/1.147, allocations: 83.34 kB / 1.161 GB, free: 29.19 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002693/1.147, allocations: 188.7 kB / 1.161 GB, free: 29.02 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.837e-05/1.148, allocations: 13.59 kB / 1.161 GB, free: 29.02 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.139e-05/1.148, allocations: 20.09 kB / 1.161 GB, free: 29.01 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003968/1.148, allocations: 375.6 kB / 1.161 GB, free: 28.76 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/1.148, allocations: 0 / 1.161 GB, free: 28.76 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.512e-05/1.148, allocations: 17.81 kB / 1.161 GB, free: 28.75 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.978e-05/1.148, allocations: 13.44 kB / 1.161 GB, free: 28.75 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002752/1.148, allocations: 196.3 kB / 1.161 GB, free: 28.68 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001048/1.149, allocations: 0.987 MB / 1.162 GB, free: 27.87 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000218/1.15, allocations: 96.56 kB / 1.163 GB, free: 27.82 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.116e-05/1.15, allocations: 34.69 kB / 1.163 GB, free: 27.8 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.464e-05/1.15, allocations: 3.281 kB / 1.163 GB, free: 27.8 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.879e-05/1.15, allocations: 37.59 kB / 1.163 GB, free: 27.75 MB / 1.076 GB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/1.15, allocations: 0 / 1.163 GB, free: 27.75 MB / 1.076 GB Notification: Performance of matching and sorting (n=7): time 0.0004129/1.15, allocations: 144 kB / 1.163 GB, free: 27.68 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.361e-05/1.15, allocations: 58.28 kB / 1.163 GB, free: 27.61 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001386/1.15, allocations: 189.9 kB / 1.163 GB, free: 27.48 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.216e-05/1.15, allocations: 32.61 kB / 1.163 GB, free: 27.44 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 7.315e-05/1.15, allocations: 170.1 kB / 1.163 GB, free: 27.29 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.732e-05/1.15, allocations: 25.69 kB / 1.163 GB, free: 27.27 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.801e-05/1.15, allocations: 35.34 kB / 1.163 GB, free: 27.25 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 6.012e-05/1.15, allocations: 325.1 kB / 1.164 GB, free: 26.93 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.688e-05/1.15, allocations: 39.72 kB / 1.164 GB, free: 26.91 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.752e-05/1.151, allocations: 100.4 kB / 1.164 GB, free: 26.82 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001509/1.151, allocations: 153.3 kB / 1.164 GB, free: 26.69 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/1.151, allocations: 0 / 1.164 GB, free: 26.69 MB / 1.076 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002557/1.151, allocations: 190.2 kB / 1.164 GB, free: 26.59 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/1.151, allocations: 8.469 kB / 1.164 GB, free: 26.59 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/1.151, allocations: 2.969 kB / 1.164 GB, free: 26.59 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000165/1.151, allocations: 23.23 kB / 1.164 GB, free: 26.58 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/1.151, allocations: 25.25 kB / 1.164 GB, free: 26.58 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007398/1.152, allocations: 1.299 MB / 1.165 GB, free: 25.31 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000106/1.152, allocations: 13.45 kB / 1.165 GB, free: 25.3 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.155e-05/1.152, allocations: 12.66 kB / 1.165 GB, free: 25.3 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 9.803e-05/1.152, allocations: 142.5 kB / 1.165 GB, free: 25.17 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.581e-05/1.152, allocations: 19.91 kB / 1.165 GB, free: 25.16 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.654e-05/1.152, allocations: 16 kB / 1.166 GB, free: 25.14 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/1.152, allocations: 2.531 kB / 1.166 GB, free: 25.14 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.003e-06/1.152, allocations: 0 / 1.166 GB, free: 25.14 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/1.152, allocations: 3.609 kB / 1.166 GB, free: 25.14 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003667/1.153, allocations: 367.1 kB / 1.166 GB, free: 24.85 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/1.153, allocations: 3.375 kB / 1.166 GB, free: 24.85 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.535e-05/1.153, allocations: 7.844 kB / 1.166 GB, free: 24.85 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.337e-05/1.153, allocations: 22 kB / 1.166 GB, free: 24.84 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/1.153, allocations: 0 / 1.166 GB, free: 24.84 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006381/1.153, allocations: 1.304 MB / 1.167 GB, free: 23.57 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/1.153, allocations: 0 / 1.167 GB, free: 23.57 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001731/1.154, allocations: 209.6 kB / 1.167 GB, free: 23.39 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 4.652e-05/1.154, allocations: 25.66 kB / 1.167 GB, free: 23.38 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.659e-05/1.154, allocations: 6.344 kB / 1.167 GB, free: 23.38 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/1.154, allocations: 2.844 kB / 1.167 GB, free: 23.38 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.556e-05/1.154, allocations: 6.219 kB / 1.167 GB, free: 23.38 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.513e-06/1.154, allocations: 4 kB / 1.167 GB, free: 23.37 MB / 1.076 GB Notification: Performance of sorting global known variables: time 8.533e-05/1.154, allocations: 131.9 kB / 1.168 GB, free: 23.28 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/1.154, allocations: 0 / 1.168 GB, free: 23.28 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003093/1.154, allocations: 53.98 kB / 1.168 GB, free: 23.27 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 9.254e-05/1.154, allocations: 97.97 kB / 1.168 GB, free: 23.18 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003293/1.155, allocations: 200.3 kB / 1.168 GB, free: 23.04 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/1.155, allocations: 192 / 1.168 GB, free: 23.04 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001176/1.155, allocations: 145.6 kB / 1.168 GB, free: 22.91 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003484/1.155, allocations: 50.45 kB / 1.168 GB, free: 22.89 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000538/1.156, allocations: 360.8 kB / 1.168 GB, free: 22.66 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001268/1.156, allocations: 135.8 kB / 1.169 GB, free: 22.57 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 7.155e-05/1.156, allocations: 19.69 kB / 1.169 GB, free: 22.57 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.039e-05/1.156, allocations: 18.5 kB / 1.169 GB, free: 22.56 MB / 1.076 GB Notification: Performance of SimCode: time 3.01e-07/1.156, allocations: 4 kB / 1.169 GB, free: 22.55 MB / 1.076 GB Notification: Performance of Templates: time 0.004855/1.161, allocations: 1.646 MB / 1.17 GB, free: 22.33 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance.sim & ./Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_DC_Lines_Examples_Resistance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.85251768201124]