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.451/1.451, allocations: 249.3 MB / 261.8 MB, free: 5.883 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.001116/0.001116, allocations: 182 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.636/1.636, allocations: 205.2 MB / 0.572 GB, free: 10.61 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.0009258/0.0009258, allocations: 82.47 kB / 0.6764 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.116e-05/3.129e-05, allocations: 4 kB / 0.7879 GB, free: 97.09 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1776/0.1776, allocations: 106.3 MB / 0.8918 GB, free: 6.656 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6132/0.7909, allocations: 150.7 MB / 1.039 GB, free: 1.461 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002508/0.7911, allocations: 92.56 kB / 1.039 GB, free: 1.41 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.02731/0.8185, allocations: 11.75 MB / 1.051 GB, free: 7.605 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.282e-06/0.8185, allocations: 0 / 1.051 GB, free: 7.605 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.57e-05/0.8185, allocations: 4 kB / 1.051 GB, free: 7.602 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.0005336/0.8191, allocations: 452.1 kB / 1.051 GB, free: 7.129 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.8191, allocations: 16.03 kB / 1.051 GB, free: 7.113 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000548/0.8197, allocations: 71.61 kB / 1.051 GB, free: 7.043 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002734/0.82, allocations: 224.8 kB / 1.051 GB, free: 6.797 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.634e-05/0.82, allocations: 14.8 kB / 1.051 GB, free: 6.785 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.704e-05/0.82, allocations: 11.62 kB / 1.051 GB, free: 6.777 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003896/0.8204, allocations: 276.2 kB / 1.052 GB, free: 6.527 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.8205, allocations: 3.938 kB / 1.052 GB, free: 6.523 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.452e-05/0.8205, allocations: 11.36 kB / 1.052 GB, free: 6.516 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.166e-05/0.8205, allocations: 12.22 kB / 1.052 GB, free: 6.504 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003049/0.8208, allocations: 200.1 kB / 1.052 GB, free: 6.367 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00174/0.8226, allocations: 1.593 MB / 1.053 GB, free: 4.773 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001078/0.8227, allocations: 72.5 kB / 1.053 GB, free: 4.691 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.012e-05/0.8228, allocations: 48.19 kB / 1.053 GB, free: 4.648 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 1.583e-05/0.8228, allocations: 3.938 kB / 1.053 GB, free: 4.645 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.191e-05/0.8228, allocations: 34.56 kB / 1.054 GB, free: 4.602 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=7): time 1.493e-06/0.8228, allocations: 0 / 1.054 GB, free: 4.602 MB / 0.6667 GB Notification: Performance of matching and sorting (n=8): time 0.000425/0.8233, allocations: 182.3 kB / 1.054 GB, free: 4.438 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.125e-05/0.8233, allocations: 85.2 kB / 1.054 GB, free: 4.336 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001968/0.8235, allocations: 200.5 kB / 1.054 GB, free: 4.164 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.441e-05/0.8236, allocations: 28.95 kB / 1.054 GB, free: 4.133 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 7.598e-05/0.8236, allocations: 165.1 kB / 1.054 GB, free: 3.98 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 2.37e-05/0.8237, allocations: 23.02 kB / 1.054 GB, free: 3.961 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.033e-05/0.8237, allocations: 3.188 kB / 1.054 GB, free: 3.961 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.8238, allocations: 325.6 kB / 1.054 GB, free: 3.641 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001095/0.8239, allocations: 75.41 kB / 1.055 GB, free: 3.59 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001615/0.8241, allocations: 162.2 kB / 1.055 GB, free: 3.422 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001471/0.8242, allocations: 93.7 kB / 1.055 GB, free: 3.359 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.8242, allocations: 4 kB / 1.055 GB, free: 3.355 MB / 0.6667 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003881/0.8246, allocations: 278.5 kB / 1.055 GB, free: 3.133 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004382/0.8251, allocations: 1.135 MB / 1.056 GB, free: 1.93 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.8251, allocations: 4 kB / 1.056 GB, free: 1.926 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.8251, allocations: 4 kB / 1.056 GB, free: 1.922 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002382/0.8254, allocations: 55.83 kB / 1.056 GB, free: 1.871 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.8254, allocations: 8 kB / 1.056 GB, free: 1.863 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000192/0.8256, allocations: 27.72 kB / 1.056 GB, free: 1.84 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.884e-05/0.8256, allocations: 8 kB / 1.056 GB, free: 1.832 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 7.774e-06/0.8256, allocations: 4 kB / 1.056 GB, free: 1.828 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003149/0.8259, allocations: 211.5 kB / 1.056 GB, free: 1.672 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.826, allocations: 7.984 kB / 1.056 GB, free: 1.664 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.721e-06/0.826, allocations: 4 kB / 1.056 GB, free: 1.66 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001689/0.8261, allocations: 50.59 kB / 1.057 GB, free: 1.613 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.8262, allocations: 4 kB / 1.057 GB, free: 1.609 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001308/0.8263, allocations: 26.84 kB / 1.057 GB, free: 1.586 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.521e-05/0.8263, allocations: 12.38 kB / 1.057 GB, free: 1.574 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 8.025e-05/0.8264, allocations: 115.8 kB / 1.057 GB, free: 1.461 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.363e-05/0.8265, allocations: 11.91 kB / 1.057 GB, free: 1.449 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002262/0.8267, allocations: 127.7 kB / 1.057 GB, free: 1.34 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.8267, allocations: 0 / 1.057 GB, free: 1.34 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.8267, allocations: 0 / 1.057 GB, free: 1.34 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.8267, allocations: 7.953 kB / 1.057 GB, free: 1.332 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007624/0.8275, allocations: 0.6205 MB / 1.057 GB, free: 0.6992 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.8275, allocations: 4 kB / 1.057 GB, free: 0.6953 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.972e-05/0.8276, allocations: 12 kB / 1.057 GB, free: 0.6836 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.154e-06/0.8276, allocations: 7.953 kB / 1.057 GB, free: 0.6758 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.8276, allocations: 7.922 kB / 1.057 GB, free: 0.668 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.8277, allocations: 8.25 kB / 1.057 GB, free: 0.6602 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.8277, allocations: 128 / 1.057 GB, free: 0.6602 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003155/0.828, allocations: 415.1 kB / 1.058 GB, free: 212 kB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 9.422e-05/0.8281, allocations: 104.2 kB / 1.058 GB, free: 92 kB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.714e-05/0.8281, allocations: 8 kB / 1.058 GB, free: 84 kB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001635/0.8283, allocations: 15.48 kB / 1.058 GB, free: 72 kB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.45e-05/0.8283, allocations: 7.984 kB / 1.058 GB, free: 64 kB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/0.8283, allocations: 4 kB / 1.058 GB, free: 60 kB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0001781/0.8285, allocations: 157.8 kB / 1.058 GB, free: 15.93 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8285, allocations: 0 / 1.058 GB, free: 15.93 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004946/0.829, allocations: 90.19 kB / 1.058 GB, free: 15.85 MB / 0.6823 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.0001963/0.8292, allocations: 127 kB / 1.058 GB, free: 15.71 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003941/0.8296, allocations: 268 kB / 1.059 GB, free: 15.52 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.8296, allocations: 96 / 1.059 GB, free: 15.52 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 5.792e-05/0.8297, allocations: 43.55 kB / 1.059 GB, free: 15.49 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003258/0.83, allocations: 40.64 kB / 1.059 GB, free: 15.46 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005187/0.8306, allocations: 270.9 kB / 1.059 GB, free: 15.18 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000342/0.8309, allocations: 0.7398 MB / 1.06 GB, free: 14.41 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0002148/0.8311, allocations: 77.53 kB / 1.06 GB, free: 14.34 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.373e-05/0.8312, allocations: 19.42 kB / 1.06 GB, free: 14.32 MB / 0.6823 GB Notification: Performance of SimCode: time 2.61e-07/0.8312, allocations: 4 kB / 1.06 GB, free: 14.32 MB / 0.6823 GB Notification: Performance of Templates: time 0.004103/0.8353, allocations: 1.673 MB / 1.061 GB, free: 12.67 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