Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.537/1.537, 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.001229/0.001229, allocations: 184.6 kB / 316.3 MB, free: 3.273 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.834/1.834, 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.000971/0.0009711, allocations: 96.53 kB / 0.6714 GB, free: 5.004 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.245e-05/2.248e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2062/0.2062, allocations: 106.3 MB / 0.8852 GB, free: 12.28 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8049/1.011, allocations: 131.9 MB / 1.014 GB, free: 5.902 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002541/1.012, allocations: 78.69 kB / 1.014 GB, free: 5.855 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01259/1.024, allocations: 4.517 MB / 1.019 GB, free: 2.105 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.783e-06/1.024, allocations: 0 / 1.019 GB, free: 2.105 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.261e-06/1.024, allocations: 0 / 1.019 GB, free: 2.105 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003459/1.025, allocations: 354 kB / 1.019 GB, free: 1.719 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/1.025, allocations: 8.031 kB / 1.019 GB, free: 1.711 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.641e-05/1.025, allocations: 4 kB / 1.019 GB, free: 1.707 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001563/1.025, allocations: 163 kB / 1.019 GB, free: 1.508 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/1.025, allocations: 11.88 kB / 1.019 GB, free: 1.496 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.312e-05/1.025, allocations: 0 / 1.019 GB, free: 1.496 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.341e-05/1.025, allocations: 4 kB / 1.019 GB, free: 1.492 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.165e-05/1.025, allocations: 33.39 kB / 1.019 GB, free: 1.457 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.948e-06/1.025, allocations: 3.984 kB / 1.019 GB, free: 1.453 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/1.025, allocations: 0 / 1.019 GB, free: 1.453 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/1.025, allocations: 0 / 1.019 GB, free: 1.453 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001623/1.025, allocations: 134.2 kB / 1.019 GB, free: 1.285 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.713e-05/1.025, allocations: 26.11 kB / 1.019 GB, free: 1.254 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.894e-05/1.025, allocations: 8.922 kB / 1.019 GB, free: 1.242 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006369/1.026, allocations: 457.5 kB / 1.02 GB, free: 0.7031 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.124e-05/1.026, allocations: 34.5 kB / 1.02 GB, free: 0.6602 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.373e-06/1.026, allocations: 0 / 1.02 GB, free: 0.6602 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0006048/1.027, allocations: 241.5 kB / 1.02 GB, free: 388 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.65e-05/1.027, allocations: 59.33 kB / 1.02 GB, free: 316 kB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.436e-05/1.027, allocations: 93.12 kB / 1.02 GB, free: 216 kB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/1.027, allocations: 25.7 kB / 1.02 GB, free: 184 kB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.524e-05/1.027, allocations: 83.77 kB / 1.02 GB, free: 100 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.021e-05/1.027, allocations: 3.906 kB / 1.02 GB, free: 96 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.867e-06/1.027, allocations: 0 / 1.02 GB, free: 96 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001478/1.027, allocations: 310.8 kB / 1.02 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.438e-05/1.027, allocations: 7.625 kB / 1.021 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.668e-05/1.027, allocations: 17.7 kB / 1.021 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.744e-05/1.027, allocations: 15.75 kB / 1.021 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-07/1.027, allocations: 0 / 1.021 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001063/1.027, allocations: 49.58 kB / 1.021 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/1.027, allocations: 8 kB / 1.021 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/1.027, allocations: 0 / 1.021 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/1.027, allocations: 0 / 1.021 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.287e-05/1.027, allocations: 8 kB / 1.021 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/1.027, allocations: 3.938 kB / 1.021 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.757e-05/1.027, allocations: 0 / 1.021 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/1.028, allocations: 4.062 kB / 1.021 GB, free: 15.66 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.543e-05/1.028, allocations: 108.7 kB / 1.021 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.27e-05/1.028, allocations: 11.8 kB / 1.021 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001556/1.028, allocations: 57.38 kB / 1.021 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/1.028, allocations: 4.031 kB / 1.021 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/1.028, allocations: 0 / 1.021 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/1.028, allocations: 0 / 1.021 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001019/1.028, allocations: 134.2 kB / 1.021 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/1.028, allocations: 0 / 1.021 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.475e-05/1.028, allocations: 8 kB / 1.021 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/1.028, allocations: 0 / 1.021 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/1.028, allocations: 3.953 kB / 1.021 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/1.028, allocations: 0 / 1.021 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/1.028, allocations: 0 / 1.021 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001544/1.028, allocations: 72.31 kB / 1.021 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.514e-05/1.028, allocations: 85.16 kB / 1.021 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.378e-05/1.028, allocations: 4.031 kB / 1.021 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.675e-05/1.028, allocations: 3.953 kB / 1.021 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.298e-05/1.028, allocations: 0 / 1.021 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.952e-06/1.028, allocations: 4 kB / 1.021 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 3.737e-05/1.028, allocations: 82.84 kB / 1.021 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.4e-07/1.028, allocations: 0 / 1.021 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002162/1.029, allocations: 35.92 kB / 1.021 GB, free: 14.98 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0002698/1.029, allocations: 139.2 kB / 1.021 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001035/1.029, allocations: 11.5 kB / 1.021 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/1.029, allocations: 0 / 1.021 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 1.509e-05/1.029, allocations: 8 kB / 1.021 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001156/1.029, allocations: 3.938 kB / 1.021 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002609/1.029, allocations: 77.58 kB / 1.021 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000302/1.03, allocations: 0.6807 MB / 1.022 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.341e-05/1.03, allocations: 9.078 kB / 1.022 GB, free: 14.01 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.721e-05/1.03, allocations: 11.44 kB / 1.022 GB, free: 14 MB / 0.6511 GB Notification: Performance of SimCode: time 2.3e-07/1.03, allocations: 0 / 1.022 GB, free: 14 MB / 0.6511 GB Notification: Performance of Templates: time 0.002745/1.033, allocations: 0.8029 MB / 1.023 GB, free: 13.23 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches