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.00149/0.00149, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001639/0.001639, allocations: 211.8 kB / 22.24 MB, free: 5.242 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.533/1.533, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.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 3.49/3.49, allocations: 0.4892 GB / 0.7943 GB, free: 35.48 MB / 0.6231 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.003765/0.003765, allocations: 64.77 kB / 1.154 GB, free: 25.56 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.512/0.5157, allocations: 176.1 MB / 1.326 GB, free: 1.922 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.005787/0.5215, allocations: 3.067 MB / 1.328 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002808/0.5243, allocations: 1.313 MB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001494/0.5245, allocations: 7.938 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001238/0.5257, allocations: 342 kB / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004353/0.5262, allocations: 143.3 kB / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004329/0.5266, allocations: 139.6 kB / 1.33 GB, free: 12.91 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004582/0.527, allocations: 306.9 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005077/0.5276, allocations: 185 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001904/0.5277, allocations: 135.6 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003648/0.5281, allocations: 131.5 kB / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.193e-05/0.5282, allocations: 20 kB / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003199/0.5285, allocations: 147.7 kB / 1.331 GB, free: 12 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001197/0.5286, allocations: 87.72 kB / 1.331 GB, free: 11.91 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001271/0.5287, allocations: 91.59 kB / 1.331 GB, free: 11.82 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005517/0.5293, allocations: 342.7 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.5293, allocations: 0 / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.004e-06/0.5293, allocations: 0 / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.007e-06/0.5293, allocations: 0 / 1.332 GB, free: 11.48 MB / 1.029 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.0009698/0.5303, allocations: 462.8 kB / 1.332 GB, free: 11 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.5303, allocations: 8.031 kB / 1.332 GB, free: 10.99 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006097/0.5309, allocations: 76.73 kB / 1.332 GB, free: 10.92 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003803/0.5313, allocations: 194.1 kB / 1.332 GB, free: 10.7 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.863e-05/0.5313, allocations: 8.75 kB / 1.332 GB, free: 10.7 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.746e-05/0.5314, allocations: 20.38 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006291/0.532, allocations: 380.7 kB / 1.333 GB, free: 10.26 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/0.532, allocations: 3.938 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.618e-05/0.532, allocations: 4 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.441e-05/0.5321, allocations: 24.36 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003351/0.5324, allocations: 189 kB / 1.333 GB, free: 10.04 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001503/0.5339, allocations: 0.9927 MB / 1.334 GB, free: 8.992 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002717/0.5342, allocations: 94.55 kB / 1.334 GB, free: 8.891 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.004e-05/0.5342, allocations: 36.78 kB / 1.334 GB, free: 8.852 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 8.647e-06/0.5343, allocations: 0 / 1.334 GB, free: 8.852 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.417e-05/0.5343, allocations: 30.56 kB / 1.334 GB, free: 8.812 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/0.5343, allocations: 0 / 1.334 GB, free: 8.812 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0004997/0.5348, allocations: 146.4 kB / 1.334 GB, free: 8.66 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.054e-05/0.5348, allocations: 55.41 kB / 1.334 GB, free: 8.594 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002349/0.5351, allocations: 190.3 kB / 1.335 GB, free: 8.398 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.6e-05/0.5351, allocations: 29.7 kB / 1.335 GB, free: 8.363 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001524/0.5353, allocations: 172.1 kB / 1.335 GB, free: 8.191 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.77e-05/0.5353, allocations: 31.77 kB / 1.335 GB, free: 8.16 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.155e-05/0.5354, allocations: 33.72 kB / 1.335 GB, free: 8.121 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001952/0.5355, allocations: 326.8 kB / 1.335 GB, free: 7.793 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.01e-05/0.5356, allocations: 31.98 kB / 1.335 GB, free: 7.762 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001238/0.5357, allocations: 106.1 kB / 1.335 GB, free: 7.629 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002042/0.5359, allocations: 144.4 kB / 1.335 GB, free: 7.457 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.5359, allocations: 0 / 1.335 GB, free: 7.457 MB / 1.029 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003378/0.5363, allocations: 194.2 kB / 1.336 GB, free: 7.258 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.5363, allocations: 15.88 kB / 1.336 GB, free: 7.242 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.5363, allocations: 0 / 1.336 GB, free: 7.242 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000198/0.5365, allocations: 20.84 kB / 1.336 GB, free: 7.219 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.5366, allocations: 31.98 kB / 1.336 GB, free: 7.188 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001429/0.5381, allocations: 1.288 MB / 1.337 GB, free: 5.793 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001186/0.5382, allocations: 15.89 kB / 1.337 GB, free: 5.777 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.679e-05/0.5382, allocations: 12.06 kB / 1.337 GB, free: 5.766 MB / 1.029 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.0001771/0.5384, allocations: 149.7 kB / 1.337 GB, free: 5.609 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.378e-05/0.5384, allocations: 23.83 kB / 1.337 GB, free: 5.586 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.436e-05/0.5384, allocations: 9.406 kB / 1.337 GB, free: 5.578 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.5384, allocations: 4 kB / 1.337 GB, free: 5.574 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.5384, allocations: 0 / 1.337 GB, free: 5.574 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.5384, allocations: 4.094 kB / 1.337 GB, free: 5.57 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005458/0.539, allocations: 366.9 kB / 1.337 GB, free: 5.172 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.539, allocations: 0 / 1.337 GB, free: 5.172 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.025e-05/0.539, allocations: 12 kB / 1.337 GB, free: 5.16 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.312e-05/0.5391, allocations: 24.88 kB / 1.338 GB, free: 5.133 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.5391, allocations: 4 kB / 1.338 GB, free: 5.129 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001148/0.5403, allocations: 1.288 MB / 1.339 GB, free: 3.738 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.5403, allocations: 0 / 1.339 GB, free: 3.738 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002698/0.5405, allocations: 212.2 kB / 1.339 GB, free: 3.512 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.735e-05/0.5406, allocations: 23.92 kB / 1.339 GB, free: 3.488 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.98e-05/0.5406, allocations: 7.938 kB / 1.339 GB, free: 3.48 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/0.5407, allocations: 4 kB / 1.339 GB, free: 3.477 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.211e-05/0.5408, allocations: 3.984 kB / 1.339 GB, free: 3.473 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-06/0.5408, allocations: 4 kB / 1.339 GB, free: 3.469 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001385/0.5409, allocations: 128.3 kB / 1.339 GB, free: 3.344 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.5409, allocations: 4.094 kB / 1.339 GB, free: 3.34 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000336/0.5412, allocations: 51.89 kB / 1.339 GB, free: 3.289 MB / 1.029 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.0001479/0.5414, allocations: 109.7 kB / 1.339 GB, free: 3.172 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004496/0.5418, allocations: 194.5 kB / 1.339 GB, free: 2.969 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.5418, allocations: 0.5625 kB / 1.339 GB, free: 2.969 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001811/0.542, allocations: 150.6 kB / 1.34 GB, free: 2.809 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003955/0.5424, allocations: 48.25 kB / 1.34 GB, free: 2.766 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007923/0.5432, allocations: 355.5 kB / 1.34 GB, free: 2.395 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001771/0.5434, allocations: 139.9 kB / 1.34 GB, free: 2.238 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.429e-05/0.5435, allocations: 25.39 kB / 1.34 GB, free: 2.215 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.024e-05/0.5435, allocations: 15.44 kB / 1.34 GB, free: 2.199 MB / 1.029 GB Notification: Performance of SimCode: time 8.01e-07/0.5435, allocations: 0 / 1.34 GB, free: 2.199 MB / 1.029 GB Notification: Performance of Templates: time 0.006229/0.5497, allocations: 1.858 MB / 1.342 GB, free: 388 kB / 1.029 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 -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/jenkins/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: 10.048589441925287]