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.00177/0.00177, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002093/0.002093, allocations: 209.1 kB / 22.99 MB, free: 4.984 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.726/1.726, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.272/3.272, allocations: 0.49 GB / 0.7959 GB, free: 35.65 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.002068/0.002068, allocations: 68.03 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3879/0.39, allocations: 176.1 MB / 1.327 GB, free: 1.043 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.00536/0.3954, allocations: 3.067 MB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002442/0.3978, allocations: 1.321 MB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001168/0.3979, allocations: 4 kB / 1.331 GB, free: 12.63 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001095/0.399, allocations: 334.7 kB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003588/0.3994, allocations: 155.3 kB / 1.332 GB, free: 12.15 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003486/0.3997, allocations: 135.6 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003956/0.4001, allocations: 310.9 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004084/0.4005, allocations: 185.1 kB / 1.332 GB, free: 11.53 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001693/0.4007, allocations: 127.6 kB / 1.333 GB, free: 11.41 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000305/0.401, allocations: 143.5 kB / 1.333 GB, free: 11.27 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.412e-05/0.401, allocations: 16 kB / 1.333 GB, free: 11.25 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002676/0.4013, allocations: 159.6 kB / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001017/0.4014, allocations: 83.73 kB / 1.333 GB, free: 11.01 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000115/0.4015, allocations: 99.58 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004832/0.402, allocations: 322.8 kB / 1.333 GB, free: 10.6 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.402, allocations: 0 / 1.333 GB, free: 10.6 MB / 1.029 GB Notification: Performance of FrontEnd: time 3.948e-06/0.402, allocations: 3.984 kB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.185e-05/0.402, allocations: 4 kB / 1.333 GB, free: 10.59 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.0008557/0.4029, allocations: 458.6 kB / 1.334 GB, free: 10.11 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.4029, allocations: 8.031 kB / 1.334 GB, free: 10.1 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005787/0.4035, allocations: 84.72 kB / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003368/0.4038, allocations: 182.2 kB / 1.334 GB, free: 9.816 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.097e-05/0.4039, allocations: 20.69 kB / 1.334 GB, free: 9.797 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.638e-05/0.4039, allocations: 16.38 kB / 1.334 GB, free: 9.781 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005488/0.4044, allocations: 380.6 kB / 1.334 GB, free: 9.363 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.4045, allocations: 0 / 1.334 GB, free: 9.363 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.946e-05/0.4045, allocations: 16 kB / 1.334 GB, free: 9.348 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.384e-05/0.4045, allocations: 12.38 kB / 1.334 GB, free: 9.336 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003914/0.4049, allocations: 196.9 kB / 1.335 GB, free: 9.145 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001406/0.4063, allocations: 0.981 MB / 1.336 GB, free: 8.105 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002496/0.4066, allocations: 98.48 kB / 1.336 GB, free: 8 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.933e-05/0.4066, allocations: 32.89 kB / 1.336 GB, free: 7.965 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.327e-05/0.4066, allocations: 3.984 kB / 1.336 GB, free: 7.961 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.143e-05/0.4067, allocations: 38.56 kB / 1.336 GB, free: 7.914 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.4067, allocations: 3.938 kB / 1.336 GB, free: 7.91 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0004644/0.4071, allocations: 146.5 kB / 1.336 GB, free: 7.758 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.733e-05/0.4072, allocations: 51.41 kB / 1.336 GB, free: 7.695 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002046/0.4074, allocations: 194.3 kB / 1.336 GB, free: 7.496 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.025e-05/0.4074, allocations: 25.7 kB / 1.336 GB, free: 7.465 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001212/0.4075, allocations: 175.9 kB / 1.336 GB, free: 7.289 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.46e-05/0.4075, allocations: 23.8 kB / 1.336 GB, free: 7.266 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.011e-05/0.4076, allocations: 33.7 kB / 1.336 GB, free: 7.227 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001611/0.4078, allocations: 330.8 kB / 1.337 GB, free: 6.895 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.595e-05/0.4078, allocations: 31.98 kB / 1.337 GB, free: 6.863 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001177/0.4079, allocations: 102.4 kB / 1.337 GB, free: 6.734 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001966/0.4081, allocations: 148.4 kB / 1.337 GB, free: 6.559 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.4081, allocations: 0 / 1.337 GB, free: 6.559 MB / 1.029 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003476/0.4085, allocations: 186.2 kB / 1.337 GB, free: 6.367 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.887e-05/0.4085, allocations: 8.281 kB / 1.337 GB, free: 6.359 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.4085, allocations: 8 kB / 1.337 GB, free: 6.352 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001605/0.4087, allocations: 24.84 kB / 1.337 GB, free: 6.324 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.4088, allocations: 27.92 kB / 1.337 GB, free: 6.297 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001267/0.4101, allocations: 1.292 MB / 1.338 GB, free: 4.898 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001218/0.4102, allocations: 15.89 kB / 1.338 GB, free: 4.883 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.314e-05/0.4102, allocations: 16.09 kB / 1.339 GB, free: 4.867 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.0002012/0.4104, allocations: 141.8 kB / 1.339 GB, free: 4.719 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.462e-05/0.4104, allocations: 19.84 kB / 1.339 GB, free: 4.699 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.271e-05/0.4105, allocations: 21.39 kB / 1.339 GB, free: 4.68 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/0.4105, allocations: 3.938 kB / 1.339 GB, free: 4.676 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.4105, allocations: 96 / 1.339 GB, free: 4.676 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.4105, allocations: 3.938 kB / 1.339 GB, free: 4.672 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005064/0.411, allocations: 367 kB / 1.339 GB, free: 4.273 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.411, allocations: 0 / 1.339 GB, free: 4.273 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.164e-05/0.411, allocations: 11.94 kB / 1.339 GB, free: 4.262 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.006e-05/0.4111, allocations: 24.84 kB / 1.339 GB, free: 4.234 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.4111, allocations: 0 / 1.339 GB, free: 4.234 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00109/0.4122, allocations: 1.292 MB / 1.34 GB, free: 2.84 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.4122, allocations: 0 / 1.34 GB, free: 2.84 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002609/0.4125, allocations: 212.8 kB / 1.341 GB, free: 2.613 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.423e-05/0.4125, allocations: 23.84 kB / 1.341 GB, free: 2.59 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.91e-05/0.4125, allocations: 3.984 kB / 1.341 GB, free: 2.586 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.4127, allocations: 4 kB / 1.341 GB, free: 2.582 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.921e-05/0.4127, allocations: 8 kB / 1.341 GB, free: 2.574 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.147e-05/0.4127, allocations: 7.984 kB / 1.341 GB, free: 2.566 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000128/0.4128, allocations: 128.3 kB / 1.341 GB, free: 2.441 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4128, allocations: 3.938 kB / 1.341 GB, free: 2.438 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003299/0.4132, allocations: 51.89 kB / 1.341 GB, free: 2.387 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.0001224/0.4133, allocations: 106 kB / 1.341 GB, free: 2.273 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004561/0.4137, allocations: 202.5 kB / 1.341 GB, free: 2.062 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.4137, allocations: 4 kB / 1.341 GB, free: 2.059 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001761/0.4139, allocations: 146.7 kB / 1.341 GB, free: 1.902 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003496/0.4143, allocations: 27.86 kB / 1.341 GB, free: 1.879 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006412/0.4149, allocations: 366.8 kB / 1.342 GB, free: 1.496 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001502/0.4151, allocations: 135.9 kB / 1.342 GB, free: 1.344 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.594e-05/0.4151, allocations: 21.42 kB / 1.342 GB, free: 1.324 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.408e-05/0.4152, allocations: 15.44 kB / 1.342 GB, free: 1.309 MB / 1.029 GB Notification: Performance of SimCode: time 3.81e-07/0.4152, allocations: 0 / 1.342 GB, free: 1.309 MB / 1.029 GB Notification: Performance of Templates: time 0.005476/0.4206, allocations: 1.918 MB / 1.344 GB, free: 15.43 MB / 1.045 GB " [Timeout remaining time 300] 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 gbode -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.3237123269937]