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.001636/0.001636, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.001969/0.001969, allocations: 191.5 kB / 16.25 MB, free: 6.629 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.383/1.383, allocations: 222.9 MB / 239.9 MB, free: 4.531 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.92/2.92, allocations: 437 MB / 0.71 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 63.91 kB / 0.8687 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6794/0.6808, allocations: 151.6 MB / 1.017 GB, free: 2.684 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.002027/0.6829, allocations: 0.681 MB / 1.017 GB, free: 2 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00073/0.6836, allocations: 350.8 kB / 1.018 GB, free: 1.656 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.312e-05/0.6837, allocations: 0 / 1.018 GB, free: 1.656 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.753e-05/0.6837, allocations: 0 / 1.018 GB, free: 1.656 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.583e-05/0.6837, allocations: 4 kB / 1.018 GB, free: 1.652 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000462/0.6842, allocations: 95.78 kB / 1.018 GB, free: 1.559 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.09e-05/0.6843, allocations: 23.98 kB / 1.018 GB, free: 1.535 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.998e-05/0.6843, allocations: 3.984 kB / 1.018 GB, free: 1.531 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.251e-05/0.6844, allocations: 19.92 kB / 1.018 GB, free: 1.512 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.992e-05/0.6844, allocations: 15.92 kB / 1.018 GB, free: 1.496 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.358e-05/0.6845, allocations: 0 / 1.018 GB, free: 1.496 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003706/0.6848, allocations: 271.7 kB / 1.018 GB, free: 1.23 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.372e-05/0.6848, allocations: 0 / 1.018 GB, free: 1.23 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.538e-05/0.6849, allocations: 19.91 kB / 1.018 GB, free: 1.211 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001783/0.6851, allocations: 99.78 kB / 1.018 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.6851, allocations: 0 / 1.018 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.563e-06/0.6851, allocations: 3.938 kB / 1.018 GB, free: 1.109 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.6851, allocations: 0 / 1.018 GB, free: 1.109 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.0004971/0.6856, allocations: 365.4 kB / 1.019 GB, free: 0.7031 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.6856, allocations: 11.97 kB / 1.019 GB, free: 0.6914 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.22e-05/0.6857, allocations: 4.938 kB / 1.019 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001115/0.6858, allocations: 176.2 kB / 1.019 GB, free: 488 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.6859, allocations: 4.375 kB / 1.019 GB, free: 484 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.875e-05/0.6859, allocations: 8.375 kB / 1.019 GB, free: 476 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001105/0.686, allocations: 46.23 kB / 1.019 GB, free: 424 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.686, allocations: 4.188 kB / 1.019 GB, free: 420 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.686, allocations: 3.938 kB / 1.019 GB, free: 416 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.686, allocations: 0 / 1.019 GB, free: 416 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.107e-05/0.6861, allocations: 23.98 kB / 1.019 GB, free: 392 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001662/0.6863, allocations: 165.7 kB / 1.019 GB, free: 176 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001017/0.6864, allocations: 58.5 kB / 1.019 GB, free: 108 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.776e-05/0.6864, allocations: 28.84 kB / 1.019 GB, free: 76 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006906/0.6871, allocations: 461.5 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.927e-05/0.6872, allocations: 34.56 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.522e-06/0.6872, allocations: 0 / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.001268/0.6885, allocations: 0.6033 MB / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.991e-05/0.6885, allocations: 55.41 kB / 1.02 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.711e-05/0.6886, allocations: 97.86 kB / 1.02 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.643e-05/0.6886, allocations: 25.7 kB / 1.02 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.827e-05/0.6887, allocations: 88.06 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.579e-05/0.6887, allocations: 39.41 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.199e-05/0.6888, allocations: 33.7 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.6889, allocations: 314.8 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.327e-05/0.689, allocations: 23.98 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.773e-05/0.689, allocations: 27.86 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.816e-05/0.6891, allocations: 52.86 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.6891, allocations: 0 / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001599/0.6893, allocations: 97.61 kB / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.6893, allocations: 4 kB / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.6893, allocations: 4 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.6893, allocations: 0 / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.6894, allocations: 27.94 kB / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.251e-06/0.6895, allocations: 0 / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.614e-05/0.6895, allocations: 3.984 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.777e-06/0.6895, allocations: 4 kB / 1.021 GB, free: 13.86 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 8.324e-05/0.6896, allocations: 110.4 kB / 1.021 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.44e-05/0.6896, allocations: 15.78 kB / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002014/0.6898, allocations: 113.6 kB / 1.021 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.6898, allocations: 0 / 1.021 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.6899, allocations: 96 / 1.021 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.6899, allocations: 7.922 kB / 1.021 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004073/0.6903, allocations: 358.6 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.6903, allocations: 0 / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001091/0.6904, allocations: 23.94 kB / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.838e-06/0.6904, allocations: 4 kB / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.6904, allocations: 7.984 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.6904, allocations: 0 / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.6904, allocations: 4 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002523/0.6907, allocations: 219.3 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.972e-05/0.6908, allocations: 89.03 kB / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.716e-05/0.6908, allocations: 4 kB / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.267e-05/0.6909, allocations: 0 / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.409e-05/0.6909, allocations: 7.984 kB / 1.022 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.735e-05/0.6909, allocations: 8 kB / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.696e-05/0.691, allocations: 87.28 kB / 1.022 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.691, allocations: 0 / 1.022 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002859/0.6913, allocations: 47.98 kB / 1.022 GB, free: 12.67 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.0002443/0.6915, allocations: 135.2 kB / 1.022 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001625/0.6917, allocations: 71.84 kB / 1.022 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.6917, allocations: 0 / 1.022 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.936e-05/0.6917, allocations: 28 kB / 1.022 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002173/0.692, allocations: 10.05 kB / 1.022 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000348/0.6923, allocations: 198.3 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002484/0.6926, allocations: 0.6885 MB / 1.023 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.793e-05/0.6926, allocations: 4 kB / 1.023 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.619e-05/0.6927, allocations: 19.44 kB / 1.023 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.6927, allocations: 0 / 1.023 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of Templates: time 0.003842/0.6965, allocations: 1.402 MB / 1.025 GB, free: 10.07 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=480 -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