Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.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.001484/0.001484, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001662/0.001662, allocations: 212.3 kB / 22.24 MB, free: 4.855 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.556/1.556, allocations: 230.6 MB / 256 MB, free: 7.785 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 2.938/2.938, allocations: 475.9 MB / 0.7699 GB, free: 4.832 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.DCLinesLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Sloads|E.S.1.",fileNamePrefix="Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Sloads|E.S.1.",fileNamePrefix="Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") [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.002161/0.002161, allocations: 66.62 kB / 1.117 GB, free: 41.06 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.393/0.3952, allocations: 170 MB / 1.283 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02904/0.4242, allocations: 21.28 MB / 1.304 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03112/0.4554, allocations: 16.84 MB / 1.32 GB, free: 5.727 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005465/0.4608, allocations: 174.6 kB / 1.32 GB, free: 5.555 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0131/0.4739, allocations: 4.161 MB / 1.324 GB, free: 1.387 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.01536/0.4893, allocations: 3.595 MB / 1.328 GB, free: 13.78 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.004753/0.494, allocations: 1.314 MB / 1.329 GB, free: 12.47 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01184/0.5059, allocations: 5.789 MB / 1.335 GB, free: 6.668 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005772/0.5116, allocations: 2.834 MB / 1.338 GB, free: 3.754 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007112/0.5188, allocations: 2.827 MB / 1.34 GB, free: 0.918 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00579/0.5245, allocations: 2.151 MB / 1.343 GB, free: 14.76 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.001098/0.5256, allocations: 364 kB / 1.343 GB, free: 14.4 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002945/0.5286, allocations: 0.9516 MB / 1.344 GB, free: 13.45 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.001389/0.53, allocations: 1.219 MB / 1.345 GB, free: 12.23 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.002565/0.5325, allocations: 1.625 MB / 1.347 GB, free: 10.59 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.01052/0.5431, allocations: 5.199 MB / 1.352 GB, free: 5.375 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.5431, allocations: 0 / 1.352 GB, free: 5.375 MB / 1.045 GB Notification: Performance of FrontEnd: time 3.016e-06/0.5431, allocations: 0 / 1.352 GB, free: 5.375 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.000131/0.5432, allocations: 0 / 1.352 GB, free: 5.375 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 635 * Number of variables: 635 Notification: Performance of Generate backend data structure: time 0.01233/0.5555, allocations: 4.635 MB / 1.356 GB, free: 0.6406 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.008e-05/0.5556, allocations: 8.031 kB / 1.356 GB, free: 0.6328 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0167/0.5723, allocations: 3.283 MB / 1.359 GB, free: 13.34 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006448/0.5787, allocations: 2.162 MB / 1.362 GB, free: 11.11 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005064/0.5792, allocations: 474.3 kB / 1.362 GB, free: 10.58 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005833/0.5798, allocations: 235.9 kB / 1.362 GB, free: 10.35 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01208/0.5919, allocations: 5.363 MB / 1.367 GB, free: 4.734 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.151e-05/0.592, allocations: 0 / 1.367 GB, free: 4.734 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003151/0.5923, allocations: 104 kB / 1.368 GB, free: 4.633 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002489/0.5925, allocations: 172.8 kB / 1.368 GB, free: 4.461 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01464/0.6072, allocations: 5.191 MB / 1.373 GB, free: 15.25 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02329/0.6304, allocations: 8.752 MB / 1.381 GB, free: 6.383 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01034/0.6408, allocations: 3.258 MB / 1.385 GB, free: 3.113 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003886/0.6447, allocations: 1.362 MB / 1.386 GB, free: 1.75 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001184/0.6448, allocations: 29.3 kB / 1.386 GB, free: 1.723 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004974/0.6498, allocations: 2.456 MB / 1.388 GB, free: 15.04 MB / 1.092 GB Notification: Performance of pre-optimization done (n=163): time 4.008e-06/0.6498, allocations: 0 / 1.388 GB, free: 15.04 MB / 1.092 GB Notification: Performance of matching and sorting (n=250): time 0.1331/0.7828, allocations: 27.51 MB / 1.415 GB, free: 3.48 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004337/0.7833, allocations: 0.4928 MB / 1.416 GB, free: 2.879 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003688/0.7869, allocations: 1.998 MB / 1.418 GB, free: 0.8672 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0005728/0.7875, allocations: 77.69 kB / 1.418 GB, free: 0.7852 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.001899/0.7894, allocations: 1.47 MB / 1.419 GB, free: 15.3 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.001359/0.7908, allocations: 0.8598 MB / 1.42 GB, free: 14.43 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001008/0.7918, allocations: 416.5 kB / 1.42 GB, free: 14.02 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001754/0.792, allocations: 305.1 kB / 1.421 GB, free: 13.72 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005905/0.7979, allocations: 2.066 MB / 1.423 GB, free: 11.62 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006506/0.8044, allocations: 2.774 MB / 1.425 GB, free: 8.629 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01175/0.8161, allocations: 4.165 MB / 1.429 GB, free: 4.328 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.406e-05/0.8161, allocations: 4 kB / 1.429 GB, free: 4.324 MB / 1.123 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.0206/0.8367, allocations: 6.584 MB / 1.436 GB, free: 13.62 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001818/0.8369, allocations: 156.5 kB / 1.436 GB, free: 13.43 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.817e-05/0.8369, allocations: 8 kB / 1.436 GB, free: 13.43 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01112/0.8481, allocations: 2.916 MB / 1.439 GB, free: 10.5 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003237/0.8513, allocations: 491.2 kB / 1.439 GB, free: 10.02 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04658/0.8979, allocations: 18.19 MB / 1.457 GB, free: 7.652 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004766/0.9026, allocations: 323.6 kB / 1.457 GB, free: 7.336 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004741/0.9031, allocations: 87.97 kB / 1.457 GB, free: 7.25 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 25 (varLoad5.count,$PRE.varLoad5.count,varLoad5.T_start,$PRE.varLoad5.T_start,varLoad4.count,$PRE.varLoad4.count,varLoad4.T_start,$PRE.varLoad4.T_start,varLoad3.count,$PRE.varLoad3.count,varLoad3.T_start,$PRE.varLoad3.T_start,varLoad2.count,$PRE.varLoad2.count,varLoad2.T_start,$PRE.varLoad2.T_start,varLoad1.count,$PRE.varLoad1.count,varLoad1.T_start,$PRE.varLoad1.T_start,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (162): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,52,45.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,64)} Notification: Performance of prepare postOptimizeDAE: time 0.001928/0.905, allocations: 0.7025 MB / 1.458 GB, free: 6.539 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007986/0.9058, allocations: 322 kB / 1.458 GB, free: 6.223 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008172/0.9067, allocations: 361.2 kB / 1.459 GB, free: 5.859 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.738e-05/0.9067, allocations: 24 kB / 1.459 GB, free: 5.836 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.218e-05/0.9067, allocations: 11.94 kB / 1.459 GB, free: 5.824 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-05/0.9068, allocations: 11.95 kB / 1.459 GB, free: 5.812 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005233/0.912, allocations: 2.731 MB / 1.462 GB, free: 3.047 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.415e-05/0.912, allocations: 0 / 1.462 GB, free: 3.047 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002601/0.9146, allocations: 419.4 kB / 1.462 GB, free: 2.637 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0102/0.9248, allocations: 2.867 MB / 1.465 GB, free: 15.76 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000507/0.9253, allocations: 51.97 kB / 1.465 GB, free: 15.71 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04299/0.9683, allocations: 17.97 MB / 1.482 GB, free: 13.52 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.9683, allocations: 0 / 1.482 GB, free: 13.52 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02005/0.9884, allocations: 6.091 MB / 1.488 GB, free: 7.402 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002955/0.9913, allocations: 0.5993 MB / 1.489 GB, free: 6.801 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006641/0.992, allocations: 44 kB / 1.489 GB, free: 6.758 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003449/0.9954, allocations: 315.6 kB / 1.489 GB, free: 6.449 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001513/0.997, allocations: 362.5 kB / 1.49 GB, free: 6.094 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002443/0.9972, allocations: 67.97 kB / 1.49 GB, free: 6.027 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.002829/1, allocations: 1.32 MB / 1.491 GB, free: 4.699 MB / 1.186 GB Notification: Performance of sort global known variables: time 9e-08/1, allocations: 0 / 1.491 GB, free: 4.699 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.004285/1.004, allocations: 1.035 MB / 1.492 GB, free: 3.664 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,varLoad1.T_start,varLoad1.count,varLoad2.T_start,varLoad2.count,varLoad3.T_start,varLoad3.count,varLoad4.T_start,varLoad4.count,varLoad5.T_start,varLoad5.count) * Number of discrete states: 5 (varLoad1.count,varLoad2.count,varLoad3.count,varLoad4.count,varLoad5.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (118): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,52,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(10,62)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004545/1.005, allocations: 172.1 kB / 1.492 GB, free: 3.484 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.02527/1.03, allocations: 6.453 MB / 1.498 GB, free: 12.91 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 1.462e-05/1.03, allocations: 4.75 kB / 1.498 GB, free: 12.91 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.01872/1.049, allocations: 3.923 MB / 1.502 GB, free: 8.953 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005327/1.054, allocations: 1.028 MB / 1.503 GB, free: 7.961 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01676/1.071, allocations: 6.806 MB / 1.51 GB, free: 1.125 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002403/1.073, allocations: 1.679 MB / 1.512 GB, free: 15.4 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.002658/1.076, allocations: 475.4 kB / 1.512 GB, free: 14.93 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007169/1.077, allocations: 179.4 kB / 1.512 GB, free: 14.76 MB / 1.217 GB Notification: Performance of SimCode: time 1.623e-06/1.077, allocations: 0 / 1.512 GB, free: 14.76 MB / 1.217 GB Notification: Performance of Templates: time 0.1363/1.213, allocations: 77.63 MB / 1.588 GB, free: 2.312 MB / 1.279 GB " [Timeout remaining time 298] make -j1 -f Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.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: 13.548968510702252]