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.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.0009481/0.0009481, allocations: 82.64 kB / 20.68 MB, free: 3.812 MB / 18.57 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.0009076/0.0009076, allocations: 181 kB / 24.09 MB, free: 416 kB / 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 0.9065/0.9065, allocations: 177.1 MB / 204.5 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.713/1.713, allocations: 359 MB / 0.6055 GB, free: 10.86 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 0 / 0.7876 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.143e-05/1.289e-05, allocations: 2.312 kB / 0.7876 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.01014/0.01015, allocations: 15 MB / 0.8022 GB, free: 13.12 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.01131/0.02146, allocations: 12.54 MB / 0.8145 GB, free: 0.5977 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001162/0.02262, allocations: 178.6 kB / 0.8146 GB, free: 432 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.001115/0.02373, allocations: 0.7169 MB / 0.8153 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.00395/0.02768, allocations: 3.236 MB / 0.8185 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001561/0.02924, allocations: 1.306 MB / 0.8198 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.004614/0.03386, allocations: 5.982 MB / 0.8256 GB, free: 5.145 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002602/0.03646, allocations: 2.849 MB / 0.8284 GB, free: 2.219 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003365/0.03982, allocations: 3.692 MB / 0.832 GB, free: 14.52 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001922/0.04175, allocations: 2.03 MB / 0.834 GB, free: 12.48 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0005298/0.04228, allocations: 368 kB / 0.8343 GB, free: 12.12 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006212/0.0429, allocations: 431.9 kB / 0.8348 GB, free: 11.7 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.000672/0.04357, allocations: 1.297 MB / 0.836 GB, free: 10.4 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.001018/0.04459, allocations: 1.379 MB / 0.8374 GB, free: 9.02 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.002137/0.04672, allocations: 3.071 MB / 0.8404 GB, free: 5.938 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.04673, allocations: 0 / 0.8404 GB, free: 5.938 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.182e-06/0.04673, allocations: 0 / 0.8404 GB, free: 5.938 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 3.626e-05/0.04676, allocations: 0 / 0.8404 GB, free: 5.938 MB / 0.7917 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.004366/0.05113, allocations: 4.568 MB / 0.8448 GB, free: 1.266 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.05117, allocations: 15.97 kB / 0.8448 GB, free: 1.25 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005218/0.05639, allocations: 2.328 MB / 0.8471 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002301/0.05869, allocations: 2.106 MB / 0.8492 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002177/0.0589, allocations: 466.3 kB / 0.8496 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000288/0.05919, allocations: 256.3 kB / 0.8499 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003099/0.06229, allocations: 3.206 MB / 0.853 GB, free: 8.488 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.129e-05/0.06232, allocations: 7.938 kB / 0.853 GB, free: 8.48 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001941/0.06252, allocations: 108 kB / 0.8531 GB, free: 8.375 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001185/0.06264, allocations: 168.8 kB / 0.8533 GB, free: 8.207 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001434/0.06407, allocations: 1.197 MB / 0.8544 GB, free: 6.988 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007565/0.07163, allocations: 7.431 MB / 0.8617 GB, free: 15.43 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002475/0.07411, allocations: 1.762 MB / 0.8634 GB, free: 13.66 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004828/0.07459, allocations: 458.2 kB / 0.8638 GB, free: 13.21 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.267e-05/0.07469, allocations: 37.31 kB / 0.8639 GB, free: 13.17 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009867/0.07567, allocations: 1.584 MB / 0.8654 GB, free: 11.34 MB / 0.823 GB Notification: Performance of pre-optimization done (n=163): time 2.725e-06/0.07568, allocations: 4 kB / 0.8654 GB, free: 11.34 MB / 0.823 GB Notification: Performance of matching and sorting (n=250): time 0.01342/0.0891, allocations: 6.583 MB / 0.8719 GB, free: 4.738 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001701/0.08927, allocations: 0.4928 MB / 0.8723 GB, free: 4.133 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001576/0.09084, allocations: 1.822 MB / 0.8741 GB, free: 2.293 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001551/0.091, allocations: 77.7 kB / 0.8742 GB, free: 2.211 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000931/0.09193, allocations: 1.511 MB / 0.8757 GB, free: 0.6875 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007249/0.09266, allocations: 0.8791 MB / 0.8765 GB, free: 15.8 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006545/0.09331, allocations: 414.5 kB / 0.8769 GB, free: 15.39 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.735e-05/0.09341, allocations: 480.7 kB / 0.8774 GB, free: 14.91 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008668/0.09427, allocations: 0.6258 MB / 0.878 GB, free: 14.25 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001211/0.09549, allocations: 1.4 MB / 0.8794 GB, free: 12.61 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001932/0.09742, allocations: 1.558 MB / 0.8809 GB, free: 10.89 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.09742, allocations: 3.938 kB / 0.8809 GB, free: 10.89 MB / 0.8386 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.006469/0.1039, allocations: 3.409 MB / 0.8842 GB, free: 7.355 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 8.038e-05/0.104, allocations: 148.5 kB / 0.8844 GB, free: 7.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.447e-05/0.104, allocations: 7.969 kB / 0.8844 GB, free: 7.172 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00721/0.1112, allocations: 2.672 MB / 0.887 GB, free: 4.488 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001295/0.1125, allocations: 387.5 kB / 0.8873 GB, free: 4.109 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03257/0.1451, allocations: 10.75 MB / 0.8978 GB, free: 9.172 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001786/0.1468, allocations: 223.7 kB / 0.8981 GB, free: 8.953 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001819/0.147, allocations: 67.97 kB / 0.8981 GB, free: 8.887 MB / 0.8542 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.0006484/0.1477, allocations: 294.2 kB / 0.8984 GB, free: 8.586 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003841/0.1481, allocations: 398 kB / 0.8988 GB, free: 8.195 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002658/0.1483, allocations: 365.2 kB / 0.8991 GB, free: 7.828 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.113e-05/0.1483, allocations: 24 kB / 0.8991 GB, free: 7.805 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.59e-05/0.1484, allocations: 8 kB / 0.8992 GB, free: 7.797 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.117e-05/0.1484, allocations: 15.95 kB / 0.8992 GB, free: 7.781 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001775/0.1502, allocations: 1.709 MB / 0.9008 GB, free: 6.035 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/0.1502, allocations: 0 / 0.9008 GB, free: 6.035 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007092/0.1509, allocations: 299.6 kB / 0.9011 GB, free: 5.742 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005206/0.1561, allocations: 2.621 MB / 0.9037 GB, free: 3.113 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001119/0.1562, allocations: 51.97 kB / 0.9037 GB, free: 3.062 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01496/0.1711, allocations: 10.53 MB / 0.914 GB, free: 8.293 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1711, allocations: 0 / 0.914 GB, free: 8.293 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006048/0.1772, allocations: 3.041 MB / 0.917 GB, free: 5.211 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000972/0.1782, allocations: 0.5446 MB / 0.9175 GB, free: 4.664 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003047/0.1785, allocations: 44 kB / 0.9176 GB, free: 4.621 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001331/0.1798, allocations: 203.8 kB / 0.9178 GB, free: 4.422 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007465/0.1806, allocations: 362.5 kB / 0.9181 GB, free: 4.07 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001539/0.1807, allocations: 55.97 kB / 0.9182 GB, free: 4.016 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0009687/0.1817, allocations: 1.031 MB / 0.9192 GB, free: 2.977 MB / 0.8698 GB Notification: Performance of sort global known variables: time 9e-08/0.1817, allocations: 3.938 kB / 0.9192 GB, free: 2.973 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002245/0.1839, allocations: 1.035 MB / 0.9202 GB, free: 1.938 MB / 0.8698 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.0002544/0.1842, allocations: 167.1 kB / 0.9203 GB, free: 1.766 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.00869/0.1929, allocations: 3.905 MB / 0.9242 GB, free: 13.72 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/0.1929, allocations: 4 kB / 0.9242 GB, free: 13.72 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.007508/0.2004, allocations: 2.8 MB / 0.9269 GB, free: 10.88 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002599/0.203, allocations: 1.099 MB / 0.928 GB, free: 9.812 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007779/0.2108, allocations: 5.59 MB / 0.9334 GB, free: 4.164 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007183/0.2115, allocations: 0.7836 MB / 0.9342 GB, free: 3.355 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.00122/0.2127, allocations: 355.5 kB / 0.9345 GB, free: 3.004 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001614/0.2143, allocations: 0.9584 MB / 0.9355 GB, free: 2.043 MB / 0.8855 GB Notification: Performance of SimCode: time 1.843e-06/0.2143, allocations: 4 kB / 0.9355 GB, free: 2.039 MB / 0.8855 GB Notification: Performance of Templates: time 0.08217/0.2965, allocations: 78.24 MB / 1.012 GB, free: 5.168 MB / 0.9636 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.536647589877248]