Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001279/0.001279, allocations: 104.2 kB / 17.08 MB, free: 5.969 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.001282/0.001282, allocations: 196.2 kB / 20.03 MB, free: 3.035 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.483/1.483, allocations: 222.9 MB / 245.7 MB, free: 4.211 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.044/3.044, allocations: 490 MB / 0.7695 GB, free: 3.184 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_Buildings.Electrical.DC.Lines.Examples.Resistance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002162/0.002162, allocations: 67.89 kB / 1.104 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.114/1.116, allocations: 164 MB / 1.264 GB, free: 7.32 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.004701/1.121, allocations: 3.071 MB / 1.267 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002197/1.123, allocations: 1.347 MB / 1.268 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001652/1.124, allocations: 5.25 kB / 1.268 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00107/1.125, allocations: 323.7 kB / 1.268 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004003/1.125, allocations: 148.3 kB / 1.269 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004128/1.126, allocations: 140.1 kB / 1.269 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0004246/1.126, allocations: 304.5 kB / 1.269 GB, free: 3.844 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004794/1.126, allocations: 238 kB / 1.269 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000175/1.127, allocations: 124.9 kB / 1.269 GB, free: 3.691 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003362/1.127, allocations: 138.9 kB / 1.27 GB, free: 3.633 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.585e-05/1.127, allocations: 18.69 kB / 1.27 GB, free: 3.633 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003403/1.127, allocations: 160.6 kB / 1.27 GB, free: 3.582 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000111/1.127, allocations: 87.94 kB / 1.27 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001327/1.128, allocations: 112.9 kB / 1.27 GB, free: 3.477 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005337/1.128, allocations: 336.4 kB / 1.27 GB, free: 3.363 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/1.128, allocations: 0.75 kB / 1.27 GB, free: 3.363 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.533e-06/1.128, allocations: 0 / 1.27 GB, free: 3.363 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.208e-05/1.128, allocations: 0 / 1.27 GB, free: 3.363 MB / 0.9981 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.000764/1.129, allocations: 0.5231 MB / 1.271 GB, free: 2.895 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/1.129, allocations: 12.38 kB / 1.271 GB, free: 2.891 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006017/1.13, allocations: 79.55 kB / 1.271 GB, free: 2.875 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002761/1.13, allocations: 246.6 kB / 1.271 GB, free: 2.641 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.099e-05/1.13, allocations: 16.59 kB / 1.271 GB, free: 2.633 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.926e-05/1.13, allocations: 20.53 kB / 1.271 GB, free: 2.625 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000488/1.13, allocations: 307.4 kB / 1.271 GB, free: 2.457 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/1.131, allocations: 0.7812 kB / 1.271 GB, free: 2.457 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.718e-05/1.131, allocations: 10.19 kB / 1.271 GB, free: 2.449 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.697e-05/1.131, allocations: 15.92 kB / 1.271 GB, free: 2.449 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000355/1.131, allocations: 193.5 kB / 1.272 GB, free: 2.387 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001275/1.132, allocations: 1.458 MB / 1.273 GB, free: 1.051 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00026/1.133, allocations: 176.6 kB / 1.273 GB, free: 0.9062 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.487e-05/1.133, allocations: 41.81 kB / 1.273 GB, free: 0.8828 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.145e-06/1.133, allocations: 0.5312 kB / 1.273 GB, free: 0.8828 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.784e-05/1.133, allocations: 31.91 kB / 1.273 GB, free: 0.8438 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.823e-06/1.133, allocations: 0.5 kB / 1.273 GB, free: 0.8438 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0004606/1.133, allocations: 236.6 kB / 1.273 GB, free: 0.6641 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.366e-05/1.133, allocations: 56.41 kB / 1.274 GB, free: 0.5977 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001819/1.133, allocations: 200.4 kB / 1.274 GB, free: 472 kB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.037e-05/1.133, allocations: 26.52 kB / 1.274 GB, free: 440 kB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.466e-05/1.133, allocations: 170.9 kB / 1.274 GB, free: 288 kB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.774e-05/1.133, allocations: 24.94 kB / 1.274 GB, free: 268 kB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.217e-05/1.133, allocations: 41.25 kB / 1.274 GB, free: 236 kB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001151/1.134, allocations: 335.7 kB / 1.274 GB, free: 15.9 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.795e-05/1.134, allocations: 29.73 kB / 1.274 GB, free: 15.89 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001288/1.134, allocations: 98.22 kB / 1.274 GB, free: 15.8 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002113/1.134, allocations: 149.2 kB / 1.275 GB, free: 15.68 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/1.134, allocations: 4.469 kB / 1.275 GB, free: 15.67 MB / 1.014 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003504/1.134, allocations: 188.1 kB / 1.275 GB, free: 15.57 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/1.134, allocations: 5.719 kB / 1.275 GB, free: 15.57 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/1.134, allocations: 6.531 kB / 1.275 GB, free: 15.57 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001822/1.135, allocations: 30.58 kB / 1.275 GB, free: 15.55 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/1.135, allocations: 25.08 kB / 1.275 GB, free: 15.55 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001198/1.136, allocations: 1.419 MB / 1.276 GB, free: 14.13 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001253/1.136, allocations: 19.06 kB / 1.276 GB, free: 14.12 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.655e-05/1.136, allocations: 6.031 kB / 1.276 GB, free: 14.12 MB / 1.014 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.0001592/1.136, allocations: 159.2 kB / 1.276 GB, free: 13.98 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.312e-05/1.136, allocations: 19.47 kB / 1.276 GB, free: 13.97 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.003e-05/1.136, allocations: 19.11 kB / 1.276 GB, free: 13.95 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/1.136, allocations: 1.375 kB / 1.276 GB, free: 13.95 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/1.136, allocations: 1.031 kB / 1.276 GB, free: 13.95 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/1.136, allocations: 0.6562 kB / 1.276 GB, free: 13.95 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005635/1.137, allocations: 445.3 kB / 1.277 GB, free: 13.58 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/1.137, allocations: 0 / 1.277 GB, free: 13.58 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.677e-05/1.137, allocations: 8.984 kB / 1.277 GB, free: 13.58 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.041e-05/1.137, allocations: 24.02 kB / 1.277 GB, free: 13.57 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/1.137, allocations: 4 kB / 1.277 GB, free: 13.57 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001117/1.138, allocations: 1.414 MB / 1.278 GB, free: 12.15 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/1.138, allocations: 1.094 kB / 1.278 GB, free: 12.15 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002717/1.139, allocations: 217 kB / 1.278 GB, free: 11.97 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 9.095e-05/1.139, allocations: 99.56 kB / 1.279 GB, free: 11.87 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.825e-05/1.139, allocations: 5.344 kB / 1.279 GB, free: 11.86 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/1.139, allocations: 6.781 kB / 1.279 GB, free: 11.86 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.92e-05/1.139, allocations: 3.688 kB / 1.279 GB, free: 11.86 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/1.139, allocations: 1.969 kB / 1.279 GB, free: 11.86 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.000148/1.139, allocations: 143 kB / 1.279 GB, free: 11.77 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.7e-07/1.139, allocations: 3.938 kB / 1.279 GB, free: 11.76 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003388/1.139, allocations: 52.77 kB / 1.279 GB, free: 11.75 MB / 1.014 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.0001292/1.139, allocations: 101.3 kB / 1.279 GB, free: 11.66 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003898/1.14, allocations: 208.1 kB / 1.279 GB, free: 11.51 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/1.14, allocations: 0 / 1.279 GB, free: 11.51 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001732/1.14, allocations: 153 kB / 1.279 GB, free: 11.38 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003723/1.14, allocations: 45.3 kB / 1.279 GB, free: 11.36 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007308/1.141, allocations: 387.9 kB / 1.28 GB, free: 11.1 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004171/1.142, allocations: 0.7558 MB / 1.28 GB, free: 10.39 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.173e-05/1.142, allocations: 15.53 kB / 1.28 GB, free: 10.38 MB / 1.014 GB Notification: Performance of SimCode: time 2.71e-07/1.142, allocations: 0 / 1.28 GB, free: 10.38 MB / 1.014 GB Notification: Performance of Templates: time 0.006158/1.148, allocations: 2.984 MB / 1.283 GB, free: 10.14 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.sim & ./Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_DC_Lines_Examples_Resistance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 12.399671984952874]