Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.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.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.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.477/1.477, allocations: 249.3 MB / 261.8 MB, free: 5.906 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.001422/0.001422, allocations: 182.6 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.815/1.815, allocations: 205.1 MB / 0.572 GB, free: 10.62 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.001155/0.001155, allocations: 92.86 kB / 0.6764 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.545e-05/3.563e-05, allocations: 4 kB / 0.788 GB, free: 97.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2494/0.2494, allocations: 106.3 MB / 0.8918 GB, free: 6.664 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7884/1.038, allocations: 131.5 MB / 1.02 GB, free: 3.168 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002596/1.038, allocations: 79.75 kB / 1.02 GB, free: 3.121 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01104/1.049, allocations: 4.001 MB / 1.024 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.413e-06/1.049, allocations: 0 / 1.024 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 5.15e-06/1.049, allocations: 0 / 1.024 GB, free: 15.73 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002805/1.05, allocations: 349.2 kB / 1.025 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/1.05, allocations: 8.031 kB / 1.025 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.844e-05/1.05, allocations: 0 / 1.025 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001011/1.05, allocations: 163 kB / 1.025 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/1.05, allocations: 4 kB / 1.025 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.879e-06/1.05, allocations: 4 kB / 1.025 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.016e-05/1.05, allocations: 29.14 kB / 1.025 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/1.05, allocations: 3.938 kB / 1.025 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/1.05, allocations: 0 / 1.025 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/1.05, allocations: 0 / 1.025 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.28e-05/1.05, allocations: 4 kB / 1.025 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000145/1.05, allocations: 153.6 kB / 1.025 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 3.786e-05/1.05, allocations: 22.61 kB / 1.025 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.749e-05/1.05, allocations: 7.859 kB / 1.025 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000469/1.051, allocations: 428.8 kB / 1.025 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.414e-05/1.051, allocations: 30.56 kB / 1.025 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/1.051, allocations: 4 kB / 1.025 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of matching and sorting (n=1): time 0.0001352/1.051, allocations: 29.7 kB / 1.025 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.936e-05/1.051, allocations: 55.34 kB / 1.025 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.289e-05/1.051, allocations: 85 kB / 1.026 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.149e-05/1.051, allocations: 25.7 kB / 1.026 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 2.591e-05/1.051, allocations: 80.14 kB / 1.026 GB, free: 14 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.025e-05/1.051, allocations: 7.438 kB / 1.026 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.824e-06/1.051, allocations: 0 / 1.026 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001024/1.051, allocations: 318.9 kB / 1.026 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.674e-06/1.051, allocations: 0 / 1.026 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.769e-06/1.051, allocations: 0 / 1.026 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.86e-05/1.051, allocations: 4 kB / 1.026 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/1.051, allocations: 0 / 1.026 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.109e-05/1.051, allocations: 33.66 kB / 1.026 GB, free: 13.63 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/1.051, allocations: 8 kB / 1.026 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/1.051, allocations: 0 / 1.026 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/1.051, allocations: 0 / 1.026 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.827e-05/1.051, allocations: 4.094 kB / 1.026 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/1.051, allocations: 7.922 kB / 1.026 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.009e-05/1.052, allocations: 0 / 1.026 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-06/1.052, allocations: 4 kB / 1.026 GB, free: 13.61 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 (1): * Single equations (assignments): 1 * 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.433e-05/1.052, allocations: 104.3 kB / 1.026 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.042e-05/1.052, allocations: 7.938 kB / 1.026 GB, free: 13.49 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.764e-05/1.052, allocations: 36.78 kB / 1.026 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/1.052, allocations: 0 / 1.026 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/1.052, allocations: 11.97 kB / 1.026 GB, free: 13.44 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/1.052, allocations: 3.984 kB / 1.026 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001055/1.052, allocations: 141.7 kB / 1.026 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/1.052, allocations: 0 / 1.026 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.244e-05/1.052, allocations: 4 kB / 1.026 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/1.052, allocations: 3.953 kB / 1.026 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/1.052, allocations: 3.25 kB / 1.026 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/1.052, allocations: 0 / 1.026 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/1.052, allocations: 0 / 1.026 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.637e-05/1.052, allocations: 65.06 kB / 1.026 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 3.889e-05/1.052, allocations: 77.11 kB / 1.026 GB, free: 13.06 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.548e-05/1.052, allocations: 7.953 kB / 1.026 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.235e-06/1.052, allocations: 3.312 kB / 1.026 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.326e-05/1.052, allocations: 0 / 1.026 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-06/1.052, allocations: 0 / 1.026 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 3.153e-05/1.052, allocations: 79.22 kB / 1.027 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.2e-07/1.052, allocations: 4 kB / 1.027 GB, free: 12.97 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002024/1.052, allocations: 19.95 kB / 1.027 GB, free: 12.95 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 (1): * Single equations (assignments): 1 * 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.0002128/1.053, allocations: 115.2 kB / 1.027 GB, free: 12.83 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 6.64e-05/1.053, allocations: 3.938 kB / 1.027 GB, free: 12.83 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/1.053, allocations: 4 kB / 1.027 GB, free: 12.82 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.34e-06/1.053, allocations: 0 / 1.027 GB, free: 12.82 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.805e-05/1.053, allocations: 0 / 1.027 GB, free: 12.82 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001792/1.053, allocations: 53.05 kB / 1.027 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003084/1.053, allocations: 0.6772 MB / 1.027 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.08e-05/1.053, allocations: 0 / 1.027 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.396e-05/1.053, allocations: 11.38 kB / 1.027 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of SimCode: time 2.9e-07/1.053, allocations: 0 / 1.027 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of Templates: time 0.002433/1.056, allocations: 426.3 kB / 1.028 GB, free: 11.63 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches