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.0009266/0.0009266, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.0009398/0.0009398, allocations: 161 kB / 23.82 MB, free: 0.7461 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.9692/0.9692, allocations: 177.1 MB / 204.2 MB, free: 5.645 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.863/1.863, allocations: 377.8 MB / 0.6236 GB, free: 8.543 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.874e-06/1.874e-06, allocations: 0 / 0.8116 GB, free: 1.719 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.454e-05/2.641e-05, allocations: 3.375 kB / 0.8116 GB, free: 1.715 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.01234/0.01237, allocations: 15.38 MB / 0.8266 GB, free: 2.293 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.01553/0.0279, allocations: 12.76 MB / 0.839 GB, free: 5.539 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001993/0.02989, allocations: 174.6 kB / 0.8392 GB, free: 5.367 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.001591/0.03149, allocations: 0.7247 MB / 0.8399 GB, free: 4.637 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.005569/0.03705, allocations: 3.229 MB / 0.8431 GB, free: 1.398 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.002127/0.03918, allocations: 1.31 MB / 0.8443 GB, free: 88 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.005086/0.04427, allocations: 5.997 MB / 0.8502 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002528/0.0468, allocations: 2.853 MB / 0.853 GB, free: 7.141 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003554/0.05035, allocations: 3.672 MB / 0.8566 GB, free: 3.461 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002071/0.05242, allocations: 2.026 MB / 0.8585 GB, free: 1.43 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.0003986/0.05282, allocations: 364 kB / 0.8589 GB, free: 1.074 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007212/0.05354, allocations: 447.7 kB / 0.8593 GB, free: 0.6367 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0008677/0.05441, allocations: 1.281 MB / 0.8606 GB, free: 15.35 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.001107/0.05552, allocations: 1.379 MB / 0.8619 GB, free: 13.96 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.00234/0.05786, allocations: 3.064 MB / 0.8649 GB, free: 10.89 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.05786, allocations: 4 kB / 0.8649 GB, free: 10.89 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.764e-06/0.05786, allocations: 0 / 0.8649 GB, free: 10.89 MB / 0.823 GB Notification: Performance of Transformations before backend: time 2.568e-05/0.05789, allocations: 0 / 0.8649 GB, free: 10.89 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.004751/0.06264, allocations: 4.611 MB / 0.8694 GB, free: 6.172 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.06268, allocations: 12.03 kB / 0.8694 GB, free: 6.16 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006522/0.0692, allocations: 3.069 MB / 0.8724 GB, free: 3.086 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002649/0.07185, allocations: 2.196 MB / 0.8746 GB, free: 0.8125 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000247/0.0721, allocations: 470.3 kB / 0.875 GB, free: 296 kB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003036/0.0724, allocations: 244.4 kB / 0.8753 GB, free: 52 kB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004/0.0764, allocations: 3.511 MB / 0.8787 GB, free: 12.27 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.202e-05/0.07643, allocations: 0 / 0.8787 GB, free: 12.27 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002094/0.07664, allocations: 99.98 kB / 0.8788 GB, free: 12.17 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001287/0.07677, allocations: 172.8 kB / 0.8789 GB, free: 12 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002397/0.07917, allocations: 1.551 MB / 0.8805 GB, free: 10.43 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008677/0.08784, allocations: 7.952 MB / 0.8882 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002996/0.09084, allocations: 1.917 MB / 0.8901 GB, free: 428 kB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007387/0.09158, allocations: 0.5375 MB / 0.8906 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001054/0.09168, allocations: 37.3 kB / 0.8907 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001266/0.09295, allocations: 1.666 MB / 0.8923 GB, free: 13.93 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=163): time 3.356e-06/0.09295, allocations: 0 / 0.8923 GB, free: 13.93 MB / 0.8542 GB Notification: Performance of matching and sorting (n=250): time 0.0141/0.1071, allocations: 7.531 MB / 0.8996 GB, free: 6.375 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001616/0.1072, allocations: 0.4889 MB / 0.9001 GB, free: 5.773 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0015/0.1087, allocations: 1.878 MB / 0.9019 GB, free: 3.879 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001422/0.1089, allocations: 77.7 kB / 0.902 GB, free: 3.797 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008635/0.1097, allocations: 1.519 MB / 0.9035 GB, free: 2.266 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004847/0.1102, allocations: 0.8559 MB / 0.9043 GB, free: 1.402 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005281/0.1107, allocations: 406.7 kB / 0.9047 GB, free: 0.9961 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.518e-05/0.1108, allocations: 488.7 kB / 0.9052 GB, free: 0.5156 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001049/0.1119, allocations: 0.7859 MB / 0.906 GB, free: 15.69 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001351/0.1132, allocations: 1.563 MB / 0.9075 GB, free: 13.89 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002192/0.1154, allocations: 1.828 MB / 0.9093 GB, free: 11.9 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.1154, allocations: 0 / 0.9093 GB, free: 11.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.005884/0.1213, allocations: 3.764 MB / 0.9129 GB, free: 8.016 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 6.995e-05/0.1214, allocations: 152.4 kB / 0.9131 GB, free: 7.836 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/0.1214, allocations: 4 kB / 0.9131 GB, free: 7.832 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008075/0.1295, allocations: 2.723 MB / 0.9158 GB, free: 5.098 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001457/0.1309, allocations: 391.4 kB / 0.9161 GB, free: 4.715 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0215/0.1524, allocations: 11.35 MB / 0.9272 GB, free: 9.16 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001974/0.1544, allocations: 211.8 kB / 0.9274 GB, free: 8.953 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002087/0.1546, allocations: 87.97 kB / 0.9275 GB, free: 8.867 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.0007897/0.1554, allocations: 298.2 kB / 0.9278 GB, free: 8.562 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000514/0.1559, allocations: 394.1 kB / 0.9282 GB, free: 8.176 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003922/0.1563, allocations: 361.2 kB / 0.9285 GB, free: 7.812 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.654e-05/0.1563, allocations: 27.94 kB / 0.9285 GB, free: 7.785 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-05/0.1564, allocations: 12 kB / 0.9285 GB, free: 7.773 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.686e-05/0.1564, allocations: 11.95 kB / 0.9286 GB, free: 7.762 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002755/0.1591, allocations: 2.086 MB / 0.9306 GB, free: 5.629 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/0.1591, allocations: 0 / 0.9306 GB, free: 5.629 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001113/0.1603, allocations: 311.5 kB / 0.9309 GB, free: 5.324 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007998/0.1682, allocations: 2.664 MB / 0.9335 GB, free: 2.648 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001742/0.1684, allocations: 55.95 kB / 0.9335 GB, free: 2.594 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02173/0.1901, allocations: 11.12 MB / 0.9444 GB, free: 7.223 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.1902, allocations: 0 / 0.9444 GB, free: 7.223 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009164/0.1993, allocations: 3.358 MB / 0.9477 GB, free: 3.824 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001293/0.2006, allocations: 0.5797 MB / 0.9483 GB, free: 3.242 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003864/0.201, allocations: 47.98 kB / 0.9483 GB, free: 3.195 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001154/0.2021, allocations: 207.8 kB / 0.9485 GB, free: 2.992 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006051/0.2028, allocations: 358.5 kB / 0.9488 GB, free: 2.645 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001378/0.2029, allocations: 71.97 kB / 0.9489 GB, free: 2.574 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.001105/0.204, allocations: 1.129 MB / 0.95 GB, free: 1.438 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2e-07/0.204, allocations: 0 / 0.95 GB, free: 1.438 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.001903/0.2059, allocations: 1.035 MB / 0.951 GB, free: 412 kB / 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.0002494/0.2061, allocations: 159 kB / 0.9512 GB, free: 240 kB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.008329/0.2145, allocations: 4.196 MB / 0.9553 GB, free: 11.9 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.2145, allocations: 0 / 0.9553 GB, free: 11.9 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.006688/0.2212, allocations: 2.94 MB / 0.9581 GB, free: 8.922 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002205/0.2234, allocations: 1.099 MB / 0.9592 GB, free: 7.863 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007026/0.2304, allocations: 5.647 MB / 0.9647 GB, free: 2.152 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006493/0.2311, allocations: 0.7875 MB / 0.9655 GB, free: 1.34 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0009427/0.232, allocations: 403.4 kB / 0.9659 GB, free: 0.9414 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004664/0.2325, allocations: 180.4 kB / 0.9661 GB, free: 0.7656 MB / 0.9167 GB Notification: Performance of SimCode: time 8.82e-07/0.2325, allocations: 0 / 0.9661 GB, free: 0.7656 MB / 0.9167 GB Notification: Performance of Templates: time 0.08131/0.3138, allocations: 73.69 MB / 1.038 GB, free: 8.332 MB / 0.9948 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.3216789360158145]