Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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.001466/0.001466, allocations: 80.39 kB / 21.47 MB, free: 3.031 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.002026/0.002026, allocations: 170.5 kB / 24.87 MB, free: 8.879 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.9678/0.9678, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.706/1.706, allocations: 359 MB / 0.6063 GB, free: 10.91 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.ThreePhasesBalanced.Lines.Examples.ACLine_L,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.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,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.ACLine_L") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 0.7883 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.914e-05/2.044e-05, allocations: 4.422 kB / 0.7883 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.005387/0.005407, allocations: 4.133 MB / 0.7923 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002237/0.007644, allocations: 1.568 MB / 0.7939 GB, free: 6.492 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002741/0.007918, allocations: 45.22 kB / 0.7939 GB, free: 6.449 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.000579/0.008497, allocations: 190.6 kB / 0.7941 GB, free: 6.262 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0006428/0.00914, allocations: 409.7 kB / 0.7945 GB, free: 5.863 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004805/0.00962, allocations: 381.6 kB / 0.7949 GB, free: 5.492 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0007404/0.01036, allocations: 1.147 MB / 0.796 GB, free: 4.34 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005019/0.01086, allocations: 0.5022 MB / 0.7965 GB, free: 3.84 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004874/0.01135, allocations: 0.6174 MB / 0.7971 GB, free: 3.223 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004142/0.01176, allocations: 451.2 kB / 0.7975 GB, free: 2.781 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 5.94e-05/0.01182, allocations: 56 kB / 0.7976 GB, free: 2.727 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001694/0.01199, allocations: 136.8 kB / 0.7977 GB, free: 2.594 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001847/0.01218, allocations: 307.1 kB / 0.798 GB, free: 2.293 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001838/0.01236, allocations: 271.3 kB / 0.7982 GB, free: 2.027 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0005212/0.01288, allocations: 0.6674 MB / 0.7989 GB, free: 1.359 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.494e-06/0.01289, allocations: 3.938 kB / 0.7989 GB, free: 1.355 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.12e-07/0.01289, allocations: 0 / 0.7989 GB, free: 1.355 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.01289, allocations: 0 / 0.7989 GB, free: 1.355 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.0008968/0.01379, allocations: 1.062 MB / 0.7999 GB, free: 264 kB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.01382, allocations: 8.031 kB / 0.7999 GB, free: 256 kB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007091/0.01453, allocations: 280.4 kB / 0.8002 GB, free: 15.97 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005296/0.01506, allocations: 0.5338 MB / 0.8007 GB, free: 15.42 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.958e-05/0.01509, allocations: 47.02 kB / 0.8008 GB, free: 15.38 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.199e-05/0.01516, allocations: 68.31 kB / 0.8008 GB, free: 15.31 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006197/0.01578, allocations: 0.8545 MB / 0.8017 GB, free: 14.28 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.162e-05/0.0158, allocations: 4.688 kB / 0.8017 GB, free: 14.27 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.107e-05/0.01585, allocations: 36.36 kB / 0.8017 GB, free: 14.24 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.147e-05/0.01591, allocations: 69.83 kB / 0.8018 GB, free: 14.17 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002938/0.0162, allocations: 282.7 kB / 0.802 GB, free: 13.9 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00258/0.01878, allocations: 5.512 MB / 0.8074 GB, free: 8.199 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003202/0.0191, allocations: 230.8 kB / 0.8077 GB, free: 7.961 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000303/0.0194, allocations: 230.9 kB / 0.8079 GB, free: 7.738 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 3.167e-05/0.01944, allocations: 7.938 kB / 0.8079 GB, free: 7.73 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.385e-05/0.01946, allocations: 45.77 kB / 0.8079 GB, free: 7.676 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=41): time 1.814e-06/0.01946, allocations: 0 / 0.8079 GB, free: 7.676 MB / 0.7605 GB Notification: Performance of matching and sorting (n=42): time 0.00167/0.02113, allocations: 0.9634 MB / 0.8089 GB, free: 6.691 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.841e-05/0.02116, allocations: 63.19 kB / 0.8089 GB, free: 6.617 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002507/0.02141, allocations: 466.2 kB / 0.8094 GB, free: 6.148 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.333e-05/0.02143, allocations: 33.7 kB / 0.8094 GB, free: 6.109 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001882/0.02162, allocations: 458.6 kB / 0.8098 GB, free: 5.656 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 8.294e-05/0.0217, allocations: 166.6 kB / 0.81 GB, free: 5.492 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/0.02181, allocations: 111.9 kB / 0.8101 GB, free: 5.375 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.02195, allocations: 0.5429 MB / 0.8106 GB, free: 4.82 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.134e-05/0.02204, allocations: 77.25 kB / 0.8107 GB, free: 4.746 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000216/0.02226, allocations: 384.7 kB / 0.8111 GB, free: 4.238 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003726/0.02263, allocations: 0.5056 MB / 0.8116 GB, free: 3.602 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.02264, allocations: 8 kB / 0.8116 GB, free: 3.594 MB / 0.7605 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0007796/0.02342, allocations: 0.6596 MB / 0.8122 GB, free: 2.91 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.02343, allocations: 8 kB / 0.8122 GB, free: 2.902 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/0.02345, allocations: 11.98 kB / 0.8122 GB, free: 2.891 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005508/0.024, allocations: 246.5 kB / 0.8125 GB, free: 2.633 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001602/0.02416, allocations: 87.84 kB / 0.8126 GB, free: 2.547 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003818/0.02798, allocations: 7.574 MB / 0.82 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001517/0.02813, allocations: 16 kB / 0.82 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.274e-05/0.02815, allocations: 24 kB / 0.82 GB, free: 10.47 MB / 0.7761 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000132/0.02828, allocations: 192.4 kB / 0.8202 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.396e-05/0.02835, allocations: 79.56 kB / 0.8203 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000594/0.02894, allocations: 0.5125 MB / 0.8208 GB, free: 9.66 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.02895, allocations: 8.172 kB / 0.8208 GB, free: 9.652 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.02895, allocations: 11.94 kB / 0.8208 GB, free: 9.641 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.02895, allocations: 4 kB / 0.8208 GB, free: 9.637 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009824/0.02994, allocations: 0.9935 MB / 0.8217 GB, free: 8.566 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.02994, allocations: 0 / 0.8217 GB, free: 8.566 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.819e-05/0.03002, allocations: 35.92 kB / 0.8218 GB, free: 8.531 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004557/0.03047, allocations: 238.7 kB / 0.822 GB, free: 8.281 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.738e-05/0.03049, allocations: 8 kB / 0.822 GB, free: 8.273 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003238/0.03373, allocations: 7.559 MB / 0.8294 GB, free: 260 kB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.03373, allocations: 0 / 0.8294 GB, free: 260 kB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006744/0.0344, allocations: 0.6935 MB / 0.8301 GB, free: 15.5 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 9.543e-05/0.0345, allocations: 83.56 kB / 0.8302 GB, free: 15.42 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.183e-05/0.03453, allocations: 8 kB / 0.8302 GB, free: 15.41 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.03465, allocations: 15.94 kB / 0.8302 GB, free: 15.39 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.886e-05/0.0347, allocations: 43.67 kB / 0.8302 GB, free: 15.35 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.521e-05/0.03472, allocations: 12 kB / 0.8302 GB, free: 15.34 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0001334/0.03485, allocations: 290.7 kB / 0.8305 GB, free: 15.06 MB / 0.7917 GB Notification: Performance of sort global known variables: time 4e-08/0.03485, allocations: 0 / 0.8305 GB, free: 15.06 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0004287/0.03528, allocations: 203.9 kB / 0.8307 GB, free: 14.86 MB / 0.7917 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,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.0001081/0.03539, allocations: 107.2 kB / 0.8308 GB, free: 14.74 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0008006/0.03619, allocations: 1.117 MB / 0.8319 GB, free: 13.55 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.03619, allocations: 0 / 0.8319 GB, free: 13.55 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0005433/0.03674, allocations: 0.9247 MB / 0.8328 GB, free: 12.55 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005342/0.03727, allocations: 204.6 kB / 0.833 GB, free: 12.37 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001241/0.03851, allocations: 1.176 MB / 0.8341 GB, free: 11.13 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001221/0.03863, allocations: 202.3 kB / 0.8343 GB, free: 10.91 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0001199/0.03875, allocations: 69.02 kB / 0.8344 GB, free: 10.84 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002082/0.03896, allocations: 206.1 kB / 0.8346 GB, free: 10.64 MB / 0.7917 GB Notification: Performance of SimCode: time 9.02e-07/0.03896, allocations: 0 / 0.8346 GB, free: 10.64 MB / 0.7917 GB Notification: Performance of Templates: time 0.01243/0.05139, allocations: 11.3 MB / 0.8456 GB, free: 15.57 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.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.07221017871052]