Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.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.0007888/0.0007888, allocations: 83.59 kB / 20.45 MB, free: 4.113 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.0009781/0.0009781, allocations: 165 kB / 23.82 MB, free: 0.7422 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.9203/0.9203, allocations: 177.1 MB / 204.2 MB, free: 5.598 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.68/1.68, allocations: 359 MB / 0.6052 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.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen_Y.S.[0-9,]+.|sen_D.S.[0-9,]+.|errorY|errorD",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen_Y.S.[0-9,]+.|sen_D.S.[0-9,]+.|errorY|errorD",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 0.7871 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.395e-05/1.568e-05, allocations: 2.906 kB / 0.7871 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.005829/0.005845, allocations: 6.821 MB / 0.7938 GB, free: 5.609 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.004032/0.009877, allocations: 2.456 MB / 0.7962 GB, free: 3.164 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007168/0.01059, allocations: 71.38 kB / 0.7962 GB, free: 3.094 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0009443/0.01154, allocations: 337.3 kB / 0.7966 GB, free: 2.762 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.001508/0.01305, allocations: 0.8619 MB / 0.7974 GB, free: 1.902 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009013/0.01395, allocations: 0.5625 MB / 0.7979 GB, free: 1.344 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.00175/0.0157, allocations: 2.201 MB / 0.8001 GB, free: 15.14 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009763/0.01667, allocations: 1.025 MB / 0.8011 GB, free: 14.09 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00114/0.01781, allocations: 1.217 MB / 0.8023 GB, free: 12.87 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001036/0.01885, allocations: 0.8629 MB / 0.8031 GB, free: 12.01 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0001561/0.01901, allocations: 114.3 kB / 0.8032 GB, free: 11.9 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000414/0.01942, allocations: 247.6 kB / 0.8035 GB, free: 11.66 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0003634/0.01978, allocations: 0.5647 MB / 0.804 GB, free: 11.09 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0004434/0.02023, allocations: 0.526 MB / 0.8045 GB, free: 10.56 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.001088/0.02132, allocations: 1.288 MB / 0.8058 GB, free: 9.27 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.02132, allocations: 0 / 0.8058 GB, free: 9.27 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.753e-06/0.02132, allocations: 0.5 kB / 0.8058 GB, free: 9.27 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 2.994e-05/0.02135, allocations: 0 / 0.8058 GB, free: 9.27 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: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.001719/0.02307, allocations: 1.819 MB / 0.8076 GB, free: 7.406 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.02311, allocations: 8.031 kB / 0.8076 GB, free: 7.398 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002198/0.02531, allocations: 0.9191 MB / 0.8085 GB, free: 6.48 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009864/0.02629, allocations: 0.9455 MB / 0.8094 GB, free: 5.512 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.048e-05/0.02634, allocations: 94.89 kB / 0.8095 GB, free: 5.418 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002838/0.02663, allocations: 132.3 kB / 0.8096 GB, free: 5.289 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001604/0.02823, allocations: 1.842 MB / 0.8114 GB, free: 3.098 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.514e-05/0.02827, allocations: 12.11 kB / 0.8114 GB, free: 3.086 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001043/0.02837, allocations: 68.09 kB / 0.8115 GB, free: 3.02 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001379/0.02851, allocations: 162.3 kB / 0.8117 GB, free: 2.859 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001166/0.02967, allocations: 0.8251 MB / 0.8125 GB, free: 2.023 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006399/0.03607, allocations: 11.48 MB / 0.8237 GB, free: 6.18 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002076/0.03815, allocations: 1.574 MB / 0.8252 GB, free: 4.594 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002831/0.03843, allocations: 214.6 kB / 0.8254 GB, free: 4.383 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 8.627e-05/0.03852, allocations: 28.98 kB / 0.8254 GB, free: 4.355 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.802e-05/0.03855, allocations: 46.39 kB / 0.8255 GB, free: 4.297 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=103): time 2.545e-06/0.03855, allocations: 0 / 0.8255 GB, free: 4.297 MB / 0.7761 GB Notification: Performance of matching and sorting (n=110): time 0.002489/0.04104, allocations: 1.778 MB / 0.8272 GB, free: 2.496 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.358e-05/0.04107, allocations: 64.41 kB / 0.8273 GB, free: 2.422 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005883/0.04166, allocations: 0.8598 MB / 0.8281 GB, free: 1.539 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.305e-05/0.0417, allocations: 41.7 kB / 0.8282 GB, free: 1.492 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003282/0.04203, allocations: 0.8028 MB / 0.8289 GB, free: 0.6797 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002019/0.04223, allocations: 404.6 kB / 0.8293 GB, free: 288 kB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002445/0.04248, allocations: 289 kB / 0.8296 GB, free: 15.98 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 9.364e-05/0.04257, allocations: 480.7 kB / 0.8301 GB, free: 15.51 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003503/0.04292, allocations: 279.8 kB / 0.8303 GB, free: 15.24 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000757/0.04368, allocations: 0.9659 MB / 0.8313 GB, free: 13.98 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001073/0.04475, allocations: 1.341 MB / 0.8326 GB, free: 12.34 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.202e-06/0.04476, allocations: 4 kB / 0.8326 GB, free: 12.33 MB / 0.7917 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.001562/0.04632, allocations: 1.462 MB / 0.834 GB, free: 10.83 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.04634, allocations: 12.97 kB / 0.834 GB, free: 10.82 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.415e-05/0.04635, allocations: 16 kB / 0.834 GB, free: 10.8 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004475/0.0468, allocations: 233.3 kB / 0.8343 GB, free: 10.54 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006581/0.04746, allocations: 371.4 kB / 0.8346 GB, free: 10.18 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005184/0.05264, allocations: 14 MB / 0.8483 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004985/0.05314, allocations: 127.8 kB / 0.8484 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-05/0.05321, allocations: 75.92 kB / 0.8485 GB, free: 11 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (187): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002395/0.05345, allocations: 252.1 kB / 0.8487 GB, free: 10.74 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001373/0.05359, allocations: 167.2 kB / 0.8489 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001163/0.05475, allocations: 0.987 MB / 0.8498 GB, free: 9.539 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.05475, allocations: 8 kB / 0.8499 GB, free: 9.531 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.05476, allocations: 4 kB / 0.8499 GB, free: 9.527 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.05476, allocations: 3.984 kB / 0.8499 GB, free: 9.523 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002402/0.05717, allocations: 2.136 MB / 0.8519 GB, free: 7.223 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.189e-06/0.05717, allocations: 4.094 kB / 0.852 GB, free: 7.219 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004373/0.05761, allocations: 227.6 kB / 0.8522 GB, free: 6.996 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005063/0.05812, allocations: 209.3 kB / 0.8524 GB, free: 6.758 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.745e-05/0.05816, allocations: 28 kB / 0.8524 GB, free: 6.73 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005163/0.06333, allocations: 13.99 MB / 0.8661 GB, free: 7.758 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.06333, allocations: 4 kB / 0.8661 GB, free: 7.754 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001163/0.06449, allocations: 1.267 MB / 0.8673 GB, free: 6.344 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002416/0.06473, allocations: 223 kB / 0.8675 GB, free: 6.125 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.906e-05/0.06481, allocations: 31.98 kB / 0.8675 GB, free: 6.094 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003378/0.06515, allocations: 87.88 kB / 0.8676 GB, free: 6.008 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001454/0.0653, allocations: 100.7 kB / 0.8677 GB, free: 5.906 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.833e-05/0.06533, allocations: 32 kB / 0.8678 GB, free: 5.875 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.000389/0.06572, allocations: 0.5178 MB / 0.8683 GB, free: 5.348 MB / 0.823 GB Notification: Performance of sort global known variables: time 8e-08/0.06572, allocations: 3.938 kB / 0.8683 GB, free: 5.344 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0008196/0.06654, allocations: 388 kB / 0.8686 GB, free: 4.965 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (109): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000183/0.06673, allocations: 143 kB / 0.8688 GB, free: 4.812 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001701/0.06843, allocations: 2.253 MB / 0.871 GB, free: 2.426 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.06843, allocations: 4 kB / 0.871 GB, free: 2.422 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001152/0.06958, allocations: 1.738 MB / 0.8727 GB, free: 0.5391 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008732/0.07046, allocations: 365.3 kB / 0.873 GB, free: 192 kB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002735/0.07319, allocations: 2.534 MB / 0.8755 GB, free: 13.51 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002506/0.07344, allocations: 361.3 kB / 0.8758 GB, free: 13.14 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0004804/0.07392, allocations: 287 kB / 0.8761 GB, free: 12.85 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001788/0.0741, allocations: 92.48 kB / 0.8762 GB, free: 12.76 MB / 0.8386 GB Notification: Performance of SimCode: time 8.92e-07/0.0741, allocations: 0 / 0.8762 GB, free: 12.76 MB / 0.8386 GB Notification: Performance of Templates: time 0.02084/0.09494, allocations: 18.29 MB / 0.8941 GB, free: 10.82 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.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.1463645859621465]