Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001746/0.001746, allocations: 109.7 kB / 16.45 MB, free: 6.488 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.002086/0.002086, allocations: 216.2 kB / 19.43 MB, free: 3.656 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.495/1.495, allocations: 230.6 MB / 252.8 MB, free: 8.984 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.298/3.298, allocations: 0.4899 GB / 0.7915 GB, free: 33.33 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.DCLinesLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Sloads|E.S.1.",fileNamePrefix="Buildings_12_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_12_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.002165/0.002165, allocations: 68.72 kB / 1.149 GB, free: 26.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4453/0.4475, allocations: 176.1 MB / 1.321 GB, free: 2.848 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02983/0.4773, allocations: 22.96 MB / 1.344 GB, free: 11.81 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0307/0.508, allocations: 17.83 MB / 1.361 GB, free: 9.926 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004976/0.513, allocations: 174.6 kB / 1.361 GB, free: 9.754 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.01265/0.5256, allocations: 4.217 MB / 1.365 GB, free: 5.527 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.01508/0.5407, allocations: 3.581 MB / 1.369 GB, free: 1.938 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.005228/0.5459, allocations: 1.303 MB / 1.37 GB, free: 0.6367 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.01231/0.5582, allocations: 5.777 MB / 1.376 GB, free: 10.84 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007499/0.5657, allocations: 2.804 MB / 1.379 GB, free: 7.965 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007739/0.5735, allocations: 2.824 MB / 1.381 GB, free: 5.133 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005906/0.5794, allocations: 2.307 MB / 1.384 GB, free: 2.816 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.001747/0.5811, allocations: 368 kB / 1.384 GB, free: 2.457 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003925/0.5851, allocations: 1.049 MB / 1.385 GB, free: 1.406 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.00267/0.5877, allocations: 1.222 MB / 1.386 GB, free: 184 kB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.005595/0.5933, allocations: 1.979 MB / 1.388 GB, free: 14.19 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.01197/0.6053, allocations: 5.152 MB / 1.393 GB, free: 9.02 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.6053, allocations: 3.938 kB / 1.393 GB, free: 9.016 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.543e-06/0.6053, allocations: 0 / 1.393 GB, free: 9.016 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0002504/0.6055, allocations: 0 / 1.393 GB, free: 9.016 MB / 1.092 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.01666/0.6222, allocations: 4.714 MB / 1.398 GB, free: 4.184 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 6.089e-05/0.6223, allocations: 11.98 kB / 1.398 GB, free: 4.172 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01833/0.6406, allocations: 3.283 MB / 1.401 GB, free: 0.8828 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007203/0.6478, allocations: 2.273 MB / 1.403 GB, free: 14.54 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006857/0.6485, allocations: 466.3 kB / 1.404 GB, free: 14.02 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001424/0.6499, allocations: 235.9 kB / 1.404 GB, free: 13.79 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01553/0.6654, allocations: 4.714 MB / 1.408 GB, free: 8.984 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.283e-05/0.6655, allocations: 0 / 1.408 GB, free: 8.984 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008786/0.6664, allocations: 108 kB / 1.408 GB, free: 8.879 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002547/0.6667, allocations: 168.8 kB / 1.409 GB, free: 8.711 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01641/0.6831, allocations: 5.194 MB / 1.414 GB, free: 3.5 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0316/0.7147, allocations: 14.4 MB / 1.428 GB, free: 3.93 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0113/0.726, allocations: 3.254 MB / 1.431 GB, free: 0.6562 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004306/0.7303, allocations: 1.377 MB / 1.432 GB, free: 15.28 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001869/0.7305, allocations: 25.3 kB / 1.432 GB, free: 15.25 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005099/0.7356, allocations: 1.79 MB / 1.434 GB, free: 13.4 MB / 1.139 GB Notification: Performance of pre-optimization done (n=163): time 5.601e-06/0.7356, allocations: 0 / 1.434 GB, free: 13.4 MB / 1.139 GB Notification: Performance of matching and sorting (n=250): time 0.169/0.9046, allocations: 28.24 MB / 1.462 GB, free: 0.9375 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004381/0.905, allocations: 0.4889 MB / 1.462 GB, free: 348 kB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006718/0.9117, allocations: 2.296 MB / 1.464 GB, free: 14.03 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.00084/0.9125, allocations: 81.7 kB / 1.464 GB, free: 13.95 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.002225/0.9148, allocations: 1.452 MB / 1.466 GB, free: 12.48 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.002017/0.9168, allocations: 0.8598 MB / 1.467 GB, free: 11.61 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002394/0.9192, allocations: 416.5 kB / 1.467 GB, free: 11.2 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002664/0.9195, allocations: 305.1 kB / 1.467 GB, free: 10.9 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008572/0.928, allocations: 1.929 MB / 1.469 GB, free: 8.965 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009346/0.9374, allocations: 2.231 MB / 1.471 GB, free: 6.648 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01756/0.9549, allocations: 4.161 MB / 1.476 GB, free: 2.352 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.508e-05/0.955, allocations: 4 kB / 1.476 GB, free: 2.348 MB / 1.17 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.02983/0.9848, allocations: 6.475 MB / 1.482 GB, free: 11.78 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001777/0.985, allocations: 152.4 kB / 1.482 GB, free: 11.6 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.737e-05/0.985, allocations: 8 kB / 1.482 GB, free: 11.59 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01552/1.001, allocations: 2.918 MB / 1.485 GB, free: 8.66 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004365/1.005, allocations: 495.2 kB / 1.485 GB, free: 8.176 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05367/1.059, allocations: 18.86 MB / 1.504 GB, free: 5.066 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004579/1.063, allocations: 327.6 kB / 1.504 GB, free: 4.746 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004809/1.064, allocations: 87.97 kB / 1.504 GB, free: 4.66 MB / 1.201 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.001777/1.065, allocations: 0.7093 MB / 1.505 GB, free: 3.945 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008403/1.066, allocations: 345.8 kB / 1.505 GB, free: 3.605 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001013/1.067, allocations: 388.1 kB / 1.506 GB, free: 3.219 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.492e-05/1.067, allocations: 24 kB / 1.506 GB, free: 3.195 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.869e-05/1.067, allocations: 12 kB / 1.506 GB, free: 3.184 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.131e-05/1.067, allocations: 11.95 kB / 1.506 GB, free: 3.172 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006265/1.074, allocations: 3.62 MB / 1.509 GB, free: 15.5 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.214e-05/1.074, allocations: 192 / 1.509 GB, free: 15.5 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002652/1.076, allocations: 423.3 kB / 1.51 GB, free: 15.08 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01085/1.087, allocations: 2.868 MB / 1.512 GB, free: 12.21 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005301/1.088, allocations: 47.97 kB / 1.512 GB, free: 12.16 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04413/1.132, allocations: 18.64 MB / 1.531 GB, free: 9.215 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/1.132, allocations: 96 / 1.531 GB, free: 9.215 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02092/1.153, allocations: 6.112 MB / 1.537 GB, free: 3.07 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002211/1.155, allocations: 0.7173 MB / 1.537 GB, free: 2.332 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006309/1.156, allocations: 51.94 kB / 1.537 GB, free: 2.281 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003372/1.159, allocations: 319.5 kB / 1.538 GB, free: 1.969 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001324/1.16, allocations: 350.7 kB / 1.538 GB, free: 1.625 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002262/1.16, allocations: 67.97 kB / 1.538 GB, free: 1.559 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.002575/1.163, allocations: 1.536 MB / 1.539 GB, free: 24 kB / 1.232 GB Notification: Performance of sort global known variables: time 9e-08/1.163, allocations: 0 / 1.539 GB, free: 24 kB / 1.232 GB Notification: Performance of remove unused functions: time 0.003725/1.167, allocations: 1.043 MB / 1.541 GB, free: 14.98 MB / 1.248 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.0004611/1.167, allocations: 167 kB / 1.541 GB, free: 14.81 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.02587/1.193, allocations: 6.312 MB / 1.547 GB, free: 8.402 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 1.29e-05/1.193, allocations: 4 kB / 1.547 GB, free: 8.398 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.01934/1.212, allocations: 3.927 MB / 1.551 GB, free: 4.449 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006302/1.219, allocations: 1.14 MB / 1.552 GB, free: 3.352 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01906/1.238, allocations: 6.793 MB / 1.558 GB, free: 12.52 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002507/1.24, allocations: 2.231 MB / 1.561 GB, free: 10.26 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.002443/1.243, allocations: 0.498 MB / 1.561 GB, free: 9.754 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007808/1.244, allocations: 191.4 kB / 1.561 GB, free: 9.566 MB / 1.264 GB Notification: Performance of SimCode: time 2.284e-06/1.244, allocations: 4 kB / 1.561 GB, free: 9.562 MB / 1.264 GB Notification: Performance of Templates: time 0.973/2.217, allocations: 76.29 MB / 1.636 GB, free: 254.2 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.374845173209906]