Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.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.Conversion.Examples.ACACTransformerFull,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.S.1.|load.S.2.|sou.S.1.|sou.S.2.|load.i.1.|load.i.2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.S.1.|load.S.2.|sou.S.1.|sou.S.2.|load.i.1.|load.i.2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.399/1.399, allocations: 251.9 MB / 266.9 MB, free: 10.98 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.001217/0.001217, allocations: 177.1 kB / 326.5 MB, free: 2.23 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.069/2.069, allocations: 205.4 MB / 0.5775 GB, free: 20.56 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.0009441/0.0009439, allocations: 100.4 kB / 0.6822 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003875/0.0003875, allocations: 12.56 kB / 0.7963 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2723/0.2727, allocations: 106.3 MB / 0.9001 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8129/1.086, allocations: 178.3 MB / 1.074 GB, free: 65.23 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004328/1.086, allocations: 94.98 kB / 1.074 GB, free: 65.23 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1104/1.197, allocations: 46.92 MB / 1.12 GB, free: 57.28 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.829e-06/1.197, allocations: 0 / 1.12 GB, free: 57.28 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.771e-05/1.197, allocations: 23.56 kB / 1.12 GB, free: 57.27 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: 184 * Number of variables: 184 Notification: Performance of Generate backend data structure: time 0.002954/1.2, allocations: 1.047 MB / 1.121 GB, free: 56.49 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/1.2, allocations: 11.81 kB / 1.121 GB, free: 56.49 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009151/1.209, allocations: 1.63 MB / 1.123 GB, free: 55.77 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002272/1.211, allocations: 0.6185 MB / 1.123 GB, free: 55.37 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.294e-05/1.211, allocations: 47.12 kB / 1.123 GB, free: 55.36 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000552/1.212, allocations: 65.09 kB / 1.124 GB, free: 55.35 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006047/1.218, allocations: 1.913 MB / 1.125 GB, free: 54.56 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.934e-05/1.218, allocations: 7.859 kB / 1.125 GB, free: 54.55 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001726/1.218, allocations: 30.02 kB / 1.125 GB, free: 54.54 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004105/1.219, allocations: 157.8 kB / 1.126 GB, free: 54.49 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007573/1.226, allocations: 2.608 MB / 1.128 GB, free: 53.73 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009724/1.236, allocations: 6.664 MB / 1.135 GB, free: 49.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002813/1.239, allocations: 1.265 MB / 1.136 GB, free: 48.95 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002099/1.241, allocations: 1.49 MB / 1.137 GB, free: 48 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.626e-05/1.241, allocations: 42.28 kB / 1.137 GB, free: 47.96 MB / 0.698 GB Notification: Performance of pre-optimization done (n=73): time 3.326e-06/1.241, allocations: 0 / 1.137 GB, free: 47.96 MB / 0.698 GB Notification: Performance of matching and sorting (n=107): time 0.0233/1.264, allocations: 8.045 MB / 1.145 GB, free: 45.16 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.471e-05/1.264, allocations: 93.67 kB / 1.145 GB, free: 45.06 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006314/1.265, allocations: 0.5183 MB / 1.146 GB, free: 44.86 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001183/1.265, allocations: 44.8 kB / 1.146 GB, free: 44.82 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001753/1.265, allocations: 401.8 kB / 1.146 GB, free: 44.55 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000253/1.266, allocations: 371.3 kB / 1.147 GB, free: 44.28 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.727e-05/1.266, allocations: 26.41 kB / 1.147 GB, free: 44.28 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001114/1.266, allocations: 391.7 kB / 1.147 GB, free: 43.94 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002435/1.268, allocations: 1.102 MB / 1.148 GB, free: 43.66 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002608/1.271, allocations: 1.445 MB / 1.149 GB, free: 42.98 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002539/1.273, allocations: 1.22 MB / 1.151 GB, free: 42.71 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/1.274, allocations: 3.812 kB / 1.151 GB, free: 42.71 MB / 0.698 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.01357/1.287, allocations: 3.767 MB / 1.154 GB, free: 41.55 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009784/1.288, allocations: 3.914 MB / 1.158 GB, free: 37.42 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.41e-05/1.288, allocations: 19.7 kB / 1.158 GB, free: 37.41 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006851/1.295, allocations: 1.258 MB / 1.159 GB, free: 36.95 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003115/1.298, allocations: 462.6 kB / 1.16 GB, free: 36.79 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01483/1.313, allocations: 9.276 MB / 1.169 GB, free: 31.33 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003567/1.317, allocations: 310.8 kB / 1.169 GB, free: 31.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002611/1.317, allocations: 62.47 kB / 1.169 GB, free: 31.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/1.317, allocations: 3.906 kB / 1.169 GB, free: 31.2 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01345/1.33, allocations: 3.476 MB / 1.173 GB, free: 30.18 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.876e-05/1.331, allocations: 12.66 kB / 1.173 GB, free: 30.18 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0052/1.336, allocations: 1.029 MB / 1.174 GB, free: 29.81 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003184/1.339, allocations: 474.9 kB / 1.174 GB, free: 29.65 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01643/1.355, allocations: 10.39 MB / 1.184 GB, free: 23.32 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003483/1.359, allocations: 304 kB / 1.185 GB, free: 23.21 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002518/1.359, allocations: 70.53 kB / 1.185 GB, free: 23.19 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (122): * Single equations (assignments): 118 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 9} * Non-linear torn systems: 1 {3 9} Notification: Performance of prepare postOptimizeDAE: time 0.001009/1.36, allocations: 386.4 kB / 1.185 GB, free: 22.95 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000327/1.361, allocations: 85 kB / 1.185 GB, free: 22.91 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01323/1.374, allocations: 3.678 MB / 1.189 GB, free: 21.69 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.615e-05/1.374, allocations: 11 kB / 1.189 GB, free: 21.69 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.339e-05/1.374, allocations: 11.69 kB / 1.189 GB, free: 21.68 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.398e-05/1.374, allocations: 7.984 kB / 1.189 GB, free: 21.68 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01143/1.385, allocations: 5.405 MB / 1.194 GB, free: 17.56 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.696e-06/1.385, allocations: 4 kB / 1.194 GB, free: 17.56 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001491/1.387, allocations: 364.9 kB / 1.194 GB, free: 17.21 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003938/1.391, allocations: 1.171 MB / 1.195 GB, free: 16.16 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001081/1.391, allocations: 39.47 kB / 1.196 GB, free: 16.14 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01082/1.402, allocations: 10.85 MB / 1.206 GB, free: 5.527 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/1.402, allocations: 7.938 kB / 1.206 GB, free: 5.52 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008665/1.411, allocations: 3.861 MB / 1.21 GB, free: 1.414 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009787/1.412, allocations: 339.9 kB / 1.21 GB, free: 1.062 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001444/1.412, allocations: 24 kB / 1.21 GB, free: 1.039 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001729/1.413, allocations: 311.5 kB / 1.211 GB, free: 0.7344 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003362/1.414, allocations: 108.1 kB / 1.211 GB, free: 0.6289 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.6e-05/1.414, allocations: 43.98 kB / 1.211 GB, free: 0.5859 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004948/1.414, allocations: 406.8 kB / 1.211 GB, free: 196 kB / 0.698 GB Notification: Performance of sort global known variables: time 3.01e-07/1.414, allocations: 0 / 1.211 GB, free: 196 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.002524/1.417, allocations: 0.6015 MB / 1.212 GB, free: 15.59 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * 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 (68): * Single equations (assignments): 64 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,100.0%) 9,(2,100.0%) 8,(2,100.0%) 8} * Non-linear torn systems: 1 {3 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003373/1.417, allocations: 162.9 kB / 1.212 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.01321/1.431, allocations: 5.417 MB / 1.217 GB, free: 9.914 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.639e-05/1.431, allocations: 4 kB / 1.217 GB, free: 9.91 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.005195/1.436, allocations: 2.057 MB / 1.219 GB, free: 7.801 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001192/1.437, allocations: 134.8 kB / 1.219 GB, free: 7.668 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01075/1.448, allocations: 3.812 MB / 1.223 GB, free: 3.762 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009788/1.449, allocations: 1.115 MB / 1.224 GB, free: 2.617 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002175/1.451, allocations: 0.5343 MB / 1.225 GB, free: 2.078 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003345/1.451, allocations: 87.38 kB / 1.225 GB, free: 1.992 MB / 0.7136 GB Notification: Performance of SimCode: time 2.054e-06/1.451, allocations: 0 / 1.225 GB, free: 1.992 MB / 0.7136 GB Notification: Performance of Templates: time 0.04354/1.495, allocations: 24.61 MB / 1.249 GB, free: 9.473 MB / 0.7448 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformerFull.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches