Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_10_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_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001709/0.001709, allocations: 102.2 kB / 16.35 MB, free: 5.875 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.001862/0.001862, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.441/1.441, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.434/2.434, allocations: 437.1 MB / 0.7112 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001247, allocations: 64.34 kB / 0.8707 GB, free: 1.422 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2738/0.2751, allocations: 151.6 MB / 1.019 GB, free: 9.832 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001751/0.2769, allocations: 0.6004 MB / 1.019 GB, free: 9.227 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0006064/0.2775, allocations: 346.7 kB / 1.02 GB, free: 8.887 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.332e-05/0.2775, allocations: 0 / 1.02 GB, free: 8.887 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.134e-05/0.2776, allocations: 0 / 1.02 GB, free: 8.887 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 2.13e-05/0.2776, allocations: 0 / 1.02 GB, free: 8.887 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004742/0.2781, allocations: 120.2 kB / 1.02 GB, free: 8.77 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 5.427e-05/0.2781, allocations: 8 kB / 1.02 GB, free: 8.762 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.435e-05/0.2782, allocations: 0 / 1.02 GB, free: 8.762 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 1.95e-05/0.2782, allocations: 4 kB / 1.02 GB, free: 8.758 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.655e-05/0.2783, allocations: 11.91 kB / 1.02 GB, free: 8.746 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.355e-05/0.2783, allocations: 0 / 1.02 GB, free: 8.746 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003836/0.2787, allocations: 271.7 kB / 1.02 GB, free: 8.48 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.456e-05/0.2787, allocations: 7.984 kB / 1.02 GB, free: 8.473 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 1.707e-05/0.2787, allocations: 8 kB / 1.02 GB, free: 8.465 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.000176/0.2789, allocations: 95.78 kB / 1.02 GB, free: 8.371 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.2789, allocations: 0 / 1.02 GB, free: 8.371 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.723e-06/0.2789, allocations: 0 / 1.02 GB, free: 8.371 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.922e-06/0.2789, allocations: 4 kB / 1.02 GB, free: 8.367 MB / 0.795 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.0003326/0.2793, allocations: 335.5 kB / 1.021 GB, free: 7.988 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.2793, allocations: 16.02 kB / 1.021 GB, free: 7.973 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.127e-05/0.2794, allocations: 0.9375 kB / 1.021 GB, free: 7.973 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001051/0.2795, allocations: 160.4 kB / 1.021 GB, free: 7.777 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.2795, allocations: 8.375 kB / 1.021 GB, free: 7.77 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.144e-05/0.2795, allocations: 4.312 kB / 1.021 GB, free: 7.766 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.262e-05/0.2796, allocations: 34.25 kB / 1.021 GB, free: 7.727 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.2797, allocations: 192 / 1.021 GB, free: 7.727 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.2797, allocations: 3.938 kB / 1.021 GB, free: 7.723 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.2797, allocations: 0 / 1.021 GB, free: 7.723 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.107e-05/0.2797, allocations: 8 kB / 1.021 GB, free: 7.715 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001413/0.2798, allocations: 153.6 kB / 1.021 GB, free: 7.516 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 5.351e-05/0.2799, allocations: 30.56 kB / 1.021 GB, free: 7.477 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.614e-05/0.2799, allocations: 8.797 kB / 1.021 GB, free: 7.465 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007466/0.2807, allocations: 461.5 kB / 1.021 GB, free: 6.922 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/0.2807, allocations: 34.56 kB / 1.021 GB, free: 6.879 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 2.404e-06/0.2807, allocations: 3.938 kB / 1.021 GB, free: 6.875 MB / 0.795 GB Notification: Performance of matching and sorting (n=3): time 0.0004697/0.2812, allocations: 262.2 kB / 1.022 GB, free: 6.566 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.324e-05/0.2812, allocations: 51.41 kB / 1.022 GB, free: 6.504 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.924e-05/0.2813, allocations: 102.1 kB / 1.022 GB, free: 6.395 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.2813, allocations: 25.7 kB / 1.022 GB, free: 6.363 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 3.122e-05/0.2814, allocations: 80.14 kB / 1.022 GB, free: 6.281 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.097e-05/0.2814, allocations: 7.891 kB / 1.022 GB, free: 6.273 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.981e-05/0.2814, allocations: 17.72 kB / 1.022 GB, free: 6.25 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.411e-05/0.2815, allocations: 310.8 kB / 1.022 GB, free: 5.938 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.738e-05/0.2816, allocations: 8 kB / 1.022 GB, free: 5.93 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.805e-05/0.2816, allocations: 21.7 kB / 1.022 GB, free: 5.902 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.295e-05/0.2816, allocations: 29.78 kB / 1.022 GB, free: 5.867 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.2816, allocations: 0 / 1.022 GB, free: 5.867 MB / 0.795 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001026/0.2817, allocations: 53.59 kB / 1.022 GB, free: 5.809 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.2818, allocations: 11.88 kB / 1.022 GB, free: 5.797 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.2818, allocations: 4 kB / 1.022 GB, free: 5.793 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.2818, allocations: 0 / 1.022 GB, free: 5.793 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.549e-05/0.2819, allocations: 4 kB / 1.022 GB, free: 5.789 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.2819, allocations: 8.047 kB / 1.022 GB, free: 5.781 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.05e-05/0.2819, allocations: 8 kB / 1.022 GB, free: 5.773 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-06/0.2819, allocations: 0 / 1.022 GB, free: 5.773 MB / 0.795 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.217e-05/0.282, allocations: 109.8 kB / 1.022 GB, free: 5.656 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.551e-05/0.282, allocations: 7.922 kB / 1.022 GB, free: 5.648 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000131/0.2821, allocations: 57.12 kB / 1.023 GB, free: 5.582 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.2822, allocations: 0 / 1.023 GB, free: 5.582 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.2822, allocations: 4 kB / 1.023 GB, free: 5.578 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.2822, allocations: 0 / 1.023 GB, free: 5.578 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.029e-05/0.2823, allocations: 149.7 kB / 1.023 GB, free: 5.383 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.2823, allocations: 0 / 1.023 GB, free: 5.383 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.378e-05/0.2823, allocations: 8 kB / 1.023 GB, free: 5.375 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.2823, allocations: 3.938 kB / 1.023 GB, free: 5.371 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.121e-06/0.2824, allocations: 0 / 1.023 GB, free: 5.371 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.2824, allocations: 3.984 kB / 1.023 GB, free: 5.367 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.2824, allocations: 0 / 1.023 GB, free: 5.367 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001394/0.2825, allocations: 77.12 kB / 1.023 GB, free: 5.273 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.352e-05/0.2826, allocations: 81.14 kB / 1.023 GB, free: 5.176 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.509e-05/0.2826, allocations: 3.938 kB / 1.023 GB, free: 5.172 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.938e-05/0.2826, allocations: 11.88 kB / 1.023 GB, free: 5.16 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.099e-05/0.2826, allocations: 7.984 kB / 1.023 GB, free: 5.152 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.7e-05/0.2827, allocations: 3.938 kB / 1.023 GB, free: 5.148 MB / 0.795 GB Notification: Performance of sorting global known variables: time 3.71e-05/0.2827, allocations: 75.28 kB / 1.023 GB, free: 5.074 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2827, allocations: 0 / 1.023 GB, free: 5.074 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002234/0.2829, allocations: 24.16 kB / 1.023 GB, free: 5.051 MB / 0.795 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 () * Number of clocked 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 (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.000192/0.2831, allocations: 135.2 kB / 1.023 GB, free: 4.91 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 8.338e-05/0.2832, allocations: 16.22 kB / 1.023 GB, free: 4.895 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.2832, allocations: 0 / 1.023 GB, free: 4.895 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 2.284e-05/0.2833, allocations: 15.94 kB / 1.023 GB, free: 4.879 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001406/0.2834, allocations: 96 / 1.023 GB, free: 4.879 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002304/0.2837, allocations: 121.5 kB / 1.023 GB, free: 4.734 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002342/0.2839, allocations: 0.6808 MB / 1.024 GB, free: 4.027 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 2.704e-05/0.2839, allocations: 4 kB / 1.024 GB, free: 4.023 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.493e-05/0.284, allocations: 7.438 kB / 1.024 GB, free: 4.016 MB / 0.795 GB Notification: Performance of SimCode: time 2.3e-07/0.284, allocations: 0 / 1.024 GB, free: 4.016 MB / 0.795 GB Notification: Performance of Templates: time 0.003006/0.287, allocations: 0.8692 MB / 1.025 GB, free: 3.152 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches