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.002136/0.002136, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.003035/0.003035, allocations: 185.9 kB / 22.22 MB, free: 5.105 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.487/1.487, allocations: 225.6 MB / 251 MB, free: 13.01 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.794/2.794, allocations: 476.7 MB / 0.7646 GB, free: 9.836 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.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.002145/0.002145, allocations: 67.89 kB / 1.11 GB, free: 6.258 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.116/1.118, allocations: 168.8 MB / 1.274 GB, free: 4.16 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.03104/1.149, allocations: 23.47 MB / 1.297 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03154/1.181, allocations: 18.14 MB / 1.315 GB, free: 10.41 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004938/1.186, allocations: 150.8 kB / 1.315 GB, free: 10.27 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.01184/1.198, allocations: 4.355 MB / 1.319 GB, free: 5.902 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0133/1.211, allocations: 3.592 MB / 1.323 GB, free: 2.305 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004652/1.216, allocations: 1.346 MB / 1.324 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.01136/1.227, allocations: 5.783 MB / 1.33 GB, free: 11.16 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004691/1.232, allocations: 2.464 MB / 1.332 GB, free: 8.621 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005736/1.237, allocations: 2.523 MB / 1.335 GB, free: 6.09 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006508/1.244, allocations: 2.514 MB / 1.337 GB, free: 3.566 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.001189/1.245, allocations: 368 kB / 1.338 GB, free: 3.207 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00307/1.248, allocations: 1.057 MB / 1.339 GB, free: 2.148 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.001473/1.25, allocations: 1.222 MB / 1.34 GB, free: 0.9219 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.003186/1.253, allocations: 1.998 MB / 1.342 GB, free: 14.91 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.008508/1.261, allocations: 5.191 MB / 1.347 GB, free: 9.703 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.363e-06/1.261, allocations: 0 / 1.347 GB, free: 9.703 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.775e-06/1.261, allocations: 3.938 kB / 1.347 GB, free: 9.699 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.000169/1.261, allocations: 0 / 1.347 GB, free: 9.699 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.01212/1.274, allocations: 4.647 MB / 1.351 GB, free: 4.953 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/1.274, allocations: 8.031 kB / 1.351 GB, free: 4.945 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0152/1.289, allocations: 3.287 MB / 1.355 GB, free: 1.652 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005405/1.294, allocations: 2.131 MB / 1.357 GB, free: 15.45 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004894/1.295, allocations: 466 kB / 1.357 GB, free: 14.93 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006718/1.295, allocations: 239.9 kB / 1.357 GB, free: 14.7 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01075/1.306, allocations: 4.81 MB / 1.362 GB, free: 9.738 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.404e-05/1.306, allocations: 3.938 kB / 1.362 GB, free: 9.734 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003042/1.306, allocations: 108 kB / 1.362 GB, free: 9.629 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002143/1.307, allocations: 172.8 kB / 1.362 GB, free: 9.457 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01284/1.32, allocations: 5.191 MB / 1.367 GB, free: 4.25 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02611/1.346, allocations: 14.37 MB / 1.381 GB, free: 4.707 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01003/1.356, allocations: 3.256 MB / 1.385 GB, free: 1.434 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003705/1.359, allocations: 1.373 MB / 1.386 GB, free: 64 kB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001741/1.36, allocations: 25.3 kB / 1.386 GB, free: 40 kB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004643/1.364, allocations: 1.788 MB / 1.388 GB, free: 14.18 MB / 1.092 GB Notification: Performance of pre-optimization done (n=163): time 5.691e-06/1.364, allocations: 0 / 1.388 GB, free: 14.18 MB / 1.092 GB Notification: Performance of matching and sorting (n=250): time 0.1254/1.49, allocations: 27.54 MB / 1.415 GB, free: 2.582 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003976/1.49, allocations: 0.4928 MB / 1.415 GB, free: 1.98 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0053/1.495, allocations: 2.296 MB / 1.417 GB, free: 15.67 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0005465/1.496, allocations: 77.7 kB / 1.417 GB, free: 15.59 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.001743/1.498, allocations: 1.456 MB / 1.419 GB, free: 14.12 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.00127/1.499, allocations: 0.8598 MB / 1.42 GB, free: 13.25 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001259/1.5, allocations: 420.5 kB / 1.42 GB, free: 12.84 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001514/1.5, allocations: 305.1 kB / 1.42 GB, free: 12.54 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005362/1.506, allocations: 1.929 MB / 1.422 GB, free: 10.6 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005597/1.511, allocations: 2.227 MB / 1.424 GB, free: 8.289 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0107/1.522, allocations: 4.161 MB / 1.428 GB, free: 3.992 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.297e-05/1.522, allocations: 0 / 1.428 GB, free: 3.992 MB / 1.123 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01954/1.541, allocations: 6.474 MB / 1.435 GB, free: 13.42 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001595/1.542, allocations: 148.5 kB / 1.435 GB, free: 13.25 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.272e-05/1.542, allocations: 4 kB / 1.435 GB, free: 13.24 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01088/1.553, allocations: 2.928 MB / 1.438 GB, free: 10.31 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003062/1.556, allocations: 487.2 kB / 1.438 GB, free: 9.836 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04437/1.6, allocations: 18.65 MB / 1.456 GB, free: 6.98 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005359/1.605, allocations: 319.6 kB / 1.457 GB, free: 6.668 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008504/1.606, allocations: 87.97 kB / 1.457 GB, free: 6.582 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.002626/1.609, allocations: 0.7102 MB / 1.458 GB, free: 5.859 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001352/1.61, allocations: 353.8 kB / 1.458 GB, free: 5.512 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001276/1.611, allocations: 384.1 kB / 1.458 GB, free: 5.129 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-05/1.611, allocations: 24 kB / 1.458 GB, free: 5.105 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.419e-05/1.612, allocations: 12 kB / 1.458 GB, free: 5.094 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.093e-05/1.612, allocations: 11.95 kB / 1.458 GB, free: 5.082 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007736/1.619, allocations: 3.596 MB / 1.462 GB, free: 1.438 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-05/1.619, allocations: 0 / 1.462 GB, free: 1.438 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002634/1.622, allocations: 423.3 kB / 1.462 GB, free: 1.023 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01089/1.633, allocations: 2.867 MB / 1.465 GB, free: 14.15 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007013/1.634, allocations: 47.97 kB / 1.465 GB, free: 14.1 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04453/1.678, allocations: 18.43 MB / 1.483 GB, free: 11.43 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/1.678, allocations: 0 / 1.483 GB, free: 11.43 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02006/1.698, allocations: 6.112 MB / 1.489 GB, free: 5.293 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002712/1.701, allocations: 0.6381 MB / 1.49 GB, free: 4.652 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001246/1.702, allocations: 55.92 kB / 1.49 GB, free: 4.598 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003923/1.706, allocations: 311.6 kB / 1.49 GB, free: 4.293 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001581/1.708, allocations: 366.5 kB / 1.49 GB, free: 3.934 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003409/1.708, allocations: 71.97 kB / 1.49 GB, free: 3.863 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.003832/1.712, allocations: 1.532 MB / 1.492 GB, free: 2.332 MB / 1.186 GB Notification: Performance of sort global known variables: time 3.11e-07/1.712, allocations: 7.875 kB / 1.492 GB, free: 2.324 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.004877/1.717, allocations: 1.044 MB / 1.493 GB, free: 1.281 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.000607/1.717, allocations: 166.3 kB / 1.493 GB, free: 1.109 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.02426/1.742, allocations: 6.312 MB / 1.499 GB, free: 10.71 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 1.869e-05/1.742, allocations: 4 kB / 1.499 GB, free: 10.7 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.01814/1.76, allocations: 3.927 MB / 1.503 GB, free: 6.742 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00792/1.768, allocations: 1.13 MB / 1.504 GB, free: 5.656 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02067/1.788, allocations: 6.841 MB / 1.511 GB, free: 14.79 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00383/1.792, allocations: 2.231 MB / 1.513 GB, free: 12.52 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.003584/1.796, allocations: 0.5058 MB / 1.514 GB, free: 12.01 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001241/1.797, allocations: 191.3 kB / 1.514 GB, free: 11.82 MB / 1.217 GB Notification: Performance of SimCode: time 1.723e-06/1.797, allocations: 0 / 1.514 GB, free: 11.82 MB / 1.217 GB Notification: Performance of Templates: time 0.1607/1.958, allocations: 78.32 MB / 1.59 GB, free: 14.36 MB / 1.295 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.326021173968911]