Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00128/0.00128, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001446/0.001446, allocations: 177 kB / 23.36 MB, free: 1.133 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.9387/0.9387, allocations: 177.1 MB / 203.8 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.299/2.299, allocations: 438.8 MB / 0.6826 GB, free: 13.6 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.468e-05/1.604e-05, allocations: 6.25 kB / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.008181/0.008197, allocations: 10.36 MB / 0.8487 GB, free: 3.793 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.007023/0.01522, allocations: 6.965 MB / 0.8555 GB, free: 12.8 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005034/0.01572, allocations: 83.25 kB / 0.8556 GB, free: 12.72 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0007925/0.01652, allocations: 400.9 kB / 0.856 GB, free: 12.33 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.002245/0.01876, allocations: 1.73 MB / 0.8576 GB, free: 10.59 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008461/0.01961, allocations: 0.6629 MB / 0.8583 GB, free: 9.93 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.002036/0.02164, allocations: 2.847 MB / 0.8611 GB, free: 7.074 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009991/0.02264, allocations: 1.258 MB / 0.8623 GB, free: 5.777 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001617/0.02426, allocations: 2.098 MB / 0.8644 GB, free: 3.676 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008625/0.02512, allocations: 0.9621 MB / 0.8653 GB, free: 2.711 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001524/0.02527, allocations: 156 kB / 0.8654 GB, free: 2.559 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003837/0.02566, allocations: 315.6 kB / 0.8657 GB, free: 2.25 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003632/0.02602, allocations: 0.6347 MB / 0.8664 GB, free: 1.613 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0004781/0.0265, allocations: 0.6468 MB / 0.867 GB, free: 0.9648 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.001237/0.02773, allocations: 1.534 MB / 0.8685 GB, free: 15.43 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.02774, allocations: 0 / 0.8685 GB, free: 15.43 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.102e-06/0.02774, allocations: 0 / 0.8685 GB, free: 15.43 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.554e-05/0.02775, allocations: 4 kB / 0.8685 GB, free: 15.42 MB / 0.8386 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.002376/0.03013, allocations: 2.005 MB / 0.8705 GB, free: 13.38 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.03016, allocations: 8.625 kB / 0.8705 GB, free: 13.38 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00413/0.03429, allocations: 0.8627 MB / 0.8713 GB, free: 12.51 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001449/0.03574, allocations: 1.073 MB / 0.8724 GB, free: 11.39 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.047e-05/0.0358, allocations: 86.69 kB / 0.8724 GB, free: 11.3 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002111/0.03602, allocations: 124.3 kB / 0.8726 GB, free: 11.18 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002012/0.03803, allocations: 1.621 MB / 0.8741 GB, free: 9.359 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.377e-05/0.03806, allocations: 11.88 kB / 0.8741 GB, free: 9.348 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001409/0.0382, allocations: 51.98 kB / 0.8742 GB, free: 9.297 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003681/0.03857, allocations: 150.2 kB / 0.8743 GB, free: 9.148 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001016/0.03959, allocations: 0.5777 MB / 0.8749 GB, free: 8.559 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006401/0.04599, allocations: 5.717 MB / 0.8805 GB, free: 2.684 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001165/0.04715, allocations: 0.5746 MB / 0.881 GB, free: 2.102 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004069/0.04756, allocations: 252.4 kB / 0.8813 GB, free: 1.852 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.429e-05/0.04761, allocations: 16.94 kB / 0.8813 GB, free: 1.832 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.977e-05/0.04764, allocations: 43.56 kB / 0.8813 GB, free: 1.781 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=89): time 2.735e-06/0.04765, allocations: 4 kB / 0.8814 GB, free: 1.777 MB / 0.8386 GB Notification: Performance of matching and sorting (n=90): time 0.01058/0.05823, allocations: 3.911 MB / 0.8852 GB, free: 13.85 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.301e-05/0.05826, allocations: 68.34 kB / 0.8852 GB, free: 13.77 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007072/0.05897, allocations: 0.9028 MB / 0.8861 GB, free: 12.86 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 7.861e-05/0.05905, allocations: 37.7 kB / 0.8862 GB, free: 12.82 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003029/0.05935, allocations: 0.5891 MB / 0.8867 GB, free: 12.22 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002291/0.05958, allocations: 329 kB / 0.887 GB, free: 11.89 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003117/0.05989, allocations: 186.7 kB / 0.8872 GB, free: 11.71 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001/0.05999, allocations: 349.9 kB / 0.8876 GB, free: 11.36 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003467/0.06034, allocations: 186.5 kB / 0.8877 GB, free: 11.18 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004703/0.06081, allocations: 448.5 kB / 0.8882 GB, free: 10.64 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008724/0.06168, allocations: 0.7116 MB / 0.8889 GB, free: 9.832 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/0.06169, allocations: 4 kB / 0.8889 GB, free: 9.828 MB / 0.8542 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002494/0.06418, allocations: 1.266 MB / 0.8901 GB, free: 8.539 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.0642, allocations: 8 kB / 0.8901 GB, free: 8.531 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.06421, allocations: 4 kB / 0.8901 GB, free: 8.527 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002698/0.06691, allocations: 0.85 MB / 0.8909 GB, free: 7.664 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006396/0.06755, allocations: 163.7 kB / 0.8911 GB, free: 7.504 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00667/0.07422, allocations: 6.936 MB / 0.8979 GB, free: 196 kB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006697/0.07489, allocations: 51.97 kB / 0.8979 GB, free: 144 kB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.266e-05/0.07498, allocations: 43.91 kB / 0.898 GB, free: 100 kB / 0.8542 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 (73): * Single equations (assignments): 69 * 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 {(2,8,100.0%), (3,17,100.0%), (3,15,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003309/0.07531, allocations: 168.4 kB / 0.8981 GB, free: 15.92 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002218/0.07553, allocations: 119.9 kB / 0.8982 GB, free: 15.8 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002528/0.07806, allocations: 1.249 MB / 0.8995 GB, free: 14.53 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.225e-06/0.07807, allocations: 15.94 kB / 0.8995 GB, free: 14.52 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.07808, allocations: 8 kB / 0.8995 GB, free: 14.51 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/0.07809, allocations: 3.984 kB / 0.8995 GB, free: 14.5 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003542/0.08163, allocations: 1.988 MB / 0.9014 GB, free: 12.45 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.119e-06/0.08163, allocations: 4 kB / 0.9014 GB, free: 12.45 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004862/0.08212, allocations: 103.8 kB / 0.9015 GB, free: 12.34 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002635/0.08475, allocations: 0.8344 MB / 0.9023 GB, free: 11.5 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.937e-05/0.08483, allocations: 27.97 kB / 0.9024 GB, free: 11.47 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006112/0.09095, allocations: 6.934 MB / 0.9091 GB, free: 4.156 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.09095, allocations: 0 / 0.9091 GB, free: 4.156 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001784/0.09273, allocations: 1.266 MB / 0.9104 GB, free: 2.84 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002989/0.09303, allocations: 242.9 kB / 0.9106 GB, free: 2.602 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001153/0.09314, allocations: 20 kB / 0.9106 GB, free: 2.582 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004233/0.09357, allocations: 43.97 kB / 0.9107 GB, free: 2.539 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001272/0.0937, allocations: 84.83 kB / 0.9107 GB, free: 2.457 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.236e-05/0.09375, allocations: 31.91 kB / 0.9108 GB, free: 2.426 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0002973/0.09405, allocations: 459.6 kB / 0.9112 GB, free: 1.973 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4e-08/0.09405, allocations: 0 / 0.9112 GB, free: 1.973 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0007756/0.09482, allocations: 488 kB / 0.9117 GB, free: 1.496 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (37): * Single equations (assignments): 33 * 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 {(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.000181/0.095, allocations: 120.2 kB / 0.9118 GB, free: 1.367 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001496/0.0965, allocations: 1.462 MB / 0.9132 GB, free: 15.85 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-05/0.09651, allocations: 17.12 kB / 0.9132 GB, free: 15.83 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.00104/0.09755, allocations: 1.121 MB / 0.9143 GB, free: 14.66 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001008/0.09856, allocations: 0.5225 MB / 0.9148 GB, free: 14.16 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002826/0.1014, allocations: 2.515 MB / 0.9173 GB, free: 11.58 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002795/0.1017, allocations: 396.1 kB / 0.9177 GB, free: 11.17 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0006022/0.1023, allocations: 279.2 kB / 0.9179 GB, free: 10.89 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007253/0.103, allocations: 399 kB / 0.9183 GB, free: 10.5 MB / 0.8855 GB Notification: Performance of SimCode: time 7.41e-07/0.103, allocations: 4 kB / 0.9183 GB, free: 10.49 MB / 0.8855 GB Notification: Performance of Templates: time 0.04066/0.1437, allocations: 35.48 MB / 0.953 GB, free: 7.621 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 5.643980924040079]