Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.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.001153/0.001153, allocations: 80.39 kB / 21.47 MB, free: 3.02 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.001085/0.001085, allocations: 169.5 kB / 24.86 MB, free: 8.871 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.9439/0.9439, allocations: 177.1 MB / 205.3 MB, free: 5.48 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.732/1.732, allocations: 359 MB / 0.6063 GB, free: 10.88 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,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") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 0.7883 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.833e-05/2.012e-05, allocations: 8.5 kB / 0.7883 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.007616/0.007636, allocations: 9.628 MB / 0.7977 GB, free: 2.543 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.007272/0.01491, allocations: 5.917 MB / 0.8035 GB, free: 12.64 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000958/0.01587, allocations: 88.31 kB / 0.8036 GB, free: 12.55 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0008778/0.01674, allocations: 373 kB / 0.8039 GB, free: 12.19 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.00243/0.01917, allocations: 1.436 MB / 0.8053 GB, free: 10.77 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.001014/0.02019, allocations: 0.649 MB / 0.806 GB, free: 10.12 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.00227/0.02246, allocations: 2.614 MB / 0.8085 GB, free: 7.496 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001479/0.02394, allocations: 1.188 MB / 0.8097 GB, free: 6.281 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001471/0.02541, allocations: 1.587 MB / 0.8112 GB, free: 4.691 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009728/0.02638, allocations: 1.005 MB / 0.8122 GB, free: 3.684 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0001686/0.02655, allocations: 164 kB / 0.8124 GB, free: 3.523 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004701/0.02702, allocations: 323.6 kB / 0.8127 GB, free: 3.207 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0004108/0.02743, allocations: 0.6543 MB / 0.8133 GB, free: 2.551 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0005247/0.02795, allocations: 0.6391 MB / 0.8139 GB, free: 1.91 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.001246/0.0292, allocations: 1.542 MB / 0.8154 GB, free: 372 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.02921, allocations: 0 / 0.8154 GB, free: 372 kB / 0.7605 GB Notification: Performance of FrontEnd: time 1.804e-06/0.02921, allocations: 0 / 0.8154 GB, free: 372 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 2.11e-05/0.02923, allocations: 0 / 0.8154 GB, free: 372 kB / 0.7605 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.002576/0.0318, allocations: 2.135 MB / 0.8175 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.03185, allocations: 12.03 kB / 0.8175 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003435/0.03528, allocations: 0.8929 MB / 0.8184 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001167/0.03645, allocations: 1.145 MB / 0.8195 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.646e-05/0.0365, allocations: 86.73 kB / 0.8196 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001723/0.03667, allocations: 136.2 kB / 0.8197 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001813/0.03848, allocations: 1.702 MB / 0.8214 GB, free: 9.922 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.185e-05/0.03851, allocations: 11.81 kB / 0.8214 GB, free: 9.91 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001164/0.03863, allocations: 51.98 kB / 0.8215 GB, free: 9.859 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003014/0.03893, allocations: 142.2 kB / 0.8216 GB, free: 9.719 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008635/0.03979, allocations: 0.6673 MB / 0.8223 GB, free: 9.039 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006354/0.04615, allocations: 7.813 MB / 0.8299 GB, free: 1.02 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001049/0.0472, allocations: 0.5589 MB / 0.8304 GB, free: 464 kB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003634/0.04756, allocations: 306.5 kB / 0.8307 GB, free: 156 kB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 5.102e-05/0.04761, allocations: 17 kB / 0.8307 GB, free: 140 kB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/0.04764, allocations: 46.39 kB / 0.8308 GB, free: 80 kB / 0.7761 GB Notification: Performance of pre-optimization done (n=89): time 2.615e-06/0.04764, allocations: 0 / 0.8308 GB, free: 80 kB / 0.7761 GB Notification: Performance of matching and sorting (n=131): time 0.007883/0.05552, allocations: 4.167 MB / 0.8349 GB, free: 11.86 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.148e-05/0.05556, allocations: 64.72 kB / 0.8349 GB, free: 11.79 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005937/0.05615, allocations: 0.9245 MB / 0.8358 GB, free: 10.85 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 8.15e-05/0.05623, allocations: 49.7 kB / 0.8359 GB, free: 10.79 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004271/0.05666, allocations: 0.7968 MB / 0.8366 GB, free: 9.988 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002782/0.05694, allocations: 483.8 kB / 0.8371 GB, free: 9.512 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003167/0.05725, allocations: 265 kB / 0.8374 GB, free: 9.246 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.05739, allocations: 0.5354 MB / 0.8379 GB, free: 8.703 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003967/0.05778, allocations: 323.8 kB / 0.8382 GB, free: 8.387 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005455/0.05833, allocations: 0.6828 MB / 0.8389 GB, free: 7.574 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000993/0.05932, allocations: 1.058 MB / 0.8399 GB, free: 6.387 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.05933, allocations: 0 / 0.8399 GB, free: 6.387 MB / 0.7917 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.003332/0.06266, allocations: 2.114 MB / 0.842 GB, free: 4.207 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.06268, allocations: 9.562 kB / 0.842 GB, free: 4.199 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.06269, allocations: 8 kB / 0.842 GB, free: 4.191 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003541/0.06623, allocations: 1.346 MB / 0.8433 GB, free: 2.789 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007487/0.06698, allocations: 207.7 kB / 0.8435 GB, free: 2.586 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01355/0.08053, allocations: 25.9 MB / 0.8688 GB, free: 7.207 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008827/0.08141, allocations: 55.98 kB / 0.8688 GB, free: 7.152 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.509e-05/0.0815, allocations: 59.94 kB / 0.8689 GB, free: 7.094 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004396/0.08194, allocations: 232.3 kB / 0.8691 GB, free: 6.855 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002504/0.08219, allocations: 203 kB / 0.8693 GB, free: 6.656 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003353/0.08555, allocations: 2.036 MB / 0.8713 GB, free: 4.547 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.08555, allocations: 15.94 kB / 0.8713 GB, free: 4.531 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.265e-05/0.08557, allocations: 20 kB / 0.8713 GB, free: 4.512 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.08557, allocations: 7.969 kB / 0.8713 GB, free: 4.504 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004748/0.09032, allocations: 3.255 MB / 0.8745 GB, free: 1.109 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.642e-06/0.09033, allocations: 8 kB / 0.8745 GB, free: 1.102 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004758/0.0908, allocations: 156.1 kB / 0.8747 GB, free: 0.9492 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003214/0.09402, allocations: 1.276 MB / 0.8759 GB, free: 15.62 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.419e-05/0.09409, allocations: 39.95 kB / 0.876 GB, free: 15.58 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01169/0.1058, allocations: 25.13 MB / 0.9005 GB, free: 4.953 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.1058, allocations: 7.938 kB / 0.9005 GB, free: 4.945 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003049/0.1088, allocations: 2.033 MB / 0.9025 GB, free: 2.793 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004251/0.1093, allocations: 326.8 kB / 0.9028 GB, free: 2.473 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001422/0.1094, allocations: 35.92 kB / 0.9028 GB, free: 2.438 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005447/0.1099, allocations: 47.98 kB / 0.9029 GB, free: 2.391 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002686/0.1102, allocations: 136.6 kB / 0.903 GB, free: 2.258 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.117e-05/0.1103, allocations: 35.97 kB / 0.903 GB, free: 2.223 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0003592/0.1106, allocations: 0.5409 MB / 0.9036 GB, free: 1.676 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.1106, allocations: 0 / 0.9036 GB, free: 1.676 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001454/0.1121, allocations: 0.5859 MB / 0.9041 GB, free: 1.09 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002185/0.1123, allocations: 147 kB / 0.9043 GB, free: 0.9375 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.003261/0.1156, allocations: 3.693 MB / 0.9079 GB, free: 13.02 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/0.1156, allocations: 4 kB / 0.9079 GB, free: 13.01 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.002146/0.1177, allocations: 3.179 MB / 0.911 GB, free: 9.598 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001161/0.1189, allocations: 0.511 MB / 0.9115 GB, free: 9.105 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003378/0.1223, allocations: 2.944 MB / 0.9144 GB, free: 6.082 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003522/0.1226, allocations: 463.1 kB / 0.9148 GB, free: 5.605 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0006393/0.1233, allocations: 300.4 kB / 0.9151 GB, free: 5.309 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007507/0.124, allocations: 485.8 kB / 0.9156 GB, free: 4.832 MB / 0.8698 GB Notification: Performance of SimCode: time 1.302e-06/0.124, allocations: 0 / 0.9156 GB, free: 4.832 MB / 0.8698 GB Notification: Performance of Templates: time 0.04309/0.1671, allocations: 44.97 MB / 0.9595 GB, free: 8.641 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_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: 5.789157318882644]