Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.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.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RL.i.1.|RL.i.2.|sen.V|sen.theta",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RL.i.1.|RL.i.2.|sen.V|sen.theta",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.402/1.402, allocations: 249.5 MB / 257 MB, free: 6.867 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.001057/0.001057, allocations: 184.9 kB / 316.3 MB, free: 3.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 1.341/1.341, allocations: 205.3 MB / 0.5671 GB, free: 15.9 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.0009665/0.0009667, allocations: 90.25 kB / 0.6714 GB, free: 5.023 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.177e-05/2.179e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2299/0.23, allocations: 106.3 MB / 0.8852 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8511/1.081, allocations: 152.3 MB / 1.034 GB, free: 2.969 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003083/1.082, allocations: 91.5 kB / 1.034 GB, free: 2.918 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.0284/1.11, allocations: 12.13 MB / 1.046 GB, free: 8.855 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.573e-06/1.11, allocations: 0 / 1.046 GB, free: 8.855 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.714e-05/1.11, allocations: 0 / 1.046 GB, free: 8.855 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006856/1.111, allocations: 459 kB / 1.046 GB, free: 8.375 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.36e-05/1.111, allocations: 8.031 kB / 1.046 GB, free: 8.367 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005893/1.111, allocations: 71.73 kB / 1.046 GB, free: 8.297 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003097/1.112, allocations: 227.8 kB / 1.047 GB, free: 8.047 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.913e-05/1.112, allocations: 4 kB / 1.047 GB, free: 8.043 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.386e-05/1.112, allocations: 8 kB / 1.047 GB, free: 8.035 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002921/1.112, allocations: 159.9 kB / 1.047 GB, free: 7.926 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003579/1.112, allocations: 256.7 kB / 1.047 GB, free: 7.688 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/1.112, allocations: 4 kB / 1.047 GB, free: 7.684 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.202e-05/1.112, allocations: 0 / 1.047 GB, free: 7.684 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.523e-05/1.113, allocations: 16.22 kB / 1.047 GB, free: 7.668 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001678/1.114, allocations: 1.545 MB / 1.049 GB, free: 6.125 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001148/1.114, allocations: 68.31 kB / 1.049 GB, free: 6.047 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.112e-05/1.114, allocations: 48.88 kB / 1.049 GB, free: 6 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 1.527e-05/1.114, allocations: 3.812 kB / 1.049 GB, free: 6 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.013e-05/1.114, allocations: 30.56 kB / 1.049 GB, free: 5.961 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=7): time 2.695e-06/1.115, allocations: 3.984 kB / 1.049 GB, free: 5.957 MB / 0.6667 GB Notification: Performance of matching and sorting (n=8): time 0.0004667/1.115, allocations: 170.9 kB / 1.049 GB, free: 5.801 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.809e-05/1.115, allocations: 81.09 kB / 1.049 GB, free: 5.703 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001993/1.115, allocations: 196.3 kB / 1.049 GB, free: 5.531 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/1.115, allocations: 25.7 kB / 1.049 GB, free: 5.5 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001184/1.115, allocations: 164 kB / 1.049 GB, free: 5.348 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 3.085e-05/1.115, allocations: 34.8 kB / 1.049 GB, free: 5.32 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.144e-05/1.115, allocations: 0 / 1.049 GB, free: 5.32 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001378/1.116, allocations: 322.3 kB / 1.05 GB, free: 5 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.344e-05/1.116, allocations: 69.03 kB / 1.05 GB, free: 4.957 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001382/1.116, allocations: 150.3 kB / 1.05 GB, free: 4.801 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002035/1.116, allocations: 111.4 kB / 1.05 GB, free: 4.723 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/1.116, allocations: 0 / 1.05 GB, free: 4.723 MB / 0.6667 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004008/1.116, allocations: 259.3 kB / 1.05 GB, free: 4.512 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004873/1.117, allocations: 1.135 MB / 1.051 GB, free: 3.309 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/1.117, allocations: 4 kB / 1.051 GB, free: 3.305 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/1.117, allocations: 7.938 kB / 1.051 GB, free: 3.297 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002362/1.117, allocations: 55.78 kB / 1.051 GB, free: 3.246 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215e-05/1.117, allocations: 7.938 kB / 1.051 GB, free: 3.238 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001887/1.117, allocations: 19.97 kB / 1.051 GB, free: 3.219 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.054e-05/1.118, allocations: 8 kB / 1.051 GB, free: 3.211 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/1.118, allocations: 7.984 kB / 1.051 GB, free: 3.203 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002988/1.118, allocations: 189.9 kB / 1.052 GB, free: 3.059 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/1.118, allocations: 12.02 kB / 1.052 GB, free: 3.047 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.719e-06/1.118, allocations: 4 kB / 1.052 GB, free: 3.043 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001799/1.118, allocations: 55.91 kB / 1.052 GB, free: 2.992 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.882e-06/1.118, allocations: 7.984 kB / 1.052 GB, free: 2.984 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001283/1.118, allocations: 15.89 kB / 1.052 GB, free: 2.969 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.512e-05/1.118, allocations: 8 kB / 1.052 GB, free: 2.961 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001004/1.118, allocations: 116.8 kB / 1.052 GB, free: 2.84 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.909e-05/1.118, allocations: 11.91 kB / 1.052 GB, free: 2.828 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002022/1.119, allocations: 119.7 kB / 1.052 GB, free: 2.723 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/1.119, allocations: 0 / 1.052 GB, free: 2.723 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/1.119, allocations: 0 / 1.052 GB, free: 2.723 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/1.119, allocations: 0 / 1.052 GB, free: 2.723 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000641/1.119, allocations: 0.5817 MB / 1.053 GB, free: 2.133 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/1.119, allocations: 0 / 1.053 GB, free: 2.133 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.267e-05/1.119, allocations: 23.11 kB / 1.053 GB, free: 2.113 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.511e-06/1.119, allocations: 4 kB / 1.053 GB, free: 2.109 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/1.119, allocations: 0 / 1.053 GB, free: 2.109 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.181e-06/1.119, allocations: 11.89 kB / 1.053 GB, free: 2.098 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/1.119, allocations: 0 / 1.053 GB, free: 2.098 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002941/1.12, allocations: 396.9 kB / 1.053 GB, free: 1.656 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 8.743e-05/1.12, allocations: 107 kB / 1.053 GB, free: 1.539 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.41e-05/1.12, allocations: 11.94 kB / 1.053 GB, free: 1.527 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001662/1.12, allocations: 11.98 kB / 1.053 GB, free: 1.516 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.255e-05/1.12, allocations: 8 kB / 1.053 GB, free: 1.508 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-06/1.12, allocations: 7.438 kB / 1.053 GB, free: 1.504 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0001461/1.12, allocations: 155.3 kB / 1.053 GB, free: 1.375 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.6e-07/1.12, allocations: 0 / 1.053 GB, free: 1.375 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0004956/1.121, allocations: 75.94 kB / 1.053 GB, free: 1.301 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001857/1.121, allocations: 119.1 kB / 1.053 GB, free: 1.176 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0003644/1.121, allocations: 251.5 kB / 1.054 GB, free: 0.9961 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/1.121, allocations: 0 / 1.054 GB, free: 0.9961 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 5.431e-05/1.121, allocations: 46.03 kB / 1.054 GB, free: 0.9609 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003012/1.122, allocations: 24.38 kB / 1.054 GB, free: 0.9414 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000516/1.122, allocations: 273.2 kB / 1.054 GB, free: 0.6641 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000329/1.123, allocations: 0.7395 MB / 1.055 GB, free: 15.91 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0002066/1.123, allocations: 73.78 kB / 1.055 GB, free: 15.83 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.365e-05/1.123, allocations: 15.44 kB / 1.055 GB, free: 15.82 MB / 0.6823 GB Notification: Performance of SimCode: time 2.61e-07/1.123, allocations: 0 / 1.055 GB, free: 15.82 MB / 0.6823 GB Notification: Performance of Templates: time 0.00432/1.127, allocations: 1.602 MB / 1.056 GB, free: 14.26 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches