Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001916/0.001916, allocations: 88.05 kB / 19.44 MB, free: 320 kB / 13.93 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.002092/0.002092, allocations: 173.3 kB / 22.77 MB, free: 1.641 MB / 18.57 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.666/1.666, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.479/3.479, allocations: 429.5 MB / 0.6729 GB, free: 4.012 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.8775 GB, free: 6.648 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.097e-05/3.258e-05, allocations: 2.312 kB / 0.8775 GB, free: 6.645 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.03306/0.0331, allocations: 22.68 MB / 0.8996 GB, free: 15.91 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.03285/0.06595, allocations: 17.78 MB / 0.917 GB, free: 14.09 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00424/0.07019, allocations: 174.6 kB / 0.9171 GB, free: 13.92 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.01305/0.08323, allocations: 4.283 MB / 0.9213 GB, free: 9.617 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.01423/0.09747, allocations: 3.709 MB / 0.925 GB, free: 5.898 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.004322/0.1018, allocations: 1.31 MB / 0.9262 GB, free: 4.586 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.01153/0.1133, allocations: 5.958 MB / 0.932 GB, free: 14.61 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006622/0.1199, allocations: 2.853 MB / 0.9348 GB, free: 11.67 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01057/0.1305, allocations: 3.703 MB / 0.9385 GB, free: 7.961 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005822/0.1363, allocations: 2.018 MB / 0.9404 GB, free: 5.938 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.001109/0.1374, allocations: 368 kB / 0.9408 GB, free: 5.578 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003223/0.1407, allocations: 0.9745 MB / 0.9417 GB, free: 4.602 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.001694/0.1424, allocations: 1.289 MB / 0.943 GB, free: 3.309 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.003086/0.1454, allocations: 1.376 MB / 0.9443 GB, free: 1.93 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.009291/0.1547, allocations: 5.23 MB / 0.9494 GB, free: 12.68 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 6.251e-06/0.1547, allocations: 0 / 0.9494 GB, free: 12.68 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.673e-06/0.1547, allocations: 4 kB / 0.9494 GB, free: 12.68 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0002019/0.1549, allocations: 0 / 0.9494 GB, free: 12.68 MB / 0.9167 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.01346/0.1684, allocations: 4.95 MB / 0.9543 GB, free: 7.625 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.121e-05/0.1685, allocations: 8.031 kB / 0.9543 GB, free: 7.617 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01478/0.1832, allocations: 3.073 MB / 0.9573 GB, free: 4.539 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007895/0.1911, allocations: 2.243 MB / 0.9595 GB, free: 2.215 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006393/0.1918, allocations: 466.3 kB / 0.9599 GB, free: 1.695 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008661/0.1926, allocations: 248.3 kB / 0.9602 GB, free: 1.453 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00928/0.2019, allocations: 3.858 MB / 0.9639 GB, free: 13.33 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.621e-05/0.202, allocations: 3.938 kB / 0.9639 GB, free: 13.32 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003324/0.2023, allocations: 99.98 kB / 0.964 GB, free: 13.23 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002788/0.2026, allocations: 176.8 kB / 0.9642 GB, free: 13.05 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008538/0.2111, allocations: 2.693 MB / 0.9668 GB, free: 10.34 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02227/0.2334, allocations: 9.005 MB / 0.9756 GB, free: 1.207 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008026/0.2414, allocations: 2.237 MB / 0.9778 GB, free: 14.95 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002642/0.2441, allocations: 0.8146 MB / 0.9786 GB, free: 14.14 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001732/0.2442, allocations: 33.3 kB / 0.9786 GB, free: 14.11 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004274/0.2485, allocations: 2.019 MB / 0.9806 GB, free: 11.84 MB / 0.948 GB Notification: Performance of pre-optimization done (n=163): time 5.781e-06/0.2485, allocations: 4 kB / 0.9806 GB, free: 11.84 MB / 0.948 GB Notification: Performance of matching and sorting (n=250): time 0.04032/0.2888, allocations: 9.346 MB / 0.9897 GB, free: 2.465 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003906/0.2892, allocations: 0.4928 MB / 0.9902 GB, free: 1.859 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005302/0.2945, allocations: 2.437 MB / 0.9926 GB, free: 15.41 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0005221/0.295, allocations: 77.7 kB / 0.9927 GB, free: 15.32 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.002136/0.2972, allocations: 1.629 MB / 0.9943 GB, free: 13.68 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.001501/0.2987, allocations: 0.9184 MB / 0.9951 GB, free: 12.76 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001554/0.3002, allocations: 482.7 kB / 0.9956 GB, free: 12.28 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0002676/0.3005, allocations: 480.7 kB / 0.9961 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004124/0.3046, allocations: 1.27 MB / 0.9973 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005065/0.3097, allocations: 2.111 MB / 0.9994 GB, free: 8.148 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008784/0.3185, allocations: 3.053 MB / 1.002 GB, free: 4.934 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.9e-05/0.3185, allocations: 4 kB / 1.002 GB, free: 4.93 MB / 0.9636 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01755/0.3361, allocations: 4.877 MB / 1.007 GB, free: 15.93 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003142/0.3364, allocations: 155.1 kB / 1.007 GB, free: 15.75 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.798e-05/0.3364, allocations: 12 kB / 1.007 GB, free: 15.74 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01468/0.3511, allocations: 2.988 MB / 1.01 GB, free: 12.74 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002638/0.3537, allocations: 391.4 kB / 1.011 GB, free: 12.36 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04241/0.3961, allocations: 13.56 MB / 1.024 GB, free: 14.57 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003958/0.4001, allocations: 207.8 kB / 1.024 GB, free: 14.37 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006099/0.4007, allocations: 91.97 kB / 1.024 GB, free: 14.28 MB / 0.9948 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.002127/0.4028, allocations: 470.2 kB / 1.025 GB, free: 13.81 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001437/0.4043, allocations: 398 kB / 1.025 GB, free: 13.42 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001195/0.4054, allocations: 357.2 kB / 1.025 GB, free: 13.06 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.492e-05/0.4055, allocations: 27.94 kB / 1.025 GB, free: 13.03 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.358e-05/0.4055, allocations: 12 kB / 1.025 GB, free: 13.02 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.47e-05/0.4056, allocations: 15.89 kB / 1.025 GB, free: 13.01 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006284/0.4119, allocations: 2.688 MB / 1.028 GB, free: 10.28 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.26e-05/0.4119, allocations: 4 kB / 1.028 GB, free: 10.27 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001942/0.4138, allocations: 303.5 kB / 1.028 GB, free: 9.977 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01465/0.4285, allocations: 2.938 MB / 1.031 GB, free: 7.027 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003952/0.4289, allocations: 55.95 kB / 1.031 GB, free: 6.973 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04215/0.471, allocations: 13.33 MB / 1.044 GB, free: 9.387 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.471, allocations: 4 kB / 1.044 GB, free: 9.383 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01897/0.49, allocations: 4.435 MB / 1.049 GB, free: 4.918 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002615/0.4926, allocations: 0.5836 MB / 1.049 GB, free: 4.332 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001091/0.4937, allocations: 47.98 kB / 1.049 GB, free: 4.285 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003249/0.4969, allocations: 207.8 kB / 1.049 GB, free: 4.082 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001657/0.4986, allocations: 386.4 kB / 1.05 GB, free: 3.703 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003492/0.4989, allocations: 71.97 kB / 1.05 GB, free: 3.633 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.003529/0.5025, allocations: 1.469 MB / 1.051 GB, free: 2.156 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5025, allocations: 0 / 1.051 GB, free: 2.156 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.004666/0.5071, allocations: 1.035 MB / 1.052 GB, free: 1.121 MB / 1.01 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.0005673/0.5077, allocations: 163.5 kB / 1.052 GB, free: 0.9492 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.4795/0.9872, allocations: 5.271 MB / 1.058 GB, free: 199.1 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.094e-05/0.9872, allocations: 2.875 kB / 1.058 GB, free: 199.1 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.01525/1.002, allocations: 3.516 MB / 1.061 GB, free: 198.6 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004724/1.007, allocations: 1.103 MB / 1.062 GB, free: 198.5 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01145/1.019, allocations: 6.045 MB / 1.068 GB, free: 196.4 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001673/1.02, allocations: 1.636 MB / 1.07 GB, free: 196.2 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.002228/1.023, allocations: 398.6 kB / 1.07 GB, free: 196.1 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006768/1.023, allocations: 179.7 kB / 1.07 GB, free: 196.1 MB / 1.01 GB Notification: Performance of SimCode: time 2.334e-06/1.023, allocations: 3.656 kB / 1.07 GB, free: 196.1 MB / 1.01 GB Notification: Performance of Templates: time 0.1133/1.137, allocations: 73.63 MB / 1.142 GB, free: 166.7 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.658619786030613]