Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.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.0008666/0.0008666, allocations: 81.86 kB / 20.68 MB, free: 3.816 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.001146/0.001146, allocations: 185 kB / 24.09 MB, free: 416 kB / 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.9756/0.9756, allocations: 177.1 MB / 204.5 MB, free: 5.516 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.808/1.808, allocations: 377.9 MB / 0.6239 GB, free: 8.406 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.ACLine_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.load1.v.[0-9,]+.|load_sc_2.load1.v.[0-9,]+.|load_sc_1.load1.i.[0-9,]+.|load_sc_2.load1.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.load1.v.[0-9,]+.|load_sc_2.load1.v.[0-9,]+.|load_sc_1.load1.i.[0-9,]+.|load_sc_2.load1.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 0 / 0.812 GB, free: 304 kB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.529e-05/1.642e-05, allocations: 3 kB / 0.812 GB, free: 300 kB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.009244/0.00926, allocations: 11.58 MB / 0.8233 GB, free: 4.68 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.004286/0.01355, allocations: 3.603 MB / 0.8268 GB, free: 1.09 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004797/0.01403, allocations: 111.2 kB / 0.8269 GB, free: 0.9805 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0007788/0.0148, allocations: 0.4931 MB / 0.8274 GB, free: 496 kB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0011/0.0159, allocations: 1.114 MB / 0.8285 GB, free: 15.37 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001012/0.01692, allocations: 1.004 MB / 0.8295 GB, free: 14.37 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.002769/0.01968, allocations: 4.884 MB / 0.8343 GB, free: 9.469 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002385/0.02207, allocations: 3.124 MB / 0.8373 GB, free: 6.277 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002104/0.02417, allocations: 2.995 MB / 0.8402 GB, free: 3.277 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001848/0.02602, allocations: 2.375 MB / 0.8426 GB, free: 0.8984 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0003561/0.02638, allocations: 430.6 kB / 0.843 GB, free: 492 kB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005775/0.02695, allocations: 0.5076 MB / 0.8435 GB, free: 15.97 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0009733/0.02793, allocations: 1.808 MB / 0.8452 GB, free: 14.16 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0008972/0.02883, allocations: 1.345 MB / 0.8465 GB, free: 12.81 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.002099/0.03092, allocations: 3.35 MB / 0.8498 GB, free: 9.453 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.03093, allocations: 0 / 0.8498 GB, free: 9.453 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.022e-06/0.03093, allocations: 0 / 0.8498 GB, free: 9.453 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 2.361e-05/0.03095, allocations: 6.844 kB / 0.8498 GB, free: 9.449 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.00316/0.03411, allocations: 3.578 MB / 0.8533 GB, free: 5.82 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.03415, allocations: 14.97 kB / 0.8533 GB, free: 5.809 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001753/0.0359, allocations: 0.8921 MB / 0.8542 GB, free: 4.914 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001753/0.03766, allocations: 1.747 MB / 0.8559 GB, free: 3.117 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001071/0.03776, allocations: 218.3 kB / 0.8561 GB, free: 2.902 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002913/0.03805, allocations: 304.3 kB / 0.8564 GB, free: 2.605 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002724/0.04078, allocations: 2.94 MB / 0.8593 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.779e-05/0.04084, allocations: 16.06 kB / 0.8593 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000184/0.04102, allocations: 127.9 kB / 0.8594 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002214/0.04124, allocations: 217.8 kB / 0.8596 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001244/0.04248, allocations: 0.8941 MB / 0.8605 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008691/0.05118, allocations: 13.64 MB / 0.8738 GB, free: 28 kB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005412/0.05172, allocations: 0.5099 MB / 0.8743 GB, free: 15.5 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004067/0.05212, allocations: 398.2 kB / 0.8747 GB, free: 15.11 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 5.076e-05/0.05217, allocations: 17 kB / 0.8747 GB, free: 15.09 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.177e-05/0.05221, allocations: 50.39 kB / 0.8748 GB, free: 15.03 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=107): time 2.826e-06/0.05221, allocations: 4 kB / 0.8748 GB, free: 15.03 MB / 0.7917 GB Notification: Performance of matching and sorting (n=138): time 0.006271/0.05848, allocations: 3.806 MB / 0.8785 GB, free: 11.22 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.109e-05/0.05851, allocations: 68.7 kB / 0.8785 GB, free: 11.14 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006413/0.05915, allocations: 0.9806 MB / 0.8795 GB, free: 10.15 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 5.803e-05/0.05921, allocations: 49.64 kB / 0.8795 GB, free: 10.1 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005688/0.05978, allocations: 1.4 MB / 0.8809 GB, free: 8.684 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002746/0.06005, allocations: 0.5074 MB / 0.8814 GB, free: 8.172 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002969/0.06035, allocations: 313 kB / 0.8817 GB, free: 7.855 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 9.767e-05/0.06045, allocations: 480.8 kB / 0.8822 GB, free: 7.383 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002695/0.06072, allocations: 227.8 kB / 0.8824 GB, free: 7.16 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005428/0.06126, allocations: 0.818 MB / 0.8832 GB, free: 6.113 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009177/0.06218, allocations: 1.18 MB / 0.8843 GB, free: 4.699 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.06218, allocations: 4 kB / 0.8843 GB, free: 4.695 MB / 0.7917 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.002196/0.06438, allocations: 1.751 MB / 0.886 GB, free: 2.922 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.0644, allocations: 15.94 kB / 0.8861 GB, free: 2.906 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/0.06441, allocations: 12 kB / 0.8861 GB, free: 2.895 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001757/0.06617, allocations: 0.8882 MB / 0.8869 GB, free: 2 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005708/0.06674, allocations: 227.7 kB / 0.8872 GB, free: 1.777 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006411/0.07315, allocations: 8.72 MB / 0.8957 GB, free: 8.727 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004031/0.07356, allocations: 48 kB / 0.8957 GB, free: 8.68 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-05/0.07362, allocations: 48 kB / 0.8958 GB, free: 8.633 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004345/0.07405, allocations: 252.1 kB / 0.896 GB, free: 8.375 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001825/0.07424, allocations: 203 kB / 0.8962 GB, free: 8.176 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001883/0.07612, allocations: 1.505 MB / 0.8977 GB, free: 6.641 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.125e-06/0.07613, allocations: 16 kB / 0.8977 GB, free: 6.625 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.374e-05/0.07614, allocations: 16 kB / 0.8977 GB, free: 6.609 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.625e-06/0.07615, allocations: 3.984 kB / 0.8977 GB, free: 6.605 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003703/0.07985, allocations: 3.219 MB / 0.9008 GB, free: 3.266 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/0.07986, allocations: 4.188 kB / 0.9009 GB, free: 3.262 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002537/0.08011, allocations: 119.8 kB / 0.901 GB, free: 3.145 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001747/0.08186, allocations: 0.8233 MB / 0.9018 GB, free: 2.312 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.63e-05/0.08191, allocations: 31.94 kB / 0.9018 GB, free: 2.281 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006174/0.08809, allocations: 8.689 MB / 0.9103 GB, free: 9.258 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.08809, allocations: 4 kB / 0.9103 GB, free: 9.254 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001815/0.08991, allocations: 1.73 MB / 0.912 GB, free: 7.418 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000344/0.09025, allocations: 290.9 kB / 0.9123 GB, free: 7.133 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.792e-05/0.09034, allocations: 28 kB / 0.9123 GB, free: 7.105 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002964/0.09063, allocations: 28.19 kB / 0.9123 GB, free: 7.078 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001668/0.0908, allocations: 140.6 kB / 0.9124 GB, free: 6.941 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.728e-05/0.09085, allocations: 36 kB / 0.9125 GB, free: 6.906 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0003455/0.09119, allocations: 0.5417 MB / 0.913 GB, free: 6.359 MB / 0.823 GB Notification: Performance of sort global known variables: time 8e-08/0.09119, allocations: 0 / 0.913 GB, free: 6.359 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001318/0.09251, allocations: 0.6719 MB / 0.9137 GB, free: 5.688 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001711/0.09268, allocations: 139 kB / 0.9138 GB, free: 5.543 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001914/0.0946, allocations: 1.952 MB / 0.9157 GB, free: 3.535 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.0946, allocations: 4 kB / 0.9157 GB, free: 3.531 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001146/0.09575, allocations: 1.494 MB / 0.9172 GB, free: 1.98 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001319/0.09707, allocations: 488.3 kB / 0.9176 GB, free: 1.516 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004879/0.1019, allocations: 4.781 MB / 0.9223 GB, free: 12.61 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006086/0.1026, allocations: 0.8039 MB / 0.9231 GB, free: 11.79 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0003785/0.1029, allocations: 173.5 kB / 0.9232 GB, free: 11.61 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000566/0.1035, allocations: 457.9 kB / 0.9237 GB, free: 11.16 MB / 0.8386 GB Notification: Performance of SimCode: time 6.11e-07/0.1035, allocations: 0 / 0.9237 GB, free: 11.16 MB / 0.8386 GB Notification: Performance of Templates: time 0.03893/0.1424, allocations: 35.63 MB / 0.9585 GB, free: 8.191 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.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.293536793906242]