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.001146/0.001146, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001624/0.001624, allocations: 161.4 kB / 23.82 MB, free: 0.75 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.9827/0.9827, allocations: 177.1 MB / 204.2 MB, free: 5.637 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.793/1.793, allocations: 359 MB / 0.6052 GB, free: 11.03 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.864e-06/1.864e-06, allocations: 0 / 0.7871 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.574e-05/2.76e-05, allocations: 3.312 kB / 0.7871 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.00879/0.008818, allocations: 6.843 MB / 0.7938 GB, free: 5.668 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.005428/0.01425, allocations: 2.433 MB / 0.7962 GB, free: 3.242 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001277/0.01552, allocations: 75.31 kB / 0.7962 GB, free: 3.168 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.001133/0.01666, allocations: 337.3 kB / 0.7965 GB, free: 2.836 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.002206/0.01886, allocations: 0.855 MB / 0.7974 GB, free: 1.984 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001288/0.02015, allocations: 0.5691 MB / 0.7979 GB, free: 1.418 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.002753/0.0229, allocations: 2.205 MB / 0.8001 GB, free: 15.21 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001499/0.0244, allocations: 1.025 MB / 0.8011 GB, free: 14.16 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001871/0.02627, allocations: 1.206 MB / 0.8023 GB, free: 12.95 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001262/0.02753, allocations: 0.8343 MB / 0.8031 GB, free: 12.12 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0002534/0.02779, allocations: 116 kB / 0.8032 GB, free: 12 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006051/0.02839, allocations: 242 kB / 0.8034 GB, free: 11.77 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0005587/0.02895, allocations: 0.5802 MB / 0.804 GB, free: 11.19 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0007733/0.02972, allocations: 0.5299 MB / 0.8045 GB, free: 10.66 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.001629/0.03135, allocations: 1.3 MB / 0.8058 GB, free: 9.352 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 7.114e-06/0.03136, allocations: 3.984 kB / 0.8058 GB, free: 9.348 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.633e-06/0.03136, allocations: 0 / 0.8058 GB, free: 9.348 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.676e-05/0.0314, allocations: 2.062 kB / 0.8058 GB, free: 9.348 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.002532/0.03393, allocations: 1.813 MB / 0.8076 GB, free: 7.488 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.099e-05/0.03398, allocations: 8.594 kB / 0.8076 GB, free: 7.48 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004212/0.03819, allocations: 0.9719 MB / 0.8085 GB, free: 6.508 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001688/0.03988, allocations: 0.9695 MB / 0.8095 GB, free: 5.516 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.847e-05/0.03997, allocations: 98.89 kB / 0.8096 GB, free: 5.418 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000219/0.04019, allocations: 132.3 kB / 0.8097 GB, free: 5.289 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002452/0.04264, allocations: 1.834 MB / 0.8115 GB, free: 3.105 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.454e-05/0.04269, allocations: 8.125 kB / 0.8115 GB, free: 3.098 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001361/0.04282, allocations: 64.34 kB / 0.8115 GB, free: 3.035 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002114/0.04303, allocations: 166.2 kB / 0.8117 GB, free: 2.871 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001841/0.04487, allocations: 0.8369 MB / 0.8125 GB, free: 2.023 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009706/0.05458, allocations: 11.47 MB / 0.8237 GB, free: 6.188 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003378/0.05796, allocations: 1.576 MB / 0.8253 GB, free: 4.602 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000567/0.05853, allocations: 218.6 kB / 0.8255 GB, free: 4.387 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001358/0.05866, allocations: 32.98 kB / 0.8255 GB, free: 4.355 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.945e-05/0.0587, allocations: 42.39 kB / 0.8255 GB, free: 4.301 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=103): time 3.797e-06/0.0587, allocations: 0 / 0.8255 GB, free: 4.301 MB / 0.7761 GB Notification: Performance of matching and sorting (n=110): time 0.003587/0.06229, allocations: 1.774 MB / 0.8273 GB, free: 2.504 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.499e-05/0.06233, allocations: 68.41 kB / 0.8273 GB, free: 2.426 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006426/0.06297, allocations: 0.8519 MB / 0.8282 GB, free: 1.551 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.217e-05/0.06301, allocations: 45.7 kB / 0.8282 GB, free: 1.5 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003551/0.06337, allocations: 0.7989 MB / 0.829 GB, free: 0.6914 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002007/0.06357, allocations: 404.6 kB / 0.8294 GB, free: 300 kB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002638/0.06383, allocations: 297.1 kB / 0.8297 GB, free: 15.99 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001035/0.06393, allocations: 480.7 kB / 0.8301 GB, free: 15.52 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003681/0.0643, allocations: 271.8 kB / 0.8304 GB, free: 15.25 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006656/0.06497, allocations: 0.9659 MB / 0.8313 GB, free: 13.99 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001207/0.06617, allocations: 1.341 MB / 0.8326 GB, free: 12.35 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.009e-05/0.06618, allocations: 8 kB / 0.8326 GB, free: 12.34 MB / 0.7917 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.001683/0.06787, allocations: 1.463 MB / 0.8341 GB, free: 10.84 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.995e-05/0.0679, allocations: 14.03 kB / 0.8341 GB, free: 10.83 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.6e-05/0.06791, allocations: 20.12 kB / 0.8341 GB, free: 10.81 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004961/0.06841, allocations: 225.3 kB / 0.8343 GB, free: 10.55 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007376/0.06915, allocations: 375.4 kB / 0.8347 GB, free: 10.19 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006213/0.07536, allocations: 14 MB / 0.8483 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007568/0.07612, allocations: 127.8 kB / 0.8485 GB, free: 11.08 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.32e-05/0.07619, allocations: 67.94 kB / 0.8485 GB, free: 11.02 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.0003376/0.07653, allocations: 268.1 kB / 0.8488 GB, free: 10.74 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001519/0.07668, allocations: 167.2 kB / 0.8489 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001254/0.07793, allocations: 0.9791 MB / 0.8499 GB, free: 9.551 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.722e-06/0.07794, allocations: 12 kB / 0.8499 GB, free: 9.539 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.07795, allocations: 8 kB / 0.8499 GB, free: 9.531 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.07795, allocations: 7.984 kB / 0.8499 GB, free: 9.523 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002534/0.08049, allocations: 2.136 MB / 0.852 GB, free: 7.223 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.08049, allocations: 4 kB / 0.852 GB, free: 7.219 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004483/0.08094, allocations: 219.6 kB / 0.8522 GB, free: 7.004 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004024/0.08135, allocations: 217.3 kB / 0.8524 GB, free: 6.758 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.599e-05/0.08139, allocations: 24 kB / 0.8525 GB, free: 6.734 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005337/0.08673, allocations: 13.99 MB / 0.8661 GB, free: 7.766 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.08673, allocations: 4 kB / 0.8661 GB, free: 7.762 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001494/0.08823, allocations: 1.267 MB / 0.8674 GB, free: 6.352 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003582/0.08858, allocations: 227 kB / 0.8676 GB, free: 6.129 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.84e-05/0.08866, allocations: 24 kB / 0.8676 GB, free: 6.105 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003697/0.08903, allocations: 91.86 kB / 0.8677 GB, free: 6.016 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001401/0.08917, allocations: 100.7 kB / 0.8678 GB, free: 5.914 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.022e-05/0.08921, allocations: 36 kB / 0.8678 GB, free: 5.879 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0004172/0.08963, allocations: 0.51 MB / 0.8683 GB, free: 5.359 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.08963, allocations: 0 / 0.8683 GB, free: 5.359 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001003/0.09063, allocations: 400 kB / 0.8687 GB, free: 4.969 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.0002002/0.09083, allocations: 139 kB / 0.8688 GB, free: 4.82 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001863/0.0927, allocations: 2.252 MB / 0.871 GB, free: 2.434 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.0927, allocations: 0 / 0.871 GB, free: 2.434 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001056/0.09376, allocations: 1.742 MB / 0.8727 GB, free: 0.5469 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009243/0.09468, allocations: 345.3 kB / 0.8731 GB, free: 220 kB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003211/0.09789, allocations: 2.536 MB / 0.8755 GB, free: 13.54 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002715/0.09816, allocations: 361.3 kB / 0.8759 GB, free: 13.16 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0005352/0.0987, allocations: 290.9 kB / 0.8762 GB, free: 12.87 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001961/0.0989, allocations: 92.48 kB / 0.8762 GB, free: 12.78 MB / 0.8386 GB Notification: Performance of SimCode: time 1.383e-06/0.0989, allocations: 0 / 0.8762 GB, free: 12.78 MB / 0.8386 GB Notification: Performance of Templates: time 0.02142/0.1203, allocations: 17.46 MB / 0.8933 GB, free: 11.67 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.666443150956184]