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.474/1.474, allocations: 251.9 MB / 266.9 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001242/0.001241, allocations: 187.3 kB / 326.5 MB, free: 2.242 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.74/1.74, allocations: 205.4 MB / 0.5775 GB, free: 20.21 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.00104/0.00104, allocations: 96.8 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003334/0.0003335, allocations: 6.188 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2255/0.2258, allocations: 106.3 MB / 0.9001 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.198/0.4238, allocations: 156.1 MB / 1.053 GB, free: 3.648 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000294/0.4242, allocations: 103.9 kB / 1.053 GB, free: 3.547 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.7037/1.128, allocations: 86.75 MB / 1.137 GB, free: 94.64 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.446e-06/1.128, allocations: 0 / 1.137 GB, free: 94.64 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.036e-05/1.128, allocations: 43.94 kB / 1.137 GB, free: 94.6 MB / 0.698 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.002979/1.131, allocations: 1.661 MB / 1.139 GB, free: 92.88 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/1.131, allocations: 8.031 kB / 1.139 GB, free: 92.87 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004426/1.136, allocations: 0.6221 MB / 1.14 GB, free: 92.25 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001684/1.137, allocations: 0.8881 MB / 1.14 GB, free: 91.31 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.944e-05/1.137, allocations: 90.52 kB / 1.141 GB, free: 91.22 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001789/1.137, allocations: 132 kB / 1.141 GB, free: 91.09 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002637/1.14, allocations: 2.326 MB / 1.143 GB, free: 88.47 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.703e-05/1.14, allocations: 7.938 kB / 1.143 GB, free: 88.46 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000136/1.14, allocations: 63.97 kB / 1.143 GB, free: 88.4 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001403/1.14, allocations: 142.3 kB / 1.143 GB, free: 88.26 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002223/1.143, allocations: 1.859 MB / 1.145 GB, free: 86.39 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009698/1.152, allocations: 12.51 MB / 1.157 GB, free: 72.93 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003152/1.156, allocations: 1.858 MB / 1.159 GB, free: 71.06 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001406/1.156, allocations: 106.1 kB / 1.159 GB, free: 70.94 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.982e-05/1.156, allocations: 43.56 kB / 1.159 GB, free: 70.89 MB / 0.698 GB Notification: Performance of pre-optimization done (n=103): time 3.577e-06/1.156, allocations: 0 / 1.159 GB, free: 70.89 MB / 0.698 GB Notification: Performance of matching and sorting (n=110): time 0.005122/1.161, allocations: 3.706 MB / 1.163 GB, free: 67.02 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.605e-05/1.161, allocations: 68.34 kB / 1.163 GB, free: 66.94 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009063/1.162, allocations: 0.7938 MB / 1.164 GB, free: 66.13 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.121e-05/1.162, allocations: 45.7 kB / 1.164 GB, free: 66.08 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003346/1.162, allocations: 0.7084 MB / 1.164 GB, free: 65.36 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002545/1.163, allocations: 382.5 kB / 1.165 GB, free: 64.98 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.078e-05/1.163, allocations: 28 kB / 1.165 GB, free: 64.96 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001225/1.163, allocations: 365.9 kB / 1.165 GB, free: 64.59 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007133/1.163, allocations: 0.5973 MB / 1.166 GB, free: 64 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009372/1.164, allocations: 1.044 MB / 1.167 GB, free: 62.75 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008643/1.165, allocations: 0.7486 MB / 1.167 GB, free: 62 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.74e-06/1.165, allocations: 7.953 kB / 1.167 GB, free: 62 MB / 0.698 GB Notification: Performance of matching and sorting (n=187) (initialization): time 0.002715/1.168, allocations: 2.037 MB / 1.169 GB, free: 59.93 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.588e-05/1.168, allocations: 12 kB / 1.169 GB, free: 59.92 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.673e-05/1.168, allocations: 12 kB / 1.169 GB, free: 59.91 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007331/1.169, allocations: 263 kB / 1.17 GB, free: 59.62 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001141/1.17, allocations: 363.4 kB / 1.17 GB, free: 59.27 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005558/1.176, allocations: 10.82 MB / 1.181 GB, free: 47.39 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001229/1.177, allocations: 119.9 kB / 1.181 GB, free: 47.27 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.757e-05/1.177, allocations: 67.98 kB / 1.181 GB, free: 47.2 MB / 0.698 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 () * Number of clocked 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.0007/1.178, allocations: 397.2 kB / 1.181 GB, free: 46.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001574/1.178, allocations: 138.5 kB / 1.181 GB, free: 46.67 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002363/1.18, allocations: 1.665 MB / 1.183 GB, free: 44.97 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/1.18, allocations: 12 kB / 1.183 GB, free: 44.96 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/1.18, allocations: 0 / 1.183 GB, free: 44.96 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.141e-05/1.18, allocations: 11.92 kB / 1.183 GB, free: 44.95 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004353/1.185, allocations: 3.288 MB / 1.186 GB, free: 41.51 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/1.185, allocations: 8.094 kB / 1.186 GB, free: 41.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007553/1.185, allocations: 227.6 kB / 1.186 GB, free: 41.28 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006143/1.186, allocations: 242.6 kB / 1.187 GB, free: 41.02 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.274e-05/1.186, allocations: 28 kB / 1.187 GB, free: 40.99 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005427/1.192, allocations: 10.81 MB / 1.197 GB, free: 29.11 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/1.192, allocations: 11.94 kB / 1.197 GB, free: 29.1 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00242/1.194, allocations: 2.068 MB / 1.199 GB, free: 26.82 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006933/1.195, allocations: 331.2 kB / 1.2 GB, free: 26.47 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001358/1.195, allocations: 31.94 kB / 1.2 GB, free: 26.44 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006478/1.195, allocations: 87.88 kB / 1.2 GB, free: 26.36 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001668/1.196, allocations: 92.78 kB / 1.2 GB, free: 26.27 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.764e-05/1.196, allocations: 39.98 kB / 1.2 GB, free: 26.23 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006489/1.196, allocations: 0.6138 MB / 1.2 GB, free: 25.61 MB / 0.698 GB Notification: Performance of sort global known variables: time 9.52e-07/1.196, allocations: 0 / 1.2 GB, free: 25.61 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001336/1.198, allocations: 399.9 kB / 1.201 GB, free: 25.21 MB / 0.698 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 (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.0002165/1.198, allocations: 155 kB / 1.201 GB, free: 25.05 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002747/1.201, allocations: 2.449 MB / 1.203 GB, free: 22.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/1.201, allocations: 0.875 kB / 1.203 GB, free: 22.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001819/1.203, allocations: 1.629 MB / 1.205 GB, free: 20.77 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001731/1.204, allocations: 314.1 kB / 1.205 GB, free: 20.47 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004604/1.209, allocations: 3.245 MB / 1.208 GB, free: 17.13 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007934/1.21, allocations: 1.356 MB / 1.21 GB, free: 15.73 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001049/1.211, allocations: 355 kB / 1.21 GB, free: 15.38 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002514/1.211, allocations: 95.42 kB / 1.21 GB, free: 15.29 MB / 0.698 GB Notification: Performance of SimCode: time 1.322e-06/1.211, allocations: 0 / 1.21 GB, free: 15.29 MB / 0.698 GB Notification: Performance of Templates: time 0.02189/1.233, allocations: 15.74 MB / 1.225 GB, free: 15.69 MB / 0.7136 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