Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.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.OnePhase.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.OnePhase.Sources.Examples.FixedVoltageSource") translateModel(Buildings.Electrical.AC.OnePhase.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.OnePhase.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.369/1.369, allocations: 251.9 MB / 266.9 MB, free: 10.89 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.001052/0.001052, allocations: 187.9 kB / 326.5 MB, free: 2.238 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.029/2.029, allocations: 205.4 MB / 0.5775 GB, free: 20.2 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.0008274/0.0008275, allocations: 92.41 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004551/0.0004555, allocations: 9.656 kB / 0.7963 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2671/0.2675, allocations: 106.3 MB / 0.9001 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.201/0.4686, allocations: 150.8 MB / 1.047 GB, free: 8.914 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003288/0.469, allocations: 99.94 kB / 1.047 GB, free: 8.816 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.6066/1.076, allocations: 11.82 MB / 1.059 GB, free: 150.5 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.715e-06/1.076, allocations: 0 / 1.059 GB, free: 150.5 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.021e-05/1.076, allocations: 3.062 kB / 1.059 GB, free: 150.5 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.0006165/1.076, allocations: 480.4 kB / 1.059 GB, free: 150.1 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/1.076, allocations: 8.5 kB / 1.059 GB, free: 150.1 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000573/1.077, allocations: 65.39 kB / 1.06 GB, free: 150.1 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002603/1.077, allocations: 227 kB / 1.06 GB, free: 149.9 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.959e-05/1.077, allocations: 13.12 kB / 1.06 GB, free: 149.9 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.054e-05/1.077, allocations: 17.77 kB / 1.06 GB, free: 149.9 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004363/1.078, allocations: 272.8 kB / 1.06 GB, free: 149.8 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/1.078, allocations: 1.594 kB / 1.06 GB, free: 149.8 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.536e-05/1.078, allocations: 11.92 kB / 1.06 GB, free: 149.8 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.494e-05/1.078, allocations: 17.44 kB / 1.06 GB, free: 149.8 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003224/1.078, allocations: 206.9 kB / 1.06 GB, free: 149.8 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001582/1.08, allocations: 1.579 MB / 1.062 GB, free: 148.5 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000109/1.08, allocations: 80.77 kB / 1.062 GB, free: 148.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.753e-05/1.08, allocations: 3.938 kB / 1.062 GB, free: 148.5 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.77e-05/1.08, allocations: 34.09 kB / 1.062 GB, free: 148.4 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/1.08, allocations: 1.031 kB / 1.062 GB, free: 148.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.0005236/1.08, allocations: 217.8 kB / 1.062 GB, free: 148.4 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.275e-05/1.081, allocations: 83.64 kB / 1.062 GB, free: 148.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002015/1.081, allocations: 202.5 kB / 1.062 GB, free: 148.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.176e-05/1.081, allocations: 25.7 kB / 1.062 GB, free: 148.1 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.508e-05/1.081, allocations: 164.8 kB / 1.063 GB, free: 148 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.618e-05/1.081, allocations: 34.69 kB / 1.063 GB, free: 148 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.094e-05/1.081, allocations: 2.812 kB / 1.063 GB, free: 148 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.629e-05/1.081, allocations: 323.7 kB / 1.063 GB, free: 147.7 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001147/1.081, allocations: 75.45 kB / 1.063 GB, free: 147.7 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001492/1.081, allocations: 159.6 kB / 1.063 GB, free: 147.6 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001471/1.081, allocations: 101.1 kB / 1.063 GB, free: 147.6 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/1.081, allocations: 5.094 kB / 1.063 GB, free: 147.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000374/1.082, allocations: 272.5 kB / 1.064 GB, free: 147.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002411/1.082, allocations: 1.146 MB / 1.065 GB, free: 146.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/1.082, allocations: 3.875 kB / 1.065 GB, free: 146.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/1.082, allocations: 3.188 kB / 1.065 GB, free: 146.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002534/1.082, allocations: 56.72 kB / 1.065 GB, free: 146.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.998e-06/1.082, allocations: 3.484 kB / 1.065 GB, free: 146.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00021/1.083, allocations: 27.44 kB / 1.065 GB, free: 146.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.649e-05/1.083, allocations: 9.656 kB / 1.065 GB, free: 146.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.764e-06/1.083, allocations: 6.188 kB / 1.065 GB, free: 146.3 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002873/1.083, allocations: 213.1 kB / 1.065 GB, free: 146.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/1.083, allocations: 3.547 kB / 1.065 GB, free: 146.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.609e-06/1.083, allocations: 5.812 kB / 1.065 GB, free: 146.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001651/1.083, allocations: 52.11 kB / 1.065 GB, free: 146.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/1.083, allocations: 11.97 kB / 1.065 GB, free: 146.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001337/1.083, allocations: 13.75 kB / 1.065 GB, free: 146.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.386e-05/1.083, allocations: 13.36 kB / 1.065 GB, free: 146.3 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.0001194/1.083, allocations: 227.7 kB / 1.065 GB, free: 146.1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.987e-05/1.083, allocations: 13.19 kB / 1.065 GB, free: 146.1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001984/1.084, allocations: 121.7 kB / 1.065 GB, free: 146 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/1.084, allocations: 0 / 1.065 GB, free: 146 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/1.084, allocations: 0 / 1.065 GB, free: 146 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.613e-06/1.084, allocations: 7.578 kB / 1.065 GB, free: 146 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006641/1.084, allocations: 0.6156 MB / 1.066 GB, free: 145.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/1.084, allocations: 2.875 kB / 1.066 GB, free: 145.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.139e-05/1.084, allocations: 22.64 kB / 1.066 GB, free: 145.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/1.084, allocations: 6.891 kB / 1.066 GB, free: 145.6 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/1.084, allocations: 0 / 1.066 GB, free: 145.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/1.084, allocations: 3.547 kB / 1.066 GB, free: 145.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-06/1.084, allocations: 11.59 kB / 1.066 GB, free: 145.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002291/1.085, allocations: 406.7 kB / 1.066 GB, free: 145.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.348e-05/1.085, allocations: 105 kB / 1.067 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.798e-05/1.085, allocations: 6.531 kB / 1.067 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001643/1.085, allocations: 14.25 kB / 1.067 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.712e-05/1.085, allocations: 12.34 kB / 1.067 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/1.085, allocations: 3.156 kB / 1.067 GB, free: 145.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001396/1.085, allocations: 168.2 kB / 1.067 GB, free: 145 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/1.085, allocations: 0 / 1.067 GB, free: 145 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004953/1.086, allocations: 88.27 kB / 1.067 GB, free: 145 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.0001489/1.086, allocations: 121.8 kB / 1.067 GB, free: 144.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000416/1.086, allocations: 272.5 kB / 1.067 GB, free: 144.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/1.086, allocations: 1.5 kB / 1.067 GB, free: 144.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 5.659e-05/1.086, allocations: 43.52 kB / 1.067 GB, free: 144.9 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003027/1.087, allocations: 39.69 kB / 1.067 GB, free: 144.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000664/1.087, allocations: 477.5 kB / 1.068 GB, free: 144.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002287/1.088, allocations: 0.7358 MB / 1.068 GB, free: 143.9 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002016/1.088, allocations: 73.47 kB / 1.069 GB, free: 143.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.334e-05/1.088, allocations: 19.11 kB / 1.069 GB, free: 143.9 MB / 0.698 GB Notification: Performance of SimCode: time 2.81e-07/1.088, allocations: 0 / 1.069 GB, free: 143.9 MB / 0.698 GB Notification: Performance of Templates: time 0.004876/1.093, allocations: 1.533 MB / 1.07 GB, free: 143.8 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches