Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.001005/0.001005, allocations: 87.58 kB / 20.45 MB, free: 4.113 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.0009208/0.0009208, 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 1.064/1.064, allocations: 177.2 MB / 204.2 MB, free: 5.637 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.984/1.984, allocations: 359 MB / 0.6052 GB, free: 10.98 MB / 0.573 GB " [Timeout remaining time 177] 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.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.[0-9,]+.|R2.v.[0-9,]+.|R3.v.[0-9,]+.|R1.i.[0-9,]+.|load_sc.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.[0-9,]+.|R2.v.[0-9,]+.|R3.v.[0-9,]+.|R1.i.[0-9,]+.|load_sc.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.105e-06/3.105e-06, allocations: 0 / 0.7871 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.441e-05/4.752e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01023/0.01028, allocations: 9.861 MB / 0.7967 GB, free: 2.594 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.009956/0.02024, allocations: 6.016 MB / 0.8026 GB, free: 12.59 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001818/0.02205, allocations: 91.19 kB / 0.8027 GB, free: 12.5 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.001467/0.02352, allocations: 374.7 kB / 0.803 GB, free: 12.14 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.004276/0.0278, allocations: 1.434 MB / 0.8044 GB, free: 10.71 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.001669/0.02947, allocations: 0.6563 MB / 0.8051 GB, free: 10.06 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.00393/0.0334, allocations: 2.605 MB / 0.8076 GB, free: 7.449 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002103/0.0355, allocations: 1.18 MB / 0.8088 GB, free: 6.242 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002733/0.03823, allocations: 1.584 MB / 0.8103 GB, free: 4.656 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001619/0.03985, allocations: 0.9973 MB / 0.8113 GB, free: 3.656 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.000276/0.04013, allocations: 160 kB / 0.8115 GB, free: 3.5 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007991/0.04093, allocations: 323.5 kB / 0.8118 GB, free: 3.184 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0005722/0.0415, allocations: 0.6543 MB / 0.8124 GB, free: 2.527 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0007802/0.04228, allocations: 0.6391 MB / 0.813 GB, free: 1.887 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.002117/0.0444, allocations: 1.538 MB / 0.8145 GB, free: 352 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 9.759e-06/0.04441, allocations: 0 / 0.8145 GB, free: 352 kB / 0.7605 GB Notification: Performance of FrontEnd: time 3.947e-06/0.04441, allocations: 0 / 0.8145 GB, free: 352 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.854e-05/0.04446, allocations: 0 / 0.8145 GB, free: 352 kB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.003573/0.04803, allocations: 2.151 MB / 0.8166 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 6.457e-05/0.0481, allocations: 8.031 kB / 0.8166 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005055/0.05315, allocations: 1.782 MB / 0.8184 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002067/0.05522, allocations: 1.206 MB / 0.8196 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.503e-05/0.05529, allocations: 94.73 kB / 0.8196 GB, free: 11 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002598/0.05555, allocations: 124.3 kB / 0.8198 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003074/0.05863, allocations: 1.956 MB / 0.8217 GB, free: 8.684 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.118e-05/0.05867, allocations: 3.938 kB / 0.8217 GB, free: 8.68 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001186/0.05879, allocations: 59.98 kB / 0.8217 GB, free: 8.621 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003747/0.05916, allocations: 174.1 kB / 0.8219 GB, free: 8.449 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001669/0.06083, allocations: 0.8407 MB / 0.8227 GB, free: 7.598 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009099/0.06993, allocations: 8.326 MB / 0.8308 GB, free: 15.06 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001755/0.07168, allocations: 0.8108 MB / 0.8316 GB, free: 14.25 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005464/0.07223, allocations: 360.6 kB / 0.832 GB, free: 13.89 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 6.823e-05/0.0723, allocations: 17 kB / 0.832 GB, free: 13.88 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.082e-05/0.07234, allocations: 50.33 kB / 0.832 GB, free: 13.82 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=89): time 5.43e-06/0.07235, allocations: 4 kB / 0.8321 GB, free: 13.81 MB / 0.7917 GB Notification: Performance of matching and sorting (n=131): time 0.01012/0.08247, allocations: 4.856 MB / 0.8368 GB, free: 8.906 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.497e-05/0.08252, allocations: 64.72 kB / 0.8369 GB, free: 8.828 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009379/0.08346, allocations: 0.9485 MB / 0.8378 GB, free: 7.867 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.000105/0.08357, allocations: 49.7 kB / 0.8378 GB, free: 7.812 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004288/0.08399, allocations: 0.7815 MB / 0.8386 GB, free: 7.023 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003615/0.08436, allocations: 483.9 kB / 0.8391 GB, free: 6.547 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003551/0.08471, allocations: 257.2 kB / 0.8393 GB, free: 6.289 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001731/0.08488, allocations: 0.5316 MB / 0.8398 GB, free: 5.75 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000627/0.08551, allocations: 427.8 kB / 0.8402 GB, free: 5.332 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007823/0.08629, allocations: 0.761 MB / 0.841 GB, free: 4.441 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001477/0.08777, allocations: 1.227 MB / 0.8422 GB, free: 3.086 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.431e-06/0.08778, allocations: 3.938 kB / 0.8422 GB, free: 3.082 MB / 0.7917 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.004902/0.09268, allocations: 2.325 MB / 0.8444 GB, free: 0.6914 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 3.571e-05/0.09271, allocations: 8 kB / 0.8444 GB, free: 0.6836 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.475e-05/0.09273, allocations: 11.92 kB / 0.8445 GB, free: 0.6719 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003695/0.09642, allocations: 1.292 MB / 0.8457 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009607/0.09738, allocations: 327.4 kB / 0.846 GB, free: 15 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01762/0.115, allocations: 26.41 MB / 0.8718 GB, free: 3.004 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001729/0.1167, allocations: 187.7 kB / 0.872 GB, free: 2.82 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001141/0.1169, allocations: 63.97 kB / 0.8721 GB, free: 2.758 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006257/0.1175, allocations: 236.3 kB / 0.8723 GB, free: 2.516 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002783/0.1178, allocations: 195 kB / 0.8725 GB, free: 2.324 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003839/0.1216, allocations: 2.204 MB / 0.8746 GB, free: 48 kB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-05/0.1216, allocations: 12 kB / 0.8746 GB, free: 36 kB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.107e-05/0.1216, allocations: 16 kB / 0.8747 GB, free: 20 kB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.239e-05/0.1216, allocations: 11.92 kB / 0.8747 GB, free: 8 kB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006389/0.128, allocations: 3.668 MB / 0.8783 GB, free: 12.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/0.128, allocations: 0 / 0.8783 GB, free: 12.2 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006964/0.1287, allocations: 271.5 kB / 0.8785 GB, free: 11.93 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00326/0.132, allocations: 1.225 MB / 0.8797 GB, free: 10.65 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001175/0.1321, allocations: 43.97 kB / 0.8797 GB, free: 10.61 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01679/0.1489, allocations: 25.59 MB / 0.9047 GB, free: 15.41 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.374e-06/0.1489, allocations: 4 kB / 0.9047 GB, free: 15.41 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00634/0.1553, allocations: 2.213 MB / 0.9069 GB, free: 13.07 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001261/0.1565, allocations: 354.8 kB / 0.9072 GB, free: 12.73 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002814/0.1568, allocations: 28 kB / 0.9073 GB, free: 12.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001365/0.1582, allocations: 191.7 kB / 0.9075 GB, free: 12.51 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006619/0.1588, allocations: 132.6 kB / 0.9076 GB, free: 12.38 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001501/0.159, allocations: 51.97 kB / 0.9076 GB, free: 12.33 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001054/0.16, allocations: 0.5841 MB / 0.9082 GB, free: 11.74 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.16, allocations: 0 / 0.9082 GB, free: 11.74 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002198/0.1622, allocations: 0.5664 MB / 0.9088 GB, free: 11.18 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003607/0.1626, allocations: 145.5 kB / 0.9089 GB, free: 11.03 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.004926/0.1675, allocations: 3.9 MB / 0.9127 GB, free: 6.898 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 8.335e-06/0.1675, allocations: 4 kB / 0.9127 GB, free: 6.895 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.003531/0.171, allocations: 3.256 MB / 0.9159 GB, free: 3.402 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001904/0.173, allocations: 0.524 MB / 0.9164 GB, free: 2.898 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005471/0.1784, allocations: 3.009 MB / 0.9193 GB, free: 15.81 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008157/0.1792, allocations: 463.1 kB / 0.9198 GB, free: 15.33 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001158/0.1804, allocations: 352.3 kB / 0.9201 GB, free: 14.98 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003019/0.1807, allocations: 100.4 kB / 0.9202 GB, free: 14.89 MB / 0.8855 GB Notification: Performance of SimCode: time 3.546e-06/0.1807, allocations: 0 / 0.9202 GB, free: 14.89 MB / 0.8855 GB Notification: Performance of Templates: time 0.05367/0.2344, allocations: 40.9 MB / 0.9601 GB, free: 6.699 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.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.7532753720879555]