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.001447/0.001447, allocations: 93.06 kB / 19.65 MB, free: 280 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.001765/0.001765, allocations: 169.3 kB / 23.02 MB, free: 1.555 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.035/1.035, allocations: 177.1 MB / 203.4 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] 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 2.147/2.147, allocations: 429.5 MB / 0.6732 GB, free: 4.059 MB / 0.6355 GB " [Timeout remaining time 177] 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.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 0.8782 GB, free: 5.176 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.872e-05/3.019e-05, allocations: 5.547 kB / 0.8782 GB, free: 5.172 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.01371/0.01374, allocations: 15.37 MB / 0.8932 GB, free: 5.762 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.01837/0.03211, allocations: 12.77 MB / 0.9057 GB, free: 8.961 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0033/0.03541, allocations: 174.6 kB / 0.9058 GB, free: 8.789 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.002271/0.03768, allocations: 0.7286 MB / 0.9066 GB, free: 8.055 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.008386/0.04606, allocations: 3.232 MB / 0.9097 GB, free: 4.812 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003151/0.04922, allocations: 1.306 MB / 0.911 GB, free: 3.504 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.007867/0.05708, allocations: 5.974 MB / 0.9168 GB, free: 13.51 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004279/0.06136, allocations: 2.857 MB / 0.9196 GB, free: 10.57 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006516/0.06788, allocations: 3.676 MB / 0.9232 GB, free: 6.887 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003573/0.07145, allocations: 2.022 MB / 0.9252 GB, free: 4.859 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.001022/0.07247, allocations: 372 kB / 0.9255 GB, free: 4.496 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001159/0.07363, allocations: 435.9 kB / 0.926 GB, free: 4.07 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0009592/0.07459, allocations: 1.289 MB / 0.9272 GB, free: 2.777 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.001864/0.07646, allocations: 1.376 MB / 0.9286 GB, free: 1.398 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.00349/0.07995, allocations: 3.067 MB / 0.9315 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.07995, allocations: 0 / 0.9315 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.503e-06/0.07995, allocations: 0 / 0.9315 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0001182/0.08007, allocations: 4 kB / 0.9316 GB, free: 14.32 MB / 0.8542 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.006483/0.08655, allocations: 4.615 MB / 0.9361 GB, free: 9.598 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.191e-05/0.0866, allocations: 12.03 kB / 0.9361 GB, free: 9.586 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007253/0.09386, allocations: 3.065 MB / 0.9391 GB, free: 6.516 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003681/0.09754, allocations: 2.204 MB / 0.9412 GB, free: 4.234 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000284/0.09782, allocations: 470.3 kB / 0.9417 GB, free: 3.711 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003896/0.09821, allocations: 240.4 kB / 0.9419 GB, free: 3.477 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00501/0.1032, allocations: 3.507 MB / 0.9453 GB, free: 15.7 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.817e-05/0.1033, allocations: 4 kB / 0.9453 GB, free: 15.7 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002378/0.1035, allocations: 104 kB / 0.9454 GB, free: 15.59 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001467/0.1036, allocations: 180.7 kB / 0.9456 GB, free: 15.41 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002708/0.1064, allocations: 1.551 MB / 0.9471 GB, free: 13.84 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01071/0.1171, allocations: 7.934 MB / 0.9549 GB, free: 5.777 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00329/0.1204, allocations: 1.924 MB / 0.9567 GB, free: 3.84 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007707/0.1211, allocations: 0.5414 MB / 0.9573 GB, free: 3.301 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000109/0.1212, allocations: 33.31 kB / 0.9573 GB, free: 3.27 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0014/0.1226, allocations: 1.668 MB / 0.9589 GB, free: 1.352 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=163): time 3.216e-06/0.1226, allocations: 0 / 0.9589 GB, free: 1.352 MB / 0.8698 GB Notification: Performance of matching and sorting (n=250): time 0.01635/0.139, allocations: 7.525 MB / 0.9663 GB, free: 9.805 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000175/0.1392, allocations: 496.7 kB / 0.9667 GB, free: 9.211 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001923/0.1411, allocations: 1.878 MB / 0.9686 GB, free: 7.316 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002326/0.1413, allocations: 81.7 kB / 0.9687 GB, free: 7.23 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001122/0.1424, allocations: 1.523 MB / 0.9701 GB, free: 5.695 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006006/0.143, allocations: 0.856 MB / 0.971 GB, free: 4.832 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000601/0.1436, allocations: 410.6 kB / 0.9714 GB, free: 4.422 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.1438, allocations: 480.7 kB / 0.9718 GB, free: 3.949 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00116/0.1449, allocations: 0.7781 MB / 0.9726 GB, free: 3.137 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001456/0.1464, allocations: 1.567 MB / 0.9741 GB, free: 1.332 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002292/0.1487, allocations: 1.824 MB / 0.9759 GB, free: 15.35 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.085e-06/0.1487, allocations: 4 kB / 0.9759 GB, free: 15.34 MB / 0.9011 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.006869/0.1555, allocations: 3.761 MB / 0.9796 GB, free: 11.46 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 8.277e-05/0.1556, allocations: 154.5 kB / 0.9797 GB, free: 11.28 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.545e-05/0.1556, allocations: 8 kB / 0.9797 GB, free: 11.27 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006888/0.1625, allocations: 2.727 MB / 0.9824 GB, free: 8.527 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001324/0.1639, allocations: 387.4 kB / 0.9828 GB, free: 8.148 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0185/0.1823, allocations: 11.36 MB / 0.9939 GB, free: 12.58 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001986/0.1843, allocations: 211.8 kB / 0.9941 GB, free: 12.38 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002214/0.1846, allocations: 87.97 kB / 0.9941 GB, free: 12.29 MB / 0.9167 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.0008201/0.1854, allocations: 286.3 kB / 0.9944 GB, free: 12 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005322/0.1859, allocations: 398.1 kB / 0.9948 GB, free: 11.61 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003503/0.1863, allocations: 357.2 kB / 0.9951 GB, free: 11.25 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.381e-05/0.1863, allocations: 27.94 kB / 0.9952 GB, free: 11.22 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.969e-05/0.1863, allocations: 16 kB / 0.9952 GB, free: 11.2 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.347e-05/0.1863, allocations: 11.95 kB / 0.9952 GB, free: 11.19 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002514/0.1888, allocations: 2.098 MB / 0.9972 GB, free: 9.051 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.438e-06/0.1888, allocations: 0 / 0.9972 GB, free: 9.051 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009167/0.1898, allocations: 303.5 kB / 0.9975 GB, free: 8.754 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006765/0.1965, allocations: 2.668 MB / 1 GB, free: 6.074 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001987/0.1967, allocations: 51.97 kB / 1 GB, free: 6.023 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01815/0.2149, allocations: 11.12 MB / 1.011 GB, free: 10.65 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.2149, allocations: 0 / 1.011 GB, free: 10.65 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006775/0.2217, allocations: 3.358 MB / 1.014 GB, free: 7.254 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001141/0.2228, allocations: 0.5913 MB / 1.015 GB, free: 6.66 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003352/0.2231, allocations: 44 kB / 1.015 GB, free: 6.617 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001211/0.2243, allocations: 199.8 kB / 1.015 GB, free: 6.422 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008198/0.2252, allocations: 366.5 kB / 1.015 GB, free: 6.062 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001488/0.2253, allocations: 67.97 kB / 1.016 GB, free: 5.996 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001222/0.2265, allocations: 1.125 MB / 1.017 GB, free: 4.863 MB / 0.9323 GB Notification: Performance of sort global known variables: time 2.2e-07/0.2265, allocations: 4 kB / 1.017 GB, free: 4.859 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.002283/0.2288, allocations: 1.031 MB / 1.018 GB, free: 3.828 MB / 0.9323 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.0003341/0.2291, allocations: 171 kB / 1.018 GB, free: 3.652 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.39/0.6191, allocations: 4.177 MB / 1.022 GB, free: 114 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.013e-05/0.6191, allocations: 1.656 kB / 1.022 GB, free: 114 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.008809/0.628, allocations: 2.941 MB / 1.025 GB, free: 113.5 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003964/0.6319, allocations: 1.101 MB / 1.026 GB, free: 113.4 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009855/0.6418, allocations: 5.651 MB / 1.031 GB, free: 111.3 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009727/0.6427, allocations: 0.7852 MB / 1.032 GB, free: 111.1 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001958/0.6447, allocations: 408.5 kB / 1.033 GB, free: 111.1 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005641/0.6453, allocations: 177.9 kB / 1.033 GB, free: 111.1 MB / 0.9323 GB Notification: Performance of SimCode: time 1.994e-06/0.6453, allocations: 0 / 1.033 GB, free: 111.1 MB / 0.9323 GB Notification: Performance of Templates: time 0.08243/0.7277, allocations: 73.67 MB / 1.105 GB, free: 73.97 MB / 0.9323 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.817260120995343]