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.46/1.46, allocations: 249.5 MB / 257 MB, free: 6.93 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.001174/0.001174, allocations: 188.5 kB / 316.3 MB, free: 3.25 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.495/1.495, allocations: 205.3 MB / 0.5671 GB, free: 15.89 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.000887/0.000887, allocations: 89.78 kB / 0.6714 GB, free: 5.016 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.74e-05/1.742e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1826/0.1827, allocations: 106.3 MB / 0.8852 GB, free: 12.28 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6634/0.8461, allocations: 151 MB / 1.033 GB, free: 4.316 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002789/0.8465, allocations: 90.62 kB / 1.033 GB, free: 4.266 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.02708/0.8736, allocations: 11.7 MB / 1.044 GB, free: 10.58 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.533e-06/0.8736, allocations: 0 / 1.044 GB, free: 10.58 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.468e-05/0.8736, allocations: 4 kB / 1.044 GB, free: 10.58 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.0005201/0.8741, allocations: 454.9 kB / 1.045 GB, free: 10.1 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.8742, allocations: 16.03 kB / 1.045 GB, free: 10.09 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005544/0.8748, allocations: 67.67 kB / 1.045 GB, free: 10.02 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002484/0.875, allocations: 231.1 kB / 1.045 GB, free: 9.766 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.875, allocations: 4 kB / 1.045 GB, free: 9.762 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.447e-05/0.8751, allocations: 8 kB / 1.045 GB, free: 9.754 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002643/0.8754, allocations: 155.1 kB / 1.045 GB, free: 9.648 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003354/0.8757, allocations: 259.3 kB / 1.045 GB, free: 9.406 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.062e-05/0.8757, allocations: 0 / 1.045 GB, free: 9.406 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.171e-05/0.8758, allocations: 7.875 kB / 1.045 GB, free: 9.398 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.088e-05/0.8758, allocations: 15.11 kB / 1.045 GB, free: 9.387 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001561/0.8774, allocations: 1.551 MB / 1.047 GB, free: 7.836 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 9.248e-05/0.8775, allocations: 66.56 kB / 1.047 GB, free: 7.762 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.398e-05/0.8775, allocations: 44.89 kB / 1.047 GB, free: 7.719 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 1.37e-05/0.8776, allocations: 0 / 1.047 GB, free: 7.719 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/0.8776, allocations: 42.48 kB / 1.047 GB, free: 7.668 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.8776, allocations: 0 / 1.047 GB, free: 7.668 MB / 0.6667 GB Notification: Performance of matching and sorting (n=8): time 0.0004326/0.8781, allocations: 170 kB / 1.047 GB, free: 7.516 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.187e-05/0.8781, allocations: 81.05 kB / 1.047 GB, free: 7.418 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001967/0.8783, allocations: 196.5 kB / 1.047 GB, free: 7.246 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.508e-05/0.8783, allocations: 25.7 kB / 1.047 GB, free: 7.215 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 8.478e-05/0.8784, allocations: 161.3 kB / 1.048 GB, free: 7.066 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 2.888e-05/0.8785, allocations: 26.83 kB / 1.048 GB, free: 7.043 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.053e-05/0.8785, allocations: 0 / 1.048 GB, free: 7.043 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.8786, allocations: 325.6 kB / 1.048 GB, free: 6.723 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.418e-05/0.8787, allocations: 72.03 kB / 1.048 GB, free: 6.676 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001452/0.8788, allocations: 149.5 kB / 1.048 GB, free: 6.52 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001921/0.879, allocations: 104.6 kB / 1.048 GB, free: 6.445 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.879, allocations: 4 kB / 1.048 GB, free: 6.441 MB / 0.6667 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000392/0.8794, allocations: 265.5 kB / 1.049 GB, free: 6.227 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003965/0.8799, allocations: 1.139 MB / 1.05 GB, free: 5.02 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.8799, allocations: 7.984 kB / 1.05 GB, free: 5.012 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.8799, allocations: 8 kB / 1.05 GB, free: 5.004 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002532/0.8801, allocations: 50.72 kB / 1.05 GB, free: 4.957 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.8802, allocations: 4 kB / 1.05 GB, free: 4.953 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002093/0.8804, allocations: 19.97 kB / 1.05 GB, free: 4.934 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.916e-05/0.8804, allocations: 8 kB / 1.05 GB, free: 4.926 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 7.064e-06/0.8804, allocations: 4 kB / 1.05 GB, free: 4.922 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003207/0.8807, allocations: 199 kB / 1.05 GB, free: 4.77 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.8808, allocations: 4 kB / 1.05 GB, free: 4.766 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.969e-06/0.8808, allocations: 4 kB / 1.05 GB, free: 4.762 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001722/0.8809, allocations: 51.91 kB / 1.05 GB, free: 4.711 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.881, allocations: 4 kB / 1.05 GB, free: 4.707 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001432/0.8811, allocations: 15.89 kB / 1.05 GB, free: 4.691 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.194e-05/0.8811, allocations: 14.8 kB / 1.05 GB, free: 4.68 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 7.659e-05/0.8812, allocations: 108.9 kB / 1.05 GB, free: 4.566 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.265e-05/0.8813, allocations: 15.41 kB / 1.05 GB, free: 4.555 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001896/0.8815, allocations: 118.4 kB / 1.05 GB, free: 4.449 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.8815, allocations: 0 / 1.05 GB, free: 4.449 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.8815, allocations: 4 kB / 1.05 GB, free: 4.445 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.8815, allocations: 0 / 1.05 GB, free: 4.445 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007035/0.8822, allocations: 0.5824 MB / 1.051 GB, free: 3.855 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.8822, allocations: 4 kB / 1.051 GB, free: 3.852 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.488e-05/0.8823, allocations: 15.98 kB / 1.051 GB, free: 3.836 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.8823, allocations: 4 kB / 1.051 GB, free: 3.832 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-06/0.8823, allocations: 128 / 1.051 GB, free: 3.832 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.224e-06/0.8824, allocations: 15.89 kB / 1.051 GB, free: 3.816 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/0.8824, allocations: 4 kB / 1.051 GB, free: 3.812 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002714/0.8826, allocations: 401.9 kB / 1.051 GB, free: 3.367 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 8.426e-05/0.8827, allocations: 108.1 kB / 1.051 GB, free: 3.25 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.196e-05/0.8828, allocations: 11.94 kB / 1.051 GB, free: 3.238 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001603/0.8829, allocations: 8.031 kB / 1.051 GB, free: 3.23 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.967e-05/0.883, allocations: 11.98 kB / 1.051 GB, free: 3.219 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/0.883, allocations: 4 kB / 1.051 GB, free: 3.215 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0001145/0.8831, allocations: 152.7 kB / 1.052 GB, free: 3.09 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.21e-07/0.8831, allocations: 0 / 1.052 GB, free: 3.09 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0004826/0.8836, allocations: 79.92 kB / 1.052 GB, free: 3.012 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.0001589/0.8838, allocations: 122.3 kB / 1.052 GB, free: 2.887 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0003422/0.8841, allocations: 250.4 kB / 1.052 GB, free: 2.707 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.8841, allocations: 4 kB / 1.052 GB, free: 2.703 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 4.922e-05/0.8842, allocations: 39.03 kB / 1.052 GB, free: 2.672 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002949/0.8845, allocations: 31.56 kB / 1.052 GB, free: 2.648 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004916/0.885, allocations: 268.2 kB / 1.052 GB, free: 2.375 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003236/0.8853, allocations: 0.7364 MB / 1.053 GB, free: 1.617 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.000206/0.8855, allocations: 69.8 kB / 1.053 GB, free: 1.547 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.311e-05/0.8856, allocations: 19.42 kB / 1.053 GB, free: 1.527 MB / 0.6667 GB Notification: Performance of SimCode: time 2.61e-07/0.8856, allocations: 0 / 1.053 GB, free: 1.527 MB / 0.6667 GB Notification: Performance of Templates: time 0.003963/0.8895, allocations: 1.598 MB / 1.055 GB, free: 15.95 MB / 0.6823 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