Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.001349/0.001349, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001008/0.001008, allocations: 169.3 kB / 24.28 MB, free: 280 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.9271/0.9271, allocations: 177.1 MB / 204.6 MB, free: 5.586 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.8/1.8, allocations: 359 MB / 0.6055 GB, free: 11.01 MB / 0.573 GB " [Timeout remaining time 178] 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.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.load1.i.[0-9,]+.|R2.load1.i.[0-9,]+.|R3.load1.i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.load1.i.[0-9,]+.|R2.load1.i.[0-9,]+.|R3.load1.i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.7871 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.03e-05/2.197e-05, allocations: 6.25 kB / 0.7871 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.02446/0.02448, allocations: 31.08 MB / 0.8175 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.02301/0.04749, allocations: 13.8 MB / 0.8309 GB, free: 15.81 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004707/0.0522, allocations: 190.5 kB / 0.8311 GB, free: 15.62 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.005854/0.05805, allocations: 3.301 MB / 0.8343 GB, free: 12.3 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.009029/0.06708, allocations: 2.834 MB / 0.8371 GB, free: 9.453 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.005351/0.07243, allocations: 2.03 MB / 0.8391 GB, free: 7.418 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.01101/0.08344, allocations: 7.795 MB / 0.8467 GB, free: 15.6 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008094/0.09153, allocations: 4.628 MB / 0.8512 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009596/0.1011, allocations: 4.943 MB / 0.8561 GB, free: 5.891 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005685/0.1068, allocations: 3.246 MB / 0.8592 GB, free: 2.637 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.001933/0.1087, allocations: 0.5938 MB / 0.8598 GB, free: 2.043 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003137/0.1119, allocations: 1.415 MB / 0.8612 GB, free: 0.625 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.002294/0.1142, allocations: 2.56 MB / 0.8637 GB, free: 14.06 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.002228/0.1164, allocations: 2.023 MB / 0.8657 GB, free: 12.03 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.004428/0.1208, allocations: 5.321 MB / 0.8709 GB, free: 6.695 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.1208, allocations: 0 / 0.8709 GB, free: 6.695 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.303e-06/0.1208, allocations: 0 / 0.8709 GB, free: 6.695 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001071/0.1209, allocations: 0 / 0.8709 GB, free: 6.695 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.005613/0.1266, allocations: 5.408 MB / 0.8761 GB, free: 1.211 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.1266, allocations: 8.031 kB / 0.8762 GB, free: 1.203 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003802/0.1304, allocations: 1.566 MB / 0.8777 GB, free: 15.63 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003245/0.1336, allocations: 3 MB / 0.8806 GB, free: 12.54 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001647/0.1338, allocations: 316.8 kB / 0.8809 GB, free: 12.23 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004406/0.1343, allocations: 432.3 kB / 0.8813 GB, free: 11.81 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00495/0.1392, allocations: 4.548 MB / 0.8858 GB, free: 6.758 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.946e-05/0.1393, allocations: 31.75 kB / 0.8858 GB, free: 6.727 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002778/0.1396, allocations: 184 kB / 0.886 GB, free: 6.547 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004599/0.14, allocations: 372 kB / 0.8863 GB, free: 6.18 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002844/0.1429, allocations: 1.633 MB / 0.8879 GB, free: 4.523 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01457/0.1574, allocations: 21.18 MB / 0.9086 GB, free: 14.75 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000799/0.1582, allocations: 0.5694 MB / 0.9092 GB, free: 14.16 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006289/0.1589, allocations: 0.5326 MB / 0.9097 GB, free: 13.64 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.107e-05/0.1589, allocations: 21.31 kB / 0.9097 GB, free: 13.62 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.163e-05/0.159, allocations: 50.7 kB / 0.9097 GB, free: 13.56 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=130): time 3.907e-06/0.159, allocations: 0 / 0.9097 GB, free: 13.56 MB / 0.8698 GB Notification: Performance of matching and sorting (n=199): time 0.01131/0.1703, allocations: 6.623 MB / 0.9162 GB, free: 6.867 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.005e-05/0.1703, allocations: 73.41 kB / 0.9163 GB, free: 6.785 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001692/0.172, allocations: 1.696 MB / 0.9179 GB, free: 5.055 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001125/0.1721, allocations: 69.69 kB / 0.918 GB, free: 4.98 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001175/0.1733, allocations: 2.125 MB / 0.9201 GB, free: 2.836 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005005/0.1738, allocations: 0.7128 MB / 0.9208 GB, free: 2.117 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004797/0.1743, allocations: 418.4 kB / 0.9212 GB, free: 1.699 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.1744, allocations: 476.8 kB / 0.9216 GB, free: 1.23 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008246/0.1752, allocations: 0.512 MB / 0.9221 GB, free: 0.7148 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001242/0.1765, allocations: 1.327 MB / 0.9234 GB, free: 15.04 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002247/0.1787, allocations: 2.022 MB / 0.9254 GB, free: 12.7 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.365e-05/0.1787, allocations: 4 kB / 0.9254 GB, free: 12.69 MB / 0.8855 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.005607/0.1843, allocations: 3.319 MB / 0.9286 GB, free: 9.285 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 3.672e-05/0.1844, allocations: 12 kB / 0.9287 GB, free: 9.273 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.128e-05/0.1844, allocations: 16 kB / 0.9287 GB, free: 9.258 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004551/0.1889, allocations: 1.735 MB / 0.9304 GB, free: 7.445 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008649/0.1898, allocations: 375.4 kB / 0.9307 GB, free: 7.078 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02132/0.2111, allocations: 35.84 MB / 0.9657 GB, free: 1.023 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001726/0.2129, allocations: 131.8 kB / 0.9658 GB, free: 0.8945 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001325/0.213, allocations: 92 kB / 0.9659 GB, free: 0.8047 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001001/0.214, allocations: 292 kB / 0.9662 GB, free: 0.5078 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003386/0.2143, allocations: 334.4 kB / 0.9665 GB, free: 184 kB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004675/0.219, allocations: 2.884 MB / 0.9693 GB, free: 13.2 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.126e-05/0.219, allocations: 23.94 kB / 0.9694 GB, free: 13.17 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.486e-05/0.219, allocations: 20 kB / 0.9694 GB, free: 13.15 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.131e-05/0.219, allocations: 11.95 kB / 0.9694 GB, free: 13.14 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008453/0.2275, allocations: 6.292 MB / 0.9755 GB, free: 6.613 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.625e-06/0.2275, allocations: 8 kB / 0.9756 GB, free: 6.605 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004536/0.228, allocations: 219.6 kB / 0.9758 GB, free: 6.391 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003757/0.2317, allocations: 1.638 MB / 0.9774 GB, free: 4.676 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.943e-05/0.2318, allocations: 40 kB / 0.9774 GB, free: 4.637 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01804/0.2498, allocations: 35.76 MB / 1.012 GB, free: 14.66 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.2498, allocations: 8 kB / 1.012 GB, free: 14.65 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00437/0.2542, allocations: 3.015 MB / 1.015 GB, free: 11.42 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007556/0.255, allocations: 0.5099 MB / 1.016 GB, free: 10.91 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002025/0.2552, allocations: 43.94 kB / 1.016 GB, free: 10.87 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006868/0.2559, allocations: 127.8 kB / 1.016 GB, free: 10.74 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005087/0.2564, allocations: 205.4 kB / 1.016 GB, free: 10.54 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001928/0.2566, allocations: 56 kB / 1.016 GB, free: 10.49 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.001034/0.2576, allocations: 0.9809 MB / 1.017 GB, free: 9.492 MB / 0.9792 GB Notification: Performance of sort global known variables: time 8e-08/0.2576, allocations: 0 / 1.017 GB, free: 9.492 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.002601/0.2602, allocations: 1.055 MB / 1.018 GB, free: 8.438 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002192/0.2604, allocations: 164.6 kB / 1.018 GB, free: 8.266 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.00506/0.2655, allocations: 5.423 MB / 1.024 GB, free: 2.52 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.2655, allocations: 0 / 1.024 GB, free: 2.52 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.003437/0.2689, allocations: 4.574 MB / 1.028 GB, free: 13.62 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002052/0.271, allocations: 0.9045 MB / 1.029 GB, free: 12.75 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008689/0.2797, allocations: 7.282 MB / 1.036 GB, free: 5.316 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001097/0.2808, allocations: 1.166 MB / 1.037 GB, free: 4.121 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0008878/0.2816, allocations: 434.3 kB / 1.038 GB, free: 3.691 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002416/0.2819, allocations: 136.5 kB / 1.038 GB, free: 3.559 MB / 0.9948 GB Notification: Performance of SimCode: time 1.703e-06/0.2819, allocations: 0 / 1.038 GB, free: 3.559 MB / 0.9948 GB Notification: Performance of Templates: time 0.3683/0.6502, allocations: 61.49 MB / 1.098 GB, free: 279.7 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_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.5443962819408625]