Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.001706/0.001706, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001962/0.001962, allocations: 161 kB / 23.82 MB, free: 0.7539 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.9994/0.9994, allocations: 177.1 MB / 204.2 MB, free: 5.633 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.976/1.976, allocations: 359 MB / 0.6052 GB, free: 11.03 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.ACLineMedium,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.ACLineMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,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.ACLineMedium") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.875e-06/2.875e-06, allocations: 0 / 0.7871 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.36e-05/4.648e-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.ACLineMedium): time 0.01305/0.01309, allocations: 10.58 MB / 0.7974 GB, free: 1.871 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.009693/0.02278, allocations: 6.933 MB / 0.8042 GB, free: 10.96 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001104/0.02389, allocations: 87.19 kB / 0.8043 GB, free: 10.87 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.001106/0.025, allocations: 396.9 kB / 0.8047 GB, free: 10.48 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.003572/0.02857, allocations: 1.702 MB / 0.8063 GB, free: 8.781 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.00127/0.02984, allocations: 0.6511 MB / 0.807 GB, free: 8.129 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.002792/0.03263, allocations: 2.85 MB / 0.8097 GB, free: 5.27 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001316/0.03394, allocations: 1.196 MB / 0.8109 GB, free: 4.047 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002046/0.03599, allocations: 2.106 MB / 0.813 GB, free: 1.938 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001077/0.03707, allocations: 0.97 MB / 0.8139 GB, free: 0.9648 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.000203/0.03727, allocations: 159.9 kB / 0.8141 GB, free: 0.8086 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005835/0.03785, allocations: 311.6 kB / 0.8144 GB, free: 0.5039 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0004525/0.03831, allocations: 0.6387 MB / 0.815 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0005669/0.03887, allocations: 0.6429 MB / 0.8156 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.001468/0.04034, allocations: 1.545 MB / 0.8171 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.04035, allocations: 0 / 0.8171 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.855e-06/0.04035, allocations: 4 kB / 0.8171 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 2.966e-05/0.04038, allocations: 0 / 0.8171 GB, free: 13.66 MB / 0.7761 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.00243/0.04281, allocations: 2.182 MB / 0.8193 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/0.04286, allocations: 8.031 kB / 0.8193 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004787/0.04765, allocations: 1.797 MB / 0.821 GB, free: 9.629 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001586/0.04923, allocations: 1.238 MB / 0.8222 GB, free: 8.336 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.265e-05/0.04929, allocations: 82.69 kB / 0.8223 GB, free: 8.254 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001863/0.04947, allocations: 120.4 kB / 0.8224 GB, free: 8.137 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002444/0.05192, allocations: 1.947 MB / 0.8243 GB, free: 5.953 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.35e-05/0.05195, allocations: 19.83 kB / 0.8243 GB, free: 5.934 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000112/0.05206, allocations: 51.98 kB / 0.8244 GB, free: 5.883 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003607/0.05242, allocations: 194.1 kB / 0.8246 GB, free: 5.691 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001397/0.05382, allocations: 0.8486 MB / 0.8254 GB, free: 4.832 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00763/0.06145, allocations: 8.351 MB / 0.8336 GB, free: 12.27 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00143/0.06288, allocations: 0.8375 MB / 0.8344 GB, free: 11.42 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005172/0.0634, allocations: 381.3 kB / 0.8347 GB, free: 11.05 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 6.059e-05/0.06346, allocations: 13 kB / 0.8348 GB, free: 11.04 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.836e-05/0.0635, allocations: 46.39 kB / 0.8348 GB, free: 10.98 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=89): time 5.36e-06/0.0635, allocations: 4 kB / 0.8348 GB, free: 10.98 MB / 0.7917 GB Notification: Performance of matching and sorting (n=153): time 0.01136/0.07486, allocations: 5.894 MB / 0.8406 GB, free: 5.043 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.827e-05/0.07491, allocations: 64.72 kB / 0.8406 GB, free: 4.969 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009181/0.07583, allocations: 1.016 MB / 0.8416 GB, free: 3.945 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 9.754e-05/0.07592, allocations: 53.7 kB / 0.8417 GB, free: 3.887 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004273/0.07635, allocations: 0.802 MB / 0.8425 GB, free: 3.074 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.000374/0.07673, allocations: 0.55 MB / 0.843 GB, free: 2.52 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003719/0.0771, allocations: 277.2 kB / 0.8433 GB, free: 2.242 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.07722, allocations: 480.8 kB / 0.8437 GB, free: 1.77 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006927/0.07791, allocations: 487.7 kB / 0.8442 GB, free: 1.293 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001069/0.07898, allocations: 0.8469 MB / 0.845 GB, free: 320 kB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001593/0.08057, allocations: 1.395 MB / 0.8464 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.08058, allocations: 3.938 kB / 0.8464 GB, free: 14.78 MB / 0.8073 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.004625/0.0852, allocations: 2.79 MB / 0.8491 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.785e-05/0.08524, allocations: 11.94 kB / 0.8491 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.703e-05/0.08526, allocations: 12.88 kB / 0.8491 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005914/0.09117, allocations: 1.684 MB / 0.8508 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001005/0.09218, allocations: 303.4 kB / 0.8511 GB, free: 9.914 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.019/0.1112, allocations: 19.39 MB / 0.87 GB, free: 5.559 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001527/0.1127, allocations: 195.7 kB / 0.8702 GB, free: 5.367 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001482/0.1129, allocations: 71.95 kB / 0.8702 GB, free: 5.297 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005251/0.1134, allocations: 236.3 kB / 0.8705 GB, free: 5.055 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003479/0.1137, allocations: 219 kB / 0.8707 GB, free: 4.84 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006045/0.1198, allocations: 2.706 MB / 0.8733 GB, free: 2.086 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.3e-05/0.1198, allocations: 16 kB / 0.8733 GB, free: 2.07 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.29e-05/0.1198, allocations: 20 kB / 0.8734 GB, free: 2.051 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.205e-05/0.1198, allocations: 7.969 kB / 0.8734 GB, free: 2.043 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008123/0.128, allocations: 4.093 MB / 0.8774 GB, free: 13.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.929e-06/0.128, allocations: 4 kB / 0.8774 GB, free: 13.82 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008038/0.1288, allocations: 235.6 kB / 0.8776 GB, free: 13.59 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005404/0.1342, allocations: 1.61 MB / 0.8792 GB, free: 11.95 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001258/0.1343, allocations: 47.91 kB / 0.8792 GB, free: 11.91 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01829/0.1526, allocations: 19.29 MB / 0.898 GB, free: 7.645 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.1526, allocations: 0 / 0.898 GB, free: 7.645 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005225/0.1578, allocations: 2.615 MB / 0.9006 GB, free: 4.926 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006802/0.1585, allocations: 394.7 kB / 0.901 GB, free: 4.539 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001327/0.1586, allocations: 28 kB / 0.901 GB, free: 4.512 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008171/0.1594, allocations: 207.7 kB / 0.9012 GB, free: 4.309 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005128/0.16, allocations: 152.9 kB / 0.9013 GB, free: 4.16 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.534e-05/0.1601, allocations: 59.95 kB / 0.9014 GB, free: 4.102 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0006133/0.1607, allocations: 0.6136 MB / 0.902 GB, free: 3.484 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.1607, allocations: 0 / 0.902 GB, free: 3.484 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001886/0.1626, allocations: 0.6601 MB / 0.9026 GB, free: 2.824 MB / 0.8542 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003085/0.1629, allocations: 139.2 kB / 0.9028 GB, free: 2.676 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.004149/0.167, allocations: 3.428 MB / 0.9061 GB, free: 15.11 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.167, allocations: 4.125 kB / 0.9061 GB, free: 15.1 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.002925/0.1699, allocations: 2.792 MB / 0.9089 GB, free: 12.16 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001372/0.1713, allocations: 0.5212 MB / 0.9094 GB, free: 11.66 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004658/0.176, allocations: 3.218 MB / 0.9125 GB, free: 8.367 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005969/0.1766, allocations: 0.5082 MB / 0.913 GB, free: 7.828 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0008456/0.1774, allocations: 313.2 kB / 0.9133 GB, free: 7.516 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002605/0.1777, allocations: 100.4 kB / 0.9134 GB, free: 7.418 MB / 0.8698 GB Notification: Performance of SimCode: time 2.284e-06/0.1777, allocations: 0 / 0.9134 GB, free: 7.418 MB / 0.8698 GB Notification: Performance of Templates: time 0.0573/0.235, allocations: 47.53 MB / 0.9598 GB, free: 8.59 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.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.670934102963656]