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.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.00158/0.00158, allocations: 110.5 kB / 17.6 MB, free: 4.684 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.001574/0.001574, allocations: 186.8 kB / 20.78 MB, free: 1.52 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.45/1.45, allocations: 225.6 MB / 249.4 MB, free: 3.008 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.763/2.763, allocations: 476.7 MB / 0.7628 GB, free: 15.18 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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.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: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 67.89 kB / 1.107 GB, free: 4.578 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.049/1.051, allocations: 168.7 MB / 1.272 GB, free: 7.934 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.03087/1.082, allocations: 23.49 MB / 1.295 GB, free: 8.09 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.03388/1.116, allocations: 18.13 MB / 1.313 GB, free: 11.7 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005368/1.121, allocations: 115.9 kB / 1.313 GB, free: 11.66 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.01461/1.136, allocations: 4.321 MB / 1.317 GB, free: 9.121 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.01839/1.154, allocations: 3.587 MB / 1.32 GB, free: 6.957 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.006409/1.161, allocations: 1.325 MB / 1.322 GB, free: 6.258 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0152/1.176, allocations: 5.785 MB / 1.327 GB, free: 3.551 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009253/1.185, allocations: 2.462 MB / 1.33 GB, free: 2.199 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007944/1.193, allocations: 2.482 MB / 1.332 GB, free: 1.156 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00773/1.201, allocations: 2.508 MB / 1.335 GB, free: 92 kB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.002474/1.203, allocations: 369.2 kB / 1.335 GB, free: 92 kB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00493/1.208, allocations: 1.056 MB / 1.336 GB, free: 15.82 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.003852/1.212, allocations: 1.223 MB / 1.337 GB, free: 15.19 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.007868/1.22, allocations: 1.99 MB / 1.339 GB, free: 13.98 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0144/1.234, allocations: 5.195 MB / 1.344 GB, free: 12.03 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/1.234, allocations: 1.094 kB / 1.344 GB, free: 12.03 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.533e-06/1.234, allocations: 0 / 1.344 GB, free: 12.03 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0002522/1.234, allocations: 0 / 1.344 GB, free: 12.03 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.02055/1.255, allocations: 4.72 MB / 1.349 GB, free: 8.742 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 6.279e-05/1.255, allocations: 8.938 kB / 1.349 GB, free: 8.742 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01866/1.274, allocations: 3.285 MB / 1.352 GB, free: 7.23 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008354/1.282, allocations: 2.253 MB / 1.354 GB, free: 5.625 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007491/1.283, allocations: 474.6 kB / 1.355 GB, free: 5.211 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001957/1.285, allocations: 231.5 kB / 1.355 GB, free: 5.137 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01786/1.303, allocations: 4.81 MB / 1.36 GB, free: 2.289 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000112/1.303, allocations: 5.094 kB / 1.36 GB, free: 2.285 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00124/1.304, allocations: 105.8 kB / 1.36 GB, free: 2.207 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002753/1.304, allocations: 168.8 kB / 1.36 GB, free: 2.168 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01656/1.321, allocations: 5.197 MB / 1.365 GB, free: 15.54 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03229/1.353, allocations: 14.42 MB / 1.379 GB, free: 3.051 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01097/1.364, allocations: 3.262 MB / 1.382 GB, free: 1.391 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004109/1.368, allocations: 1.381 MB / 1.384 GB, free: 0.6875 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002283/1.368, allocations: 20.39 kB / 1.384 GB, free: 0.6797 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005084/1.374, allocations: 1.795 MB / 1.385 GB, free: 15.21 MB / 1.076 GB Notification: Performance of pre-optimization done (n=163): time 4.198e-06/1.374, allocations: 0 / 1.385 GB, free: 15.21 MB / 1.076 GB Notification: Performance of matching and sorting (n=250): time 0.1288/1.502, allocations: 28.22 MB / 1.413 GB, free: 2.777 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000318/1.503, allocations: 0.4889 MB / 1.413 GB, free: 2.18 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004691/1.507, allocations: 2.3 MB / 1.416 GB, free: 15.86 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0005737/1.508, allocations: 77.7 kB / 1.416 GB, free: 15.78 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.001708/1.51, allocations: 1.46 MB / 1.417 GB, free: 14.31 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0013/1.511, allocations: 0.8559 MB / 1.418 GB, free: 13.45 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00147/1.512, allocations: 420.5 kB / 1.418 GB, free: 13.03 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001233/1.512, allocations: 301.1 kB / 1.419 GB, free: 12.73 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005383/1.518, allocations: 1.929 MB / 1.421 GB, free: 10.8 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005686/1.524, allocations: 2.239 MB / 1.423 GB, free: 8.477 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01094/1.534, allocations: 4.161 MB / 1.427 GB, free: 4.18 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.318e-05/1.534, allocations: 3.938 kB / 1.427 GB, free: 4.176 MB / 1.107 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.02001/1.555, allocations: 6.471 MB / 1.433 GB, free: 13.61 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001479/1.555, allocations: 156.5 kB / 1.433 GB, free: 13.43 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.367e-05/1.555, allocations: 4 kB / 1.433 GB, free: 13.43 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01044/1.565, allocations: 2.926 MB / 1.436 GB, free: 10.49 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002973/1.568, allocations: 487.2 kB / 1.437 GB, free: 10.02 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04328/1.611, allocations: 18.85 MB / 1.455 GB, free: 6.906 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004931/1.616, allocations: 323.6 kB / 1.455 GB, free: 6.59 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007064/1.617, allocations: 95.98 kB / 1.455 GB, free: 6.496 MB / 1.139 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.002469/1.619, allocations: 0.707 MB / 1.456 GB, free: 5.777 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001275/1.621, allocations: 349.8 kB / 1.456 GB, free: 5.434 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001205/1.622, allocations: 384.1 kB / 1.457 GB, free: 5.051 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-05/1.622, allocations: 24 kB / 1.457 GB, free: 5.027 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.652e-05/1.622, allocations: 8 kB / 1.457 GB, free: 5.02 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.554e-05/1.622, allocations: 11.95 kB / 1.457 GB, free: 5.008 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007752/1.63, allocations: 3.636 MB / 1.46 GB, free: 1.316 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.522e-05/1.63, allocations: 4 kB / 1.46 GB, free: 1.312 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002671/1.633, allocations: 411.3 kB / 1.461 GB, free: 0.9102 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01045/1.643, allocations: 2.872 MB / 1.464 GB, free: 14.03 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006541/1.644, allocations: 47.97 kB / 1.464 GB, free: 13.98 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04481/1.688, allocations: 18.63 MB / 1.482 GB, free: 11.05 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/1.688, allocations: 160 / 1.482 GB, free: 11.05 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0198/1.708, allocations: 6.112 MB / 1.488 GB, free: 4.91 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002633/1.711, allocations: 0.7096 MB / 1.489 GB, free: 4.18 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001182/1.712, allocations: 51.92 kB / 1.489 GB, free: 4.129 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003945/1.716, allocations: 315.5 kB / 1.489 GB, free: 3.82 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001339/1.717, allocations: 362.7 kB / 1.489 GB, free: 3.465 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002372/1.718, allocations: 63.98 kB / 1.489 GB, free: 3.402 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.002587/1.72, allocations: 1.54 MB / 1.491 GB, free: 1.863 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.01e-07/1.72, allocations: 0 / 1.491 GB, free: 1.863 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.004511/1.725, allocations: 1.047 MB / 1.492 GB, free: 0.8164 MB / 1.17 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.0005194/1.725, allocations: 159 kB / 1.492 GB, free: 0.6523 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.02392/1.749, allocations: 6.329 MB / 1.498 GB, free: 10.23 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 1.25e-05/1.749, allocations: 8.062 kB / 1.498 GB, free: 10.22 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0182/1.767, allocations: 3.926 MB / 1.502 GB, free: 6.27 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00762/1.775, allocations: 1.132 MB / 1.503 GB, free: 5.18 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01875/1.794, allocations: 6.835 MB / 1.51 GB, free: 14.31 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002614/1.796, allocations: 2.227 MB / 1.512 GB, free: 12.05 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.002781/1.799, allocations: 0.5099 MB / 1.512 GB, free: 11.54 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007856/1.8, allocations: 195.4 kB / 1.513 GB, free: 11.34 MB / 1.201 GB Notification: Performance of SimCode: time 1.903e-06/1.8, allocations: 0 / 1.513 GB, free: 11.34 MB / 1.201 GB Notification: Performance of Templates: time 0.1429/1.943, allocations: 77.65 MB / 1.588 GB, free: 14.55 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: 12.776413824409246]