Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen_Y.S.1.|sen_Y.S.2.|sen_D.S.1.|sen_D.S.2.|errorY|errorD",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen_Y.S.1.|sen_Y.S.2.|sen_D.S.1.|sen_D.S.2.|errorY|errorD",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.421/1.421, allocations: 249.5 MB / 257 MB, free: 7 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001005/0.001005, allocations: 180.8 kB / 316.3 MB, free: 3.324 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.636/1.636, allocations: 205.3 MB / 0.5671 GB, free: 15.94 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009812/0.0009813, allocations: 82.53 kB / 0.6714 GB, free: 5.055 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.82e-05/1.821e-05, allocations: 0 / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2299/0.2299, allocations: 106.3 MB / 0.8852 GB, free: 12.31 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.736/0.966, allocations: 156.3 MB / 1.038 GB, free: 15.22 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003361/0.9664, allocations: 92.75 kB / 1.038 GB, free: 15.17 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.1969/1.163, allocations: 85.9 MB / 1.122 GB, free: 3.332 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.282e-06/1.163, allocations: 0 / 1.122 GB, free: 3.332 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.409e-05/1.163, allocations: 47.92 kB / 1.122 GB, free: 3.285 MB / 0.7292 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.002608/1.166, allocations: 1.525 MB / 1.123 GB, free: 1.707 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/1.166, allocations: 8.031 kB / 1.123 GB, free: 1.699 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004229/1.17, allocations: 0.6145 MB / 1.124 GB, free: 1.082 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001341/1.172, allocations: 0.888 MB / 1.125 GB, free: 156 kB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.392e-05/1.172, allocations: 40 kB / 1.125 GB, free: 116 kB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001795/1.172, allocations: 79.91 kB / 1.125 GB, free: 36 kB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002054/1.174, allocations: 1.349 MB / 1.126 GB, free: 14.68 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002772/1.177, allocations: 2.113 MB / 1.128 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.374e-05/1.177, allocations: 15.86 kB / 1.128 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001209/1.177, allocations: 8 kB / 1.128 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001794/1.177, allocations: 142.3 kB / 1.128 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01123/1.188, allocations: 12.21 MB / 1.14 GB, free: 14.96 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003431/1.192, allocations: 1.798 MB / 1.142 GB, free: 13.15 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007694/1.193, allocations: 0.5669 MB / 1.143 GB, free: 12.58 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001648/1.193, allocations: 98.39 kB / 1.143 GB, free: 12.47 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.312e-05/1.193, allocations: 47.88 kB / 1.143 GB, free: 12.41 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=103): time 4.258e-06/1.193, allocations: 4 kB / 1.143 GB, free: 12.41 MB / 0.7605 GB Notification: Performance of matching and sorting (n=110): time 0.00446/1.197, allocations: 2.415 MB / 1.145 GB, free: 9.98 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.771e-05/1.197, allocations: 60.72 kB / 1.145 GB, free: 9.91 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007278/1.198, allocations: 0.6561 MB / 1.146 GB, free: 9.234 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 5.506e-05/1.198, allocations: 25.7 kB / 1.146 GB, free: 9.203 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004019/1.199, allocations: 0.7121 MB / 1.147 GB, free: 8.48 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002435/1.199, allocations: 378.5 kB / 1.147 GB, free: 8.105 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.45e-05/1.199, allocations: 0 / 1.147 GB, free: 8.105 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001234/1.199, allocations: 357.9 kB / 1.147 GB, free: 7.75 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000703/1.2, allocations: 0.5622 MB / 1.148 GB, free: 7.188 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009987/1.201, allocations: 0.9896 MB / 1.149 GB, free: 6.008 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001581/1.202, allocations: 0.8531 MB / 1.15 GB, free: 5.152 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.366e-06/1.202, allocations: 4 kB / 1.15 GB, free: 5.148 MB / 0.7605 GB Notification: Performance of matching and sorting (n=187) (initialization): time 0.003519/1.206, allocations: 1.994 MB / 1.152 GB, free: 3.121 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.961e-05/1.206, allocations: 15.98 kB / 1.152 GB, free: 3.105 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.849e-05/1.206, allocations: 16 kB / 1.152 GB, free: 3.09 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007614/1.207, allocations: 250.8 kB / 1.152 GB, free: 2.82 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001232/1.208, allocations: 359.4 kB / 1.152 GB, free: 2.469 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007604/1.216, allocations: 10.33 MB / 1.162 GB, free: 7.219 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001436/1.217, allocations: 87.86 kB / 1.162 GB, free: 7.133 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001129/1.217, allocations: 71.92 kB / 1.162 GB, free: 7.062 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (179): * Single equations (assignments): 171 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(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%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002643/1.217, allocations: 152.6 kB / 1.163 GB, free: 6.906 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001584/1.218, allocations: 126.5 kB / 1.163 GB, free: 6.781 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00293/1.221, allocations: 1.635 MB / 1.164 GB, free: 5.109 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-05/1.221, allocations: 15.95 kB / 1.164 GB, free: 5.094 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/1.221, allocations: 0 / 1.164 GB, free: 5.094 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/1.221, allocations: 3.984 kB / 1.164 GB, free: 5.09 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004742/1.225, allocations: 3.05 MB / 1.167 GB, free: 1.902 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.306e-06/1.225, allocations: 8 kB / 1.167 GB, free: 1.895 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008481/1.226, allocations: 215.6 kB / 1.168 GB, free: 1.684 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006883/1.227, allocations: 235.3 kB / 1.168 GB, free: 1.43 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.962e-05/1.227, allocations: 12 kB / 1.168 GB, free: 1.418 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00756/1.235, allocations: 10.3 MB / 1.178 GB, free: 6.195 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.127e-05/1.235, allocations: 8.219 kB / 1.178 GB, free: 6.188 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003056/1.238, allocations: 2.048 MB / 1.18 GB, free: 3.906 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005456/1.238, allocations: 311.5 kB / 1.18 GB, free: 3.582 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001386/1.238, allocations: 11.98 kB / 1.18 GB, free: 3.57 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006933/1.239, allocations: 71.88 kB / 1.18 GB, free: 3.5 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001662/1.239, allocations: 100.5 kB / 1.18 GB, free: 3.398 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.079e-05/1.239, allocations: 36 kB / 1.18 GB, free: 3.363 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0005899/1.24, allocations: 497.7 kB / 1.181 GB, free: 2.867 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.5e-07/1.24, allocations: 4 kB / 1.181 GB, free: 2.863 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.001361/1.241, allocations: 351.9 kB / 1.181 GB, free: 2.52 MB / 0.7917 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(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%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002412/1.242, allocations: 137.9 kB / 1.181 GB, free: 2.379 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.003033/1.245, allocations: 2.304 MB / 1.184 GB, free: 15.99 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/1.245, allocations: 0 / 1.184 GB, free: 15.99 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.001765/1.246, allocations: 1.526 MB / 1.185 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001387/1.248, allocations: 283.2 kB / 1.185 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003515/1.251, allocations: 2.104 MB / 1.187 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009018/1.252, allocations: 1.355 MB / 1.189 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.001003/1.253, allocations: 350.3 kB / 1.189 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002497/1.254, allocations: 91.42 kB / 1.189 GB, free: 10.08 MB / 0.8073 GB Notification: Performance of SimCode: time 1.022e-06/1.254, allocations: 0 / 1.189 GB, free: 10.08 MB / 0.8073 GB Notification: Performance of Templates: time 0.02501/1.279, allocations: 14.55 MB / 1.203 GB, free: 11.66 MB / 0.823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches