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.375/1.375, allocations: 251.9 MB / 266.9 MB, free: 11.07 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.001176/0.001176, allocations: 187.9 kB / 326.5 MB, free: 2.246 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.775/1.775, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.0008874/0.0008872, allocations: 92.47 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003399/0.0003398, allocations: 9.625 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2601/0.2604, allocations: 106.3 MB / 0.9001 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2058/0.4663, allocations: 152.1 MB / 1.049 GB, free: 7.613 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003202/0.4667, allocations: 103.9 kB / 1.049 GB, free: 7.512 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.5718/1.038, allocations: 12.25 MB / 1.061 GB, free: 151.4 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.004e-06/1.039, allocations: 0 / 1.061 GB, free: 151.4 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.502e-05/1.039, allocations: 7.75 kB / 1.061 GB, free: 151.4 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0005723/1.039, allocations: 474.9 kB / 1.061 GB, free: 151 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/1.039, allocations: 10.53 kB / 1.061 GB, free: 151 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005596/1.04, allocations: 66.77 kB / 1.061 GB, free: 150.9 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002542/1.04, allocations: 230.5 kB / 1.061 GB, free: 150.7 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/1.04, allocations: 9.625 kB / 1.061 GB, free: 150.7 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.426e-05/1.04, allocations: 15.98 kB / 1.061 GB, free: 150.7 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000403/1.04, allocations: 278.5 kB / 1.062 GB, free: 150.6 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/1.04, allocations: 0 / 1.062 GB, free: 150.6 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.414e-05/1.041, allocations: 6.5 kB / 1.062 GB, free: 150.6 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.562e-05/1.041, allocations: 12.5 kB / 1.062 GB, free: 150.6 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003263/1.041, allocations: 209.5 kB / 1.062 GB, free: 150.6 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001522/1.042, allocations: 1.585 MB / 1.064 GB, free: 149.4 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.445e-05/1.043, allocations: 74.19 kB / 1.064 GB, free: 149.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.58e-05/1.043, allocations: 4 kB / 1.064 GB, free: 149.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.638e-05/1.043, allocations: 34.69 kB / 1.064 GB, free: 149.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/1.043, allocations: 2.781 kB / 1.064 GB, free: 149.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.000511/1.043, allocations: 217.1 kB / 1.064 GB, free: 149.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.112e-05/1.043, allocations: 77.67 kB / 1.064 GB, free: 149.1 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000197/1.043, allocations: 206.6 kB / 1.064 GB, free: 149 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.174e-05/1.043, allocations: 25.7 kB / 1.064 GB, free: 149 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.138e-05/1.043, allocations: 165.6 kB / 1.064 GB, free: 148.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.369e-05/1.043, allocations: 32.44 kB / 1.064 GB, free: 148.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.159e-05/1.044, allocations: 3.375 kB / 1.064 GB, free: 148.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.998e-05/1.044, allocations: 324.9 kB / 1.065 GB, free: 148.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001126/1.044, allocations: 73.7 kB / 1.065 GB, free: 148.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001528/1.044, allocations: 164.7 kB / 1.065 GB, free: 148.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001525/1.044, allocations: 102.5 kB / 1.065 GB, free: 148.4 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/1.044, allocations: 2.906 kB / 1.065 GB, free: 148.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003733/1.044, allocations: 269.2 kB / 1.065 GB, free: 148.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002381/1.045, allocations: 1.138 MB / 1.066 GB, free: 147.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/1.045, allocations: 2.75 kB / 1.066 GB, free: 147.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/1.045, allocations: 6.406 kB / 1.066 GB, free: 147.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00026/1.045, allocations: 54.17 kB / 1.066 GB, free: 147.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/1.045, allocations: 6.922 kB / 1.066 GB, free: 147.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002087/1.045, allocations: 29.78 kB / 1.066 GB, free: 147.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.995e-05/1.045, allocations: 11.92 kB / 1.066 GB, free: 147.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.084e-06/1.045, allocations: 3.219 kB / 1.066 GB, free: 147.1 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002886/1.046, allocations: 220.1 kB / 1.067 GB, free: 147.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.486e-06/1.046, allocations: 3.375 kB / 1.067 GB, free: 147.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.767e-06/1.046, allocations: 7.031 kB / 1.067 GB, free: 147.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001704/1.046, allocations: 58.27 kB / 1.067 GB, free: 147.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/1.046, allocations: 3.609 kB / 1.067 GB, free: 147.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001384/1.046, allocations: 20.83 kB / 1.067 GB, free: 147.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.427e-05/1.046, allocations: 9.391 kB / 1.067 GB, free: 147.1 MB / 0.698 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 () * Number of clocked 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.0001108/1.046, allocations: 218.5 kB / 1.067 GB, free: 146.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.048e-05/1.046, allocations: 17.41 kB / 1.067 GB, free: 146.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001846/1.046, allocations: 116.4 kB / 1.067 GB, free: 146.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/1.046, allocations: 4 kB / 1.067 GB, free: 146.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/1.046, allocations: 3.672 kB / 1.067 GB, free: 146.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/1.046, allocations: 3.953 kB / 1.067 GB, free: 146.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006435/1.047, allocations: 0.6189 MB / 1.068 GB, free: 146.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/1.047, allocations: 2.938 kB / 1.068 GB, free: 146.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.29e-05/1.047, allocations: 16.81 kB / 1.068 GB, free: 146.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.648e-06/1.047, allocations: 6.922 kB / 1.068 GB, free: 146.4 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/1.047, allocations: 6.375 kB / 1.068 GB, free: 146.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-06/1.047, allocations: 7.734 kB / 1.068 GB, free: 146.4 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/1.047, allocations: 0.5156 kB / 1.068 GB, free: 146.4 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002359/1.047, allocations: 419.9 kB / 1.068 GB, free: 146 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.003e-05/1.047, allocations: 99.5 kB / 1.068 GB, free: 145.9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.193e-05/1.047, allocations: 6.828 kB / 1.068 GB, free: 145.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001665/1.048, allocations: 13.22 kB / 1.068 GB, free: 145.9 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.651e-05/1.048, allocations: 11.08 kB / 1.068 GB, free: 145.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.654e-06/1.048, allocations: 11.16 kB / 1.068 GB, free: 145.9 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001407/1.048, allocations: 164.9 kB / 1.068 GB, free: 145.8 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/1.048, allocations: 2.625 kB / 1.068 GB, free: 145.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004692/1.048, allocations: 86.7 kB / 1.069 GB, free: 145.8 MB / 0.698 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 () * Number of clocked 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.0001493/1.048, allocations: 125 kB / 1.069 GB, free: 145.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004927/1.049, allocations: 266.1 kB / 1.069 GB, free: 145.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/1.049, allocations: 4.969 kB / 1.069 GB, free: 145.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 6.62e-05/1.049, allocations: 41.98 kB / 1.069 GB, free: 145.7 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002947/1.049, allocations: 32.69 kB / 1.069 GB, free: 145.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007189/1.05, allocations: 481.8 kB / 1.069 GB, free: 145.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002417/1.05, allocations: 0.744 MB / 1.07 GB, free: 144.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002285/1.051, allocations: 70.06 kB / 1.07 GB, free: 144.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.805e-05/1.051, allocations: 20.28 kB / 1.07 GB, free: 144.7 MB / 0.698 GB Notification: Performance of SimCode: time 2.21e-07/1.051, allocations: 0 / 1.07 GB, free: 144.7 MB / 0.698 GB Notification: Performance of Templates: time 0.005142/1.056, allocations: 1.54 MB / 1.072 GB, free: 144.6 MB / 0.698 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