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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.301/2.301, allocations: 390.5 MB / 398 MB, free: 11 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00144/0.001441, allocations: 175.6 kB / 491.2 MB, free: 1.613 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.777/1.777, allocations: 221.5 MB / 0.7868 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009474/0.0009472, allocations: 106.5 kB / 0.9269 GB, free: 13.85 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.058e-05/2.058e-05, allocations: 8 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3073/0.3074, allocations: 143 MB / 1.212 GB, free: 39.55 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.008/1.315, allocations: 149.5 MB / 1.358 GB, free: 17.5 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002188/1.316, allocations: 76.95 kB / 1.358 GB, free: 17.5 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01446/1.33, allocations: 5.103 MB / 1.363 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.056e-06/1.33, allocations: 3.844 kB / 1.363 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.709e-06/1.33, allocations: 0 / 1.363 GB, free: 32.9 MB / 0.8386 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.0003816/1.331, allocations: 351.7 kB / 1.364 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/1.331, allocations: 11.53 kB / 1.364 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.033e-05/1.331, allocations: 5.938 kB / 1.364 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001087/1.331, allocations: 187.4 kB / 1.364 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/1.331, allocations: 1.031 kB / 1.364 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.418e-05/1.331, allocations: 3.844 kB / 1.364 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.182e-05/1.331, allocations: 16.47 kB / 1.364 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.132e-05/1.331, allocations: 40.48 kB / 1.364 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/1.331, allocations: 0 / 1.364 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/1.331, allocations: 1.641 kB / 1.364 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/1.331, allocations: 3.844 kB / 1.364 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00018/1.331, allocations: 137.1 kB / 1.364 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.656e-05/1.331, allocations: 59.25 kB / 1.364 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.709e-05/1.331, allocations: 27.92 kB / 1.364 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005351/1.332, allocations: 460.3 kB / 1.365 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.567e-05/1.332, allocations: 46.22 kB / 1.365 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.293e-06/1.332, allocations: 0 / 1.365 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11): time 0.0009197/1.333, allocations: 0.5186 MB / 1.365 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.661e-05/1.333, allocations: 59.22 kB / 1.365 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.554e-05/1.333, allocations: 86.59 kB / 1.365 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.189e-05/1.333, allocations: 25.7 kB / 1.365 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.608e-05/1.333, allocations: 85.47 kB / 1.365 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.958e-05/1.333, allocations: 37.16 kB / 1.365 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.558e-06/1.333, allocations: 0 / 1.365 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.637e-05/1.333, allocations: 319.6 kB / 1.366 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.009e-05/1.333, allocations: 14.75 kB / 1.366 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.639e-05/1.333, allocations: 22.41 kB / 1.366 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.268e-05/1.333, allocations: 22.47 kB / 1.366 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/1.333, allocations: 3.969 kB / 1.366 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001496/1.334, allocations: 83.06 kB / 1.366 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/1.334, allocations: 3.781 kB / 1.366 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/1.334, allocations: 0 / 1.366 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/1.334, allocations: 0 / 1.366 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.9e-05/1.334, allocations: 25.5 kB / 1.366 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/1.334, allocations: 0 / 1.366 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.217e-05/1.334, allocations: 3.312 kB / 1.366 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.183e-06/1.334, allocations: 0 / 1.366 GB, free: 30.47 MB / 0.8386 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 (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 6.727e-05/1.334, allocations: 115 kB / 1.366 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.571e-05/1.334, allocations: 7.281 kB / 1.366 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002043/1.334, allocations: 105.5 kB / 1.366 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/1.334, allocations: 1.828 kB / 1.366 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/1.334, allocations: 0 / 1.366 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/1.334, allocations: 3.984 kB / 1.366 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003422/1.334, allocations: 317.4 kB / 1.366 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/1.334, allocations: 7.938 kB / 1.366 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001039/1.335, allocations: 24.55 kB / 1.366 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-06/1.335, allocations: 0 / 1.366 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/1.335, allocations: 4.844 kB / 1.366 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/1.335, allocations: 3.938 kB / 1.366 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/1.335, allocations: 0 / 1.366 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002523/1.335, allocations: 211 kB / 1.367 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.035e-05/1.335, allocations: 88.91 kB / 1.367 GB, free: 29.78 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/1.335, allocations: 4.062 kB / 1.367 GB, free: 29.78 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.61e-05/1.335, allocations: 1.453 kB / 1.367 GB, free: 29.78 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.228e-05/1.335, allocations: 9.031 kB / 1.367 GB, free: 29.78 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/1.335, allocations: 3.844 kB / 1.367 GB, free: 29.78 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.469e-05/1.335, allocations: 76.45 kB / 1.367 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.31e-07/1.335, allocations: 0 / 1.367 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002976/1.335, allocations: 56.12 kB / 1.367 GB, free: 29.69 MB / 0.8386 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 () * 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.0002703/1.336, allocations: 160.5 kB / 1.367 GB, free: 29.58 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001122/1.336, allocations: 51.22 kB / 1.367 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/1.336, allocations: 3.844 kB / 1.367 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.237e-05/1.336, allocations: 34.16 kB / 1.367 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001447/1.336, allocations: 10.47 kB / 1.367 GB, free: 29.56 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002837/1.336, allocations: 122.5 kB / 1.367 GB, free: 29.47 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002767/1.337, allocations: 0.6877 MB / 1.368 GB, free: 28.78 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 5.621e-05/1.337, allocations: 13.31 kB / 1.368 GB, free: 28.77 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.252e-05/1.337, allocations: 11.22 kB / 1.368 GB, free: 28.77 MB / 0.8386 GB Notification: Performance of SimCode: time 3.41e-07/1.337, allocations: 3.938 kB / 1.368 GB, free: 28.77 MB / 0.8386 GB Notification: Performance of Templates: time 0.003605/1.34, allocations: 1.29 MB / 1.369 GB, free: 28.66 MB / 0.8386 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