Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001188/0.001187, allocations: 99.55 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001415/0.001415, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 223.2 MB / 239.9 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.594/2.594, allocations: 436.5 MB / 0.7104 GB, free: 7.906 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003976/0.0003979, allocations: 16 kB / 0.8708 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9375/0.9379, allocations: 153.7 MB / 1.021 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.0009087/0.9389, allocations: 345.3 kB / 1.021 GB, free: 0.7852 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0006951/0.9396, allocations: 323.2 kB / 1.021 GB, free: 480 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.494e-05/0.9396, allocations: 0 / 1.021 GB, free: 480 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.619e-05/0.9397, allocations: 0 / 1.021 GB, free: 480 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.617e-05/0.9397, allocations: 3.938 kB / 1.021 GB, free: 476 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004681/0.9402, allocations: 79.77 kB / 1.022 GB, free: 396 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.98e-05/0.9402, allocations: 11.98 kB / 1.022 GB, free: 384 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.767e-05/0.9403, allocations: 3.984 kB / 1.022 GB, free: 380 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.866e-05/0.9403, allocations: 11.94 kB / 1.022 GB, free: 368 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.811e-05/0.9404, allocations: 7.984 kB / 1.022 GB, free: 360 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.366e-05/0.9404, allocations: 4 kB / 1.022 GB, free: 356 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004094/0.9408, allocations: 259.6 kB / 1.022 GB, free: 96 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.954e-05/0.9409, allocations: 15.92 kB / 1.022 GB, free: 80 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.861e-05/0.9409, allocations: 25.7 kB / 1.022 GB, free: 48 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001678/0.9411, allocations: 59.95 kB / 1.022 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.9411, allocations: 0 / 1.022 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.164e-06/0.9411, allocations: 4 kB / 1.022 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.9411, allocations: 0 / 1.022 GB, free: 15.98 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004833/0.9416, allocations: 357.2 kB / 1.022 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.9417, allocations: 8.031 kB / 1.022 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.311e-05/0.9417, allocations: 4 kB / 1.022 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001256/0.9419, allocations: 163.1 kB / 1.022 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/0.9419, allocations: 11.94 kB / 1.022 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.394e-05/0.9419, allocations: 3.906 kB / 1.022 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001346/0.9421, allocations: 61.58 kB / 1.023 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.9421, allocations: 0 / 1.023 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.9421, allocations: 0 / 1.023 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.9421, allocations: 4 kB / 1.023 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.542e-05/0.9422, allocations: 19.97 kB / 1.023 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002015/0.9424, allocations: 169.6 kB / 1.023 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001269/0.9425, allocations: 62.48 kB / 1.023 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007537/0.9433, allocations: 465.4 kB / 1.023 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.269e-05/0.9433, allocations: 34.56 kB / 1.023 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 4.518e-06/0.9433, allocations: 4 kB / 1.023 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.001457/0.9448, allocations: 0.5837 MB / 1.024 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.796e-05/0.9448, allocations: 59.39 kB / 1.024 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.618e-05/0.9449, allocations: 97.8 kB / 1.024 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.953e-05/0.945, allocations: 33.7 kB / 1.024 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.568e-05/0.945, allocations: 80.14 kB / 1.024 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.976e-05/0.9451, allocations: 43.3 kB / 1.024 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.252e-06/0.9451, allocations: 4 kB / 1.024 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.9452, allocations: 314.8 kB / 1.024 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.936e-05/0.9452, allocations: 23.98 kB / 1.024 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.477e-05/0.9453, allocations: 19.98 kB / 1.024 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.498e-05/0.9453, allocations: 24 kB / 1.024 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.9453, allocations: 0 / 1.024 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001517/0.9455, allocations: 103.3 kB / 1.025 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.9455, allocations: 8 kB / 1.025 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.9455, allocations: 0 / 1.025 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.9456, allocations: 0 / 1.025 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001163/0.9457, allocations: 19.98 kB / 1.025 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.9457, allocations: 4 kB / 1.025 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.786e-05/0.9457, allocations: 4 kB / 1.025 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.398e-06/0.9457, allocations: 4 kB / 1.025 GB, free: 12.85 MB / 0.7794 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.742e-05/0.9458, allocations: 113.8 kB / 1.025 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.185e-05/0.9459, allocations: 19.84 kB / 1.025 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002/0.9461, allocations: 101.9 kB / 1.025 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.9461, allocations: 4 kB / 1.025 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.9461, allocations: 0 / 1.025 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.9461, allocations: 0 / 1.025 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003998/0.9465, allocations: 358.6 kB / 1.025 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.9465, allocations: 0 / 1.025 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001142/0.9466, allocations: 19.98 kB / 1.025 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.9466, allocations: 0 / 1.025 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.9467, allocations: 8 kB / 1.025 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.9467, allocations: 4.094 kB / 1.025 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.9467, allocations: 7.922 kB / 1.025 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002656/0.9469, allocations: 223.3 kB / 1.025 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.486e-05/0.947, allocations: 89.08 kB / 1.026 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.659e-05/0.947, allocations: 4 kB / 1.026 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.776e-05/0.9471, allocations: 4 kB / 1.026 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.912e-05/0.9471, allocations: 8.234 kB / 1.026 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.073e-06/0.9472, allocations: 4 kB / 1.026 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.943e-05/0.9472, allocations: 87.27 kB / 1.026 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.1e-07/0.9472, allocations: 0 / 1.026 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002919/0.9475, allocations: 43.98 kB / 1.026 GB, free: 11.66 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0002679/0.9478, allocations: 131.2 kB / 1.026 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001599/0.9479, allocations: 63.86 kB / 1.026 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.9479, allocations: 0 / 1.026 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.172e-05/0.948, allocations: 39.92 kB / 1.026 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001526/0.9482, allocations: 8 kB / 1.026 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004091/0.9486, allocations: 183 kB / 1.026 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002999/0.9489, allocations: 0.6887 MB / 1.027 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.404e-05/0.949, allocations: 15.94 kB / 1.027 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.694e-05/0.949, allocations: 19.36 kB / 1.027 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of SimCode: time 5.41e-07/0.949, allocations: 0 / 1.027 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of Templates: time 0.003788/0.9528, allocations: 1.337 MB / 1.028 GB, free: 9.133 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.csv","../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches