Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.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.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|regNonZeroPower.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|regNonZeroPower.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.493/1.493, 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.00111/0.001109, allocations: 178.1 kB / 321.3 MB, free: 14.66 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.837/1.837, allocations: 205.2 MB / 0.572 GB, free: 10.68 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.001299/0.001299, allocations: 86.48 kB / 0.6764 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 5.76e-05/5.761e-05, allocations: 7.984 kB / 0.7879 GB, free: 97.11 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2477/0.2478, allocations: 106.3 MB / 0.8918 GB, free: 6.684 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8518/1.1, allocations: 132.2 MB / 1.021 GB, free: 2.496 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002523/1.1, allocations: 71.77 kB / 1.021 GB, free: 2.457 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01636/1.116, allocations: 4.314 MB / 1.025 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.084e-06/1.116, allocations: 4 kB / 1.025 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 6.863e-06/1.116, allocations: 0 / 1.025 GB, free: 14.79 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004978/1.117, allocations: 365.5 kB / 1.026 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.708e-05/1.117, allocations: 12.03 kB / 1.026 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.442e-05/1.117, allocations: 0 / 1.026 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001467/1.117, allocations: 174.2 kB / 1.026 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/1.117, allocations: 0 / 1.026 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.542e-05/1.117, allocations: 4 kB / 1.026 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000122/1.117, allocations: 41.31 kB / 1.026 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/1.117, allocations: 3.938 kB / 1.026 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/1.118, allocations: 0 / 1.026 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.73e-06/1.118, allocations: 0 / 1.026 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.797e-05/1.118, allocations: 10.75 kB / 1.026 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004835/1.118, allocations: 277.1 kB / 1.026 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 9.162e-05/1.118, allocations: 29.77 kB / 1.026 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.574e-05/1.118, allocations: 12.17 kB / 1.026 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007383/1.119, allocations: 457.5 kB / 1.027 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/1.119, allocations: 30.56 kB / 1.027 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=2): time 1.513e-06/1.119, allocations: 4 kB / 1.027 GB, free: 13.17 MB / 0.6511 GB Notification: Performance of matching and sorting (n=2): time 0.000199/1.119, allocations: 44.5 kB / 1.027 GB, free: 13.13 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.758e-05/1.119, allocations: 55.34 kB / 1.027 GB, free: 13.06 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.358e-05/1.119, allocations: 104.6 kB / 1.027 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.52e-05/1.119, allocations: 25.7 kB / 1.027 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.064e-05/1.119, allocations: 80.14 kB / 1.027 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.118e-05/1.119, allocations: 11.89 kB / 1.027 GB, free: 12.83 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.29e-06/1.12, allocations: 3.625 kB / 1.027 GB, free: 12.83 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001309/1.12, allocations: 314.8 kB / 1.027 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.391e-05/1.12, allocations: 7.375 kB / 1.027 GB, free: 12.51 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.053e-05/1.12, allocations: 4 kB / 1.027 GB, free: 12.51 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.852e-05/1.12, allocations: 11.38 kB / 1.027 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/1.12, allocations: 0 / 1.027 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001277/1.12, allocations: 45.62 kB / 1.027 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/1.12, allocations: 4 kB / 1.027 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/1.12, allocations: 0 / 1.027 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/1.12, allocations: 0 / 1.027 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/1.12, allocations: 8 kB / 1.027 GB, free: 12.44 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/1.12, allocations: 4.188 kB / 1.027 GB, free: 12.44 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.721e-05/1.12, allocations: 16.02 kB / 1.027 GB, free: 12.42 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.258e-06/1.12, allocations: 4 kB / 1.027 GB, free: 12.42 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.386e-05/1.12, allocations: 104.9 kB / 1.027 GB, free: 12.31 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.974e-05/1.12, allocations: 7.906 kB / 1.027 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001472/1.121, allocations: 56.17 kB / 1.027 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/1.121, allocations: 0 / 1.027 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/1.121, allocations: 3.938 kB / 1.027 GB, free: 12.24 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/1.121, allocations: 0 / 1.027 GB, free: 12.24 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002242/1.121, allocations: 169.4 kB / 1.028 GB, free: 12.03 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/1.121, allocations: 0 / 1.028 GB, free: 12.03 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.07e-05/1.121, allocations: 11.98 kB / 1.028 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/1.121, allocations: 4 kB / 1.028 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/1.121, allocations: 3 kB / 1.028 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/1.121, allocations: 0 / 1.028 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/1.121, allocations: 3.938 kB / 1.028 GB, free: 12.01 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000175/1.121, allocations: 143.4 kB / 1.028 GB, free: 11.86 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.583e-05/1.121, allocations: 81.02 kB / 1.028 GB, free: 11.76 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/1.121, allocations: 7.938 kB / 1.028 GB, free: 11.76 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001195/1.121, allocations: 11.97 kB / 1.028 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.437e-05/1.121, allocations: 0 / 1.028 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.293e-06/1.121, allocations: 4 kB / 1.028 GB, free: 11.74 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.499e-05/1.121, allocations: 79.28 kB / 1.028 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.91e-07/1.121, allocations: 0 / 1.028 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003539/1.122, allocations: 23.66 kB / 1.028 GB, free: 11.64 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0002262/1.122, allocations: 119.7 kB / 1.028 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001024/1.122, allocations: 18.88 kB / 1.028 GB, free: 11.5 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/1.122, allocations: 3.938 kB / 1.028 GB, free: 11.5 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.434e-05/1.122, allocations: 7.75 kB / 1.028 GB, free: 11.49 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002499/1.122, allocations: 7.953 kB / 1.028 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002611/1.123, allocations: 60.55 kB / 1.028 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003171/1.123, allocations: 0.6809 MB / 1.029 GB, free: 10.7 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.719e-05/1.123, allocations: 0.7031 kB / 1.029 GB, free: 10.7 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.294e-05/1.123, allocations: 11.38 kB / 1.029 GB, free: 10.69 MB / 0.6511 GB Notification: Performance of SimCode: time 3.71e-07/1.123, allocations: 4 kB / 1.029 GB, free: 10.68 MB / 0.6511 GB Notification: Performance of Templates: time 0.003318/1.127, allocations: 0.6059 MB / 1.029 GB, free: 10.09 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Math_Examples_RegNonZeroPower.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches