Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001889/0.001889, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002191/0.002191, allocations: 196.1 kB / 16.14 MB, free: 6.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.464/1.464, allocations: 222.9 MB / 239.8 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.742/2.742, allocations: 437 MB / 0.7099 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002001/0.002001, allocations: 71.89 kB / 0.8686 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6727/0.6747, allocations: 151.6 MB / 1.017 GB, free: 2.801 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.002013/0.6768, allocations: 0.6993 MB / 1.017 GB, free: 2.098 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0007984/0.6776, allocations: 382.8 kB / 1.018 GB, free: 1.723 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.812e-05/0.6776, allocations: 0 / 1.018 GB, free: 1.723 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.858e-05/0.6777, allocations: 0 / 1.018 GB, free: 1.723 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.269e-05/0.6777, allocations: 0 / 1.018 GB, free: 1.723 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004038/0.6781, allocations: 83.78 kB / 1.018 GB, free: 1.641 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.379e-05/0.6782, allocations: 15.98 kB / 1.018 GB, free: 1.625 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.988e-05/0.6782, allocations: 4 kB / 1.018 GB, free: 1.621 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.163e-05/0.6783, allocations: 15.92 kB / 1.018 GB, free: 1.605 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.26e-05/0.6784, allocations: 15.92 kB / 1.018 GB, free: 1.59 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.396e-05/0.6784, allocations: 0 / 1.018 GB, free: 1.59 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004199/0.6788, allocations: 271.6 kB / 1.018 GB, free: 1.324 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.758e-05/0.6788, allocations: 8 kB / 1.018 GB, free: 1.316 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.279e-05/0.6789, allocations: 15.94 kB / 1.018 GB, free: 1.301 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002028/0.6791, allocations: 107.8 kB / 1.018 GB, free: 1.195 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.6791, allocations: 0 / 1.018 GB, free: 1.195 MB / 0.7637 GB Notification: Performance of FrontEnd: time 9.22e-07/0.6791, allocations: 0 / 1.018 GB, free: 1.195 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.6791, allocations: 0 / 1.018 GB, free: 1.195 MB / 0.7637 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.0005105/0.6796, allocations: 353.5 kB / 1.019 GB, free: 0.8008 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.956e-05/0.6797, allocations: 16.02 kB / 1.019 GB, free: 0.7852 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.8e-05/0.6798, allocations: 8.781 kB / 1.019 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001562/0.6799, allocations: 168.3 kB / 1.019 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.6799, allocations: 384 / 1.019 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.189e-05/0.68, allocations: 12.31 kB / 1.019 GB, free: 0.5625 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001384/0.6801, allocations: 50.25 kB / 1.019 GB, free: 0.5078 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.6801, allocations: 192 / 1.019 GB, free: 0.5078 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.878e-05/0.6802, allocations: 3.938 kB / 1.019 GB, free: 0.5039 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.6802, allocations: 0 / 1.019 GB, free: 0.5039 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.792e-05/0.6802, allocations: 23.97 kB / 1.019 GB, free: 492 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002155/0.6805, allocations: 169.6 kB / 1.019 GB, free: 272 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001192/0.6806, allocations: 62.5 kB / 1.019 GB, free: 200 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.968e-05/0.6806, allocations: 28.84 kB / 1.019 GB, free: 168 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008157/0.6815, allocations: 453.5 kB / 1.019 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.387e-05/0.6815, allocations: 46.55 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.353e-06/0.6815, allocations: 0 / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.001379/0.6829, allocations: 0.5913 MB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.743e-05/0.683, allocations: 59.39 kB / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.491e-05/0.683, allocations: 101.8 kB / 1.02 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.081e-05/0.6831, allocations: 29.7 kB / 1.02 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.506e-05/0.6831, allocations: 80.14 kB / 1.02 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.707e-05/0.6832, allocations: 39.39 kB / 1.02 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.99e-05/0.6832, allocations: 37.7 kB / 1.02 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.6834, allocations: 314.8 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.733e-05/0.6834, allocations: 19.98 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.271e-05/0.6835, allocations: 23.94 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001033/0.6836, allocations: 56.84 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.6836, allocations: 0 / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001835/0.6838, allocations: 105.4 kB / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.6838, allocations: 4 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.6838, allocations: 0 / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.6838, allocations: 0 / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.684, allocations: 27.92 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.684, allocations: 0 / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.666e-05/0.684, allocations: 4 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.728e-06/0.684, allocations: 4 kB / 1.021 GB, free: 13.95 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.413e-05/0.6841, allocations: 117.8 kB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.025e-05/0.6842, allocations: 3.938 kB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002114/0.6844, allocations: 113.8 kB / 1.021 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.6844, allocations: 0 / 1.021 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.6844, allocations: 0 / 1.021 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.6844, allocations: 0 / 1.021 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004252/0.6848, allocations: 354.5 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.6848, allocations: 4 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001141/0.685, allocations: 27.92 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.685, allocations: 0 / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.685, allocations: 4 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.685, allocations: 96 / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.685, allocations: 7.922 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002985/0.6853, allocations: 227.3 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001182/0.6854, allocations: 89.03 kB / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.004e-05/0.6855, allocations: 8.062 kB / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.131e-05/0.6856, allocations: 8 kB / 1.022 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.002e-05/0.6856, allocations: 7.984 kB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.023e-06/0.6856, allocations: 0 / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.051e-05/0.6857, allocations: 79.28 kB / 1.022 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6857, allocations: 0 / 1.022 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003066/0.686, allocations: 40 kB / 1.022 GB, free: 12.77 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003336/0.6863, allocations: 147.7 kB / 1.022 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001713/0.6865, allocations: 63.92 kB / 1.022 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.6865, allocations: 0 / 1.022 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.314e-05/0.6866, allocations: 39.92 kB / 1.022 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002372/0.6868, allocations: 5.719 kB / 1.022 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004421/0.6873, allocations: 188 kB / 1.022 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003959/0.6877, allocations: 0.6864 MB / 1.023 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.477e-05/0.6878, allocations: 19.92 kB / 1.023 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.628e-05/0.6878, allocations: 11.44 kB / 1.023 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of SimCode: time 2.11e-07/0.6878, allocations: 0 / 1.023 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of Templates: time 0.004423/0.6922, allocations: 1.387 MB / 1.024 GB, free: 10.18 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches