Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.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.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.I|sen.V|loa.S.1.|loa.S.2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.I|sen.V|loa.S.1.|loa.S.2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.426/1.426, allocations: 249.3 MB / 261.8 MB, free: 5.914 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.0009896/0.0009896, allocations: 178.6 kB / 321.3 MB, free: 14.64 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.478/1.478, allocations: 205.2 MB / 0.572 GB, free: 10.63 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.0008821/0.0008822, allocations: 78.55 kB / 0.6764 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.573e-05/3.577e-05, allocations: 4 kB / 0.7879 GB, free: 97.11 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2285/0.2285, allocations: 106.3 MB / 0.8918 GB, free: 6.676 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7421/0.9706, allocations: 153.6 MB / 1.042 GB, free: 14.74 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003482/0.971, allocations: 99.48 kB / 1.042 GB, free: 14.68 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.03304/1.004, allocations: 14.16 MB / 1.056 GB, free: 2.824 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.713e-06/1.004, allocations: 0 / 1.056 GB, free: 2.824 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.835e-05/1.004, allocations: 8 kB / 1.056 GB, free: 2.816 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0006547/1.005, allocations: 458.5 kB / 1.056 GB, free: 2.332 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/1.005, allocations: 12.03 kB / 1.056 GB, free: 2.32 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006602/1.006, allocations: 71.72 kB / 1.056 GB, free: 2.25 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002933/1.006, allocations: 248.8 kB / 1.056 GB, free: 1.98 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.849e-05/1.006, allocations: 18.27 kB / 1.056 GB, free: 1.969 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.158e-05/1.006, allocations: 11.44 kB / 1.057 GB, free: 1.961 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004633/1.006, allocations: 311.4 kB / 1.057 GB, free: 1.691 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/1.006, allocations: 0 / 1.057 GB, free: 1.691 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.778e-05/1.006, allocations: 14.38 kB / 1.057 GB, free: 1.684 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-05/1.007, allocations: 15.98 kB / 1.057 GB, free: 1.668 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003531/1.007, allocations: 246 kB / 1.057 GB, free: 1.5 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001521/1.008, allocations: 1.632 MB / 1.059 GB, free: 15.85 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006268/1.009, allocations: 410.8 kB / 1.059 GB, free: 15.44 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001215/1.009, allocations: 88.58 kB / 1.059 GB, free: 15.37 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001465/1.009, allocations: 93.09 kB / 1.059 GB, free: 15.26 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.148e-05/1.009, allocations: 30.56 kB / 1.059 GB, free: 15.22 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=13): time 1.423e-06/1.009, allocations: 0 / 1.059 GB, free: 15.22 MB / 0.6823 GB Notification: Performance of matching and sorting (n=14): time 0.0005304/1.01, allocations: 248.4 kB / 1.059 GB, free: 15.01 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.299e-05/1.01, allocations: 81.11 kB / 1.06 GB, free: 14.91 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/1.01, allocations: 150.8 kB / 1.06 GB, free: 14.77 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/1.01, allocations: 32.67 kB / 1.06 GB, free: 14.74 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.309e-05/1.01, allocations: 152.9 kB / 1.06 GB, free: 14.6 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.469e-05/1.01, allocations: 50.09 kB / 1.06 GB, free: 14.55 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.036e-05/1.01, allocations: 3.562 kB / 1.06 GB, free: 14.55 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001056/1.01, allocations: 322 kB / 1.06 GB, free: 14.23 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00011/1.01, allocations: 72.91 kB / 1.06 GB, free: 14.19 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001504/1.011, allocations: 155.6 kB / 1.06 GB, free: 14.03 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001432/1.011, allocations: 98.44 kB / 1.061 GB, free: 13.96 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/1.011, allocations: 0 / 1.061 GB, free: 13.96 MB / 0.6823 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003572/1.011, allocations: 269.1 kB / 1.061 GB, free: 13.75 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003466/1.012, allocations: 0.9621 MB / 1.062 GB, free: 12.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/1.012, allocations: 7.984 kB / 1.062 GB, free: 12.72 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/1.012, allocations: 4 kB / 1.062 GB, free: 12.72 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002299/1.012, allocations: 51.47 kB / 1.062 GB, free: 12.67 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.898e-06/1.012, allocations: 4 kB / 1.062 GB, free: 12.67 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001339/1.012, allocations: 19.3 kB / 1.062 GB, free: 12.65 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.983e-05/1.012, allocations: 11.98 kB / 1.062 GB, free: 12.64 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/1.012, allocations: 4 kB / 1.062 GB, free: 12.64 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002804/1.012, allocations: 206.3 kB / 1.062 GB, free: 12.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.445e-06/1.012, allocations: 48 / 1.062 GB, free: 12.48 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/1.012, allocations: 7.984 kB / 1.062 GB, free: 12.48 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001669/1.012, allocations: 59.72 kB / 1.062 GB, free: 12.42 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/1.013, allocations: 7.938 kB / 1.062 GB, free: 12.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.738e-05/1.013, allocations: 15.83 kB / 1.062 GB, free: 12.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.498e-05/1.013, allocations: 8 kB / 1.062 GB, free: 12.39 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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.159e-05/1.013, allocations: 124.9 kB / 1.062 GB, free: 12.27 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.337e-05/1.013, allocations: 19.8 kB / 1.062 GB, free: 12.25 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003477/1.013, allocations: 202.2 kB / 1.062 GB, free: 12.1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/1.013, allocations: 0 / 1.062 GB, free: 12.1 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/1.013, allocations: 0 / 1.062 GB, free: 12.1 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/1.013, allocations: 4 kB / 1.062 GB, free: 12.09 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001135/1.014, allocations: 0.96 MB / 1.063 GB, free: 11.13 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/1.014, allocations: 11.94 kB / 1.063 GB, free: 11.12 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001271/1.014, allocations: 31.73 kB / 1.063 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.702e-06/1.014, allocations: 8 kB / 1.063 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/1.015, allocations: 4 kB / 1.063 GB, free: 11.08 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.352e-06/1.015, allocations: 11.92 kB / 1.063 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/1.015, allocations: 4 kB / 1.063 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004351/1.015, allocations: 0.5771 MB / 1.064 GB, free: 10.41 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001123/1.015, allocations: 115.3 kB / 1.064 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.968e-05/1.015, allocations: 7.984 kB / 1.064 GB, free: 10.28 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001735/1.015, allocations: 19.3 kB / 1.064 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.637e-05/1.015, allocations: 19.88 kB / 1.064 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.356e-05/1.015, allocations: 10.88 kB / 1.064 GB, free: 10.24 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001107/1.015, allocations: 124.5 kB / 1.064 GB, free: 10.13 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.71e-07/1.015, allocations: 4 kB / 1.064 GB, free: 10.13 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004811/1.016, allocations: 79.75 kB / 1.064 GB, free: 10.06 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 14 * 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.0001837/1.016, allocations: 130.5 kB / 1.065 GB, free: 9.926 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0004278/1.017, allocations: 301.4 kB / 1.065 GB, free: 9.707 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/1.017, allocations: 0 / 1.065 GB, free: 9.707 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001043/1.017, allocations: 84.83 kB / 1.065 GB, free: 9.641 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003139/1.017, allocations: 27.64 kB / 1.065 GB, free: 9.621 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006697/1.018, allocations: 381.2 kB / 1.065 GB, free: 9.234 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003675/1.018, allocations: 0.7545 MB / 1.066 GB, free: 8.457 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0002196/1.018, allocations: 81.61 kB / 1.066 GB, free: 8.375 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.388e-05/1.018, allocations: 19.42 kB / 1.066 GB, free: 8.355 MB / 0.6823 GB Notification: Performance of SimCode: time 3.21e-07/1.018, allocations: 0 / 1.066 GB, free: 8.355 MB / 0.6823 GB Notification: Performance of Templates: time 0.004478/1.023, allocations: 1.801 MB / 1.068 GB, free: 6.57 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_GeneralizedSensor.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches