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.001019/0.001019, allocations: 80.39 kB / 21.47 MB, free: 3.023 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.001041/0.001041, allocations: 167.8 kB / 24.87 MB, free: 9.277 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 0.9434/0.9434, allocations: 177.1 MB / 205.3 MB, free: 5.066 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.931/1.931, allocations: 377.9 MB / 0.6247 GB, free: 8.43 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0.6562 kB / 0.8128 GB, free: 1.457 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.94e-05/2.081e-05, allocations: 2.312 kB / 0.8128 GB, free: 1.453 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.01302/0.01304, allocations: 14.99 MB / 0.8274 GB, free: 2.422 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.03286/0.0459, allocations: 12.53 MB / 0.8397 GB, free: 5.902 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006198/0.0521, allocations: 178.6 kB / 0.8398 GB, free: 5.727 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.005508/0.05761, allocations: 0.7286 MB / 0.8406 GB, free: 4.992 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.0145/0.0721, allocations: 3.235 MB / 0.8437 GB, free: 1.746 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.003219/0.07532, allocations: 1.306 MB / 0.845 GB, free: 448 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.006441/0.08176, allocations: 5.981 MB / 0.8508 GB, free: 10.44 MB / 0.8074 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003685/0.08545, allocations: 2.857 MB / 0.8536 GB, free: 7.504 MB / 0.8074 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005447/0.0909, allocations: 3.68 MB / 0.8572 GB, free: 3.816 MB / 0.8074 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002236/0.09313, allocations: 2.033 MB / 0.8592 GB, free: 1.777 MB / 0.8074 GB Notification: Performance of NFPackage.collectConstants: time 0.0003787/0.09351, allocations: 372 kB / 0.8596 GB, free: 1.414 MB / 0.8074 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007137/0.09422, allocations: 443.8 kB / 0.86 GB, free: 0.9805 MB / 0.8074 GB Notification: Performance of NFScalarize.scalarize: time 0.0007908/0.09501, allocations: 1.281 MB / 0.8612 GB, free: 15.7 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.001189/0.0962, allocations: 1.379 MB / 0.8626 GB, free: 14.31 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.002936/0.09914, allocations: 3.067 MB / 0.8656 GB, free: 11.23 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.09914, allocations: 0 / 0.8656 GB, free: 11.23 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.042e-06/0.09915, allocations: 0 / 0.8656 GB, free: 11.23 MB / 0.823 GB Notification: Performance of Transformations before backend: time 4.475e-05/0.09919, allocations: 0 / 0.8656 GB, free: 11.23 MB / 0.823 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.004895/0.1041, allocations: 4.568 MB / 0.87 GB, free: 6.562 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.1041, allocations: 8.031 kB / 0.87 GB, free: 6.555 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005832/0.1099, allocations: 2.328 MB / 0.8723 GB, free: 4.223 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002314/0.1123, allocations: 2.11 MB / 0.8744 GB, free: 2.035 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002366/0.1125, allocations: 466.3 kB / 0.8748 GB, free: 1.516 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003226/0.1128, allocations: 248.3 kB / 0.8751 GB, free: 1.273 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003486/0.1163, allocations: 3.21 MB / 0.8782 GB, free: 13.79 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.489e-05/0.1163, allocations: 0 / 0.8782 GB, free: 13.79 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002119/0.1166, allocations: 104 kB / 0.8783 GB, free: 13.69 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000134/0.1167, allocations: 172.8 kB / 0.8785 GB, free: 13.52 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001555/0.1182, allocations: 1.204 MB / 0.8796 GB, free: 12.29 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008789/0.127, allocations: 7.431 MB / 0.8869 GB, free: 4.738 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002853/0.1299, allocations: 1.76 MB / 0.8886 GB, free: 2.965 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007039/0.1306, allocations: 450.3 kB / 0.889 GB, free: 2.527 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 9.386e-05/0.1307, allocations: 33.3 kB / 0.8891 GB, free: 2.496 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001119/0.1318, allocations: 1.576 MB / 0.8906 GB, free: 0.6758 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=163): time 3.707e-06/0.1318, allocations: 4 kB / 0.8906 GB, free: 0.6719 MB / 0.8386 GB Notification: Performance of matching and sorting (n=250): time 0.01389/0.1457, allocations: 6.589 MB / 0.897 GB, free: 10.05 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001545/0.1459, allocations: 0.4889 MB / 0.8975 GB, free: 9.453 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001382/0.1472, allocations: 1.83 MB / 0.8993 GB, free: 7.605 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.000166/0.1474, allocations: 73.7 kB / 0.8994 GB, free: 7.527 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008676/0.1483, allocations: 1.515 MB / 0.9009 GB, free: 6 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005431/0.1488, allocations: 0.8713 MB / 0.9017 GB, free: 5.121 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005523/0.1494, allocations: 414.5 kB / 0.9021 GB, free: 4.707 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.1495, allocations: 484.7 kB / 0.9026 GB, free: 4.23 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008719/0.1503, allocations: 0.6219 MB / 0.9032 GB, free: 3.574 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001032/0.1514, allocations: 1.404 MB / 0.9045 GB, free: 1.93 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001619/0.153, allocations: 1.566 MB / 0.9061 GB, free: 208 kB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/0.153, allocations: 0 / 0.9061 GB, free: 208 kB / 0.8542 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.005773/0.1588, allocations: 3.409 MB / 0.9094 GB, free: 12.67 MB / 0.8699 GB Notification: Performance of prepare postOptimizeDAE: time 7.193e-05/0.1588, allocations: 149.8 kB / 0.9095 GB, free: 12.5 MB / 0.8699 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.515e-05/0.1589, allocations: 7.938 kB / 0.9096 GB, free: 12.49 MB / 0.8699 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006383/0.1652, allocations: 2.676 MB / 0.9122 GB, free: 9.801 MB / 0.8699 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001174/0.1664, allocations: 383.5 kB / 0.9125 GB, free: 9.426 MB / 0.8699 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01577/0.1822, allocations: 10.74 MB / 0.923 GB, free: 14.49 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001891/0.1841, allocations: 215.7 kB / 0.9232 GB, free: 14.28 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001617/0.1842, allocations: 71.97 kB / 0.9233 GB, free: 14.21 MB / 0.8855 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.0009507/0.1852, allocations: 290.3 kB / 0.9236 GB, free: 13.91 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004759/0.1857, allocations: 390.1 kB / 0.9239 GB, free: 13.53 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003311/0.186, allocations: 365.2 kB / 0.9243 GB, free: 13.16 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.278e-05/0.186, allocations: 24 kB / 0.9243 GB, free: 13.14 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.415e-05/0.186, allocations: 12 kB / 0.9243 GB, free: 13.13 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.32e-05/0.1861, allocations: 11.95 kB / 0.9243 GB, free: 13.12 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002052/0.1881, allocations: 1.713 MB / 0.926 GB, free: 11.37 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.1881, allocations: 0 / 0.926 GB, free: 11.37 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008583/0.189, allocations: 303.6 kB / 0.9263 GB, free: 11.07 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006066/0.195, allocations: 2.625 MB / 0.9289 GB, free: 8.434 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000218/0.1953, allocations: 51.97 kB / 0.9289 GB, free: 8.383 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01611/0.2114, allocations: 10.52 MB / 0.9392 GB, free: 13.63 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.2114, allocations: 3.938 kB / 0.9392 GB, free: 13.63 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0058/0.2172, allocations: 3.041 MB / 0.9422 GB, free: 10.55 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001149/0.2183, allocations: 0.5368 MB / 0.9427 GB, free: 10.01 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002985/0.2186, allocations: 44 kB / 0.9427 GB, free: 9.965 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001175/0.2198, allocations: 203.8 kB / 0.9429 GB, free: 9.766 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008447/0.2206, allocations: 362.5 kB / 0.9433 GB, free: 9.414 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001264/0.2208, allocations: 51.97 kB / 0.9433 GB, free: 9.363 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0008809/0.2216, allocations: 1.035 MB / 0.9443 GB, free: 8.32 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2.1e-07/0.2216, allocations: 0 / 0.9443 GB, free: 8.32 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.002441/0.2241, allocations: 1.039 MB / 0.9453 GB, free: 7.281 MB / 0.9011 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.0002855/0.2244, allocations: 168.6 kB / 0.9455 GB, free: 7.105 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.008128/0.2325, allocations: 3.898 MB / 0.9493 GB, free: 3.07 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 5.65e-06/0.2325, allocations: 0 / 0.9493 GB, free: 3.07 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.00705/0.2396, allocations: 2.816 MB / 0.9521 GB, free: 220 kB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002784/0.2423, allocations: 1.097 MB / 0.9531 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007302/0.2496, allocations: 5.591 MB / 0.9586 GB, free: 9.512 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000858/0.2505, allocations: 0.7836 MB / 0.9594 GB, free: 8.703 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.001291/0.2518, allocations: 351.5 kB / 0.9597 GB, free: 8.355 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001695/0.2535, allocations: 0.9584 MB / 0.9606 GB, free: 7.395 MB / 0.9167 GB Notification: Performance of SimCode: time 1.963e-06/0.2535, allocations: 0 / 0.9606 GB, free: 7.395 MB / 0.9167 GB Notification: Performance of Templates: time 0.08632/0.3398, allocations: 79.66 MB / 1.038 GB, free: 9.02 MB / 0.9949 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) [Timeout 240] 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","",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.452034871093929]