Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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.001082/0.001082, allocations: 83.59 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.001164/0.001164, allocations: 165 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.9705/0.9705, allocations: 177.1 MB / 204.2 MB, free: 5.648 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.905/1.905, allocations: 377.8 MB / 0.6236 GB, free: 8.555 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.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_2.terminal_n.phase.[0-9,]+..i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_2.terminal_n.phase.[0-9,]+..i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0.5469 kB / 0.8115 GB, free: 0.6055 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.683e-05/2.841e-05, allocations: 2.312 kB / 0.8115 GB, free: 0.6016 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.006204/0.006232, allocations: 6.364 MB / 0.8178 GB, free: 10.23 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.00337/0.009602, allocations: 2.092 MB / 0.8198 GB, free: 8.141 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005089/0.01011, allocations: 52.16 kB / 0.8199 GB, free: 8.09 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0007343/0.01085, allocations: 259 kB / 0.8201 GB, free: 7.836 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0009962/0.01184, allocations: 0.6471 MB / 0.8207 GB, free: 7.191 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008689/0.01271, allocations: 0.5535 MB / 0.8213 GB, free: 6.641 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.002606/0.01532, allocations: 2.745 MB / 0.824 GB, free: 3.887 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001712/0.01703, allocations: 1.369 MB / 0.8253 GB, free: 2.48 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002238/0.01927, allocations: 1.575 MB / 0.8268 GB, free: 0.9023 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002132/0.0214, allocations: 1.412 MB / 0.8282 GB, free: 15.49 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0004884/0.02189, allocations: 216 kB / 0.8284 GB, free: 15.28 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007849/0.02267, allocations: 315.8 kB / 0.8287 GB, free: 14.97 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.001466/0.02414, allocations: 1.064 MB / 0.8298 GB, free: 13.91 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0009613/0.0251, allocations: 0.7212 MB / 0.8305 GB, free: 13.18 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001896/0.027, allocations: 1.924 MB / 0.8323 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.027, allocations: 0.5 kB / 0.8323 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.422e-06/0.027, allocations: 0 / 0.8323 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.949e-05/0.02704, allocations: 0.5312 kB / 0.8323 GB, free: 11.25 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.002506/0.02955, allocations: 2.064 MB / 0.8344 GB, free: 9.148 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.02959, allocations: 8.031 kB / 0.8344 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003321/0.03291, allocations: 1.162 MB / 0.8355 GB, free: 7.98 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001554/0.03447, allocations: 1.064 MB / 0.8365 GB, free: 6.891 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.586e-05/0.03453, allocations: 111.3 kB / 0.8366 GB, free: 6.781 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002011/0.03474, allocations: 148.3 kB / 0.8368 GB, free: 6.637 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002236/0.03697, allocations: 1.661 MB / 0.8384 GB, free: 4.828 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.178e-05/0.037, allocations: 12.11 kB / 0.8384 GB, free: 4.816 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001223/0.03713, allocations: 65.69 kB / 0.8385 GB, free: 4.754 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001602/0.03729, allocations: 182.9 kB / 0.8387 GB, free: 4.574 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001517/0.0388, allocations: 0.7168 MB / 0.8394 GB, free: 3.855 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008687/0.04749, allocations: 8.667 MB / 0.8478 GB, free: 10.93 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008627/0.04835, allocations: 480.7 kB / 0.8483 GB, free: 10.45 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004874/0.04884, allocations: 338.7 kB / 0.8486 GB, free: 10.12 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 5.833e-05/0.0489, allocations: 16.66 kB / 0.8486 GB, free: 10.1 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.02e-05/0.04893, allocations: 50.05 kB / 0.8487 GB, free: 10.04 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=82): time 3.878e-06/0.04893, allocations: 0 / 0.8487 GB, free: 10.04 MB / 0.7605 GB Notification: Performance of matching and sorting (n=139): time 0.01198/0.06092, allocations: 5.739 MB / 0.8543 GB, free: 4.281 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.589e-05/0.06096, allocations: 68.72 kB / 0.8543 GB, free: 4.199 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007588/0.06172, allocations: 0.7608 MB / 0.8551 GB, free: 3.418 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 9.128e-05/0.06181, allocations: 45.7 kB / 0.8551 GB, free: 3.367 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003845/0.0622, allocations: 0.8036 MB / 0.8559 GB, free: 2.551 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003389/0.06253, allocations: 0.5191 MB / 0.8564 GB, free: 2.027 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003709/0.06291, allocations: 285.2 kB / 0.8567 GB, free: 1.742 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002915/0.0632, allocations: 0.5316 MB / 0.8572 GB, free: 1.203 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006184/0.06382, allocations: 327.8 kB / 0.8575 GB, free: 0.8828 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008183/0.06463, allocations: 0.7947 MB / 0.8583 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00143/0.06606, allocations: 1.188 MB / 0.8595 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.614e-06/0.06607, allocations: 4 kB / 0.8595 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.005278/0.07135, allocations: 2.836 MB / 0.8622 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.801e-05/0.07139, allocations: 12.12 kB / 0.8622 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.292e-05/0.07141, allocations: 12 kB / 0.8622 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004952/0.07636, allocations: 1.864 MB / 0.8641 GB, free: 9.812 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000472/0.07683, allocations: 187.7 kB / 0.8642 GB, free: 9.629 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01544/0.09228, allocations: 14.81 MB / 0.8787 GB, free: 10.34 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009249/0.0932, allocations: 95.89 kB / 0.8788 GB, free: 10.24 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000107/0.09331, allocations: 56 kB / 0.8789 GB, free: 10.19 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,12,100.0%), (6,12,100.0%), (6,24,100.0%), (6,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004721/0.09378, allocations: 240.2 kB / 0.8791 GB, free: 9.941 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002109/0.09399, allocations: 167.2 kB / 0.8792 GB, free: 9.777 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005064/0.09906, allocations: 2.733 MB / 0.8819 GB, free: 7.008 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.201e-05/0.09907, allocations: 12 kB / 0.8819 GB, free: 6.996 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.711e-05/0.0991, allocations: 20 kB / 0.8819 GB, free: 6.977 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.386e-05/0.09912, allocations: 11.91 kB / 0.882 GB, free: 6.965 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007973/0.1071, allocations: 4.698 MB / 0.8865 GB, free: 2.141 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.267e-06/0.1071, allocations: 4 kB / 0.8866 GB, free: 2.137 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002873/0.1074, allocations: 119.8 kB / 0.8867 GB, free: 2.02 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00459/0.112, allocations: 1.772 MB / 0.8884 GB, free: 240 kB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.202e-05/0.1121, allocations: 28 kB / 0.8884 GB, free: 212 kB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01453/0.1266, allocations: 13.64 MB / 0.9017 GB, free: 2.078 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.1266, allocations: 4 kB / 0.9017 GB, free: 2.074 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005121/0.1317, allocations: 2.796 MB / 0.9045 GB, free: 15.18 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006661/0.1324, allocations: 375 kB / 0.9048 GB, free: 14.81 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001263/0.1325, allocations: 31.98 kB / 0.9049 GB, free: 14.78 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004732/0.133, allocations: 75.91 kB / 0.9049 GB, free: 14.7 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004137/0.1334, allocations: 132.9 kB / 0.9051 GB, free: 14.57 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.177e-05/0.1335, allocations: 36 kB / 0.9051 GB, free: 14.54 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0004511/0.1339, allocations: 474.9 kB / 0.9056 GB, free: 14.07 MB / 0.823 GB Notification: Performance of sort global known variables: time 8e-08/0.1339, allocations: 0 / 0.9056 GB, free: 14.07 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001913/0.1358, allocations: 0.7227 MB / 0.9063 GB, free: 13.35 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (62): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,12,100.0%), (6,24,100.0%), (6,6,100.0%), (10,14,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002067/0.136, allocations: 139 kB / 0.9064 GB, free: 13.2 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.003422/0.1395, allocations: 2.48 MB / 0.9088 GB, free: 10.65 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 5e-06/0.1395, allocations: 0.5 kB / 0.9088 GB, free: 10.65 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.002559/0.142, allocations: 2.019 MB / 0.9108 GB, free: 8.562 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008482/0.1429, allocations: 219.7 kB / 0.911 GB, free: 8.352 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004829/0.1477, allocations: 3.264 MB / 0.9142 GB, free: 5 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006532/0.1484, allocations: 0.5423 MB / 0.9147 GB, free: 4.43 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0005026/0.1489, allocations: 253.2 kB / 0.915 GB, free: 4.18 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000139/0.149, allocations: 56.48 kB / 0.915 GB, free: 4.125 MB / 0.823 GB Notification: Performance of SimCode: time 3.326e-06/0.149, allocations: 0 / 0.915 GB, free: 4.125 MB / 0.823 GB Notification: Performance of Templates: time 0.05189/0.2009, allocations: 42.82 MB / 0.9568 GB, free: 9.562 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.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: 5.788828880991787]