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.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.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.001563/0.001563, allocations: 106.6 kB / 16.37 MB, free: 6.48 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.002008/0.002009, allocations: 195.8 kB / 17.31 MB, free: 5.82 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.365/1.365, allocations: 222.9 MB / 241 MB, free: 15.18 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.412/2.412, allocations: 437.1 MB / 0.7112 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 68.47 kB / 0.8707 GB, free: 1.465 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2665/0.2678, allocations: 151.6 MB / 1.019 GB, free: 9.875 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001834/0.2697, allocations: 0.625 MB / 1.019 GB, free: 9.242 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.000636/0.2703, allocations: 346.7 kB / 1.02 GB, free: 8.902 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.122e-05/0.2704, allocations: 4 kB / 1.02 GB, free: 8.898 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.183e-05/0.2704, allocations: 4 kB / 1.02 GB, free: 8.895 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 2.895e-05/0.2704, allocations: 3.938 kB / 1.02 GB, free: 8.891 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.000446/0.2709, allocations: 111.7 kB / 1.02 GB, free: 8.781 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 6.777e-05/0.271, allocations: 27.91 kB / 1.02 GB, free: 8.754 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.524e-05/0.271, allocations: 4 kB / 1.02 GB, free: 8.75 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 4.114e-05/0.2711, allocations: 15.92 kB / 1.02 GB, free: 8.734 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 8.323e-05/0.2711, allocations: 11.92 kB / 1.02 GB, free: 8.723 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.467e-05/0.2712, allocations: 0 / 1.02 GB, free: 8.723 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004404/0.2716, allocations: 275.7 kB / 1.02 GB, free: 8.453 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.831e-05/0.2717, allocations: 15.92 kB / 1.02 GB, free: 8.438 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.774e-05/0.2717, allocations: 11.92 kB / 1.02 GB, free: 8.426 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001926/0.2719, allocations: 103.8 kB / 1.02 GB, free: 8.324 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.2719, allocations: 4 kB / 1.02 GB, free: 8.32 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2719, allocations: 0 / 1.02 GB, free: 8.32 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.668e-06/0.2719, allocations: 0 / 1.02 GB, free: 8.32 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000396/0.2723, allocations: 355.4 kB / 1.021 GB, free: 7.922 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.117e-05/0.2723, allocations: 12.03 kB / 1.021 GB, free: 7.91 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.822e-05/0.2724, allocations: 8.844 kB / 1.021 GB, free: 7.902 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001071/0.2725, allocations: 164.4 kB / 1.021 GB, free: 7.703 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.2725, allocations: 8.312 kB / 1.021 GB, free: 7.695 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.166e-05/0.2726, allocations: 4.375 kB / 1.021 GB, free: 7.691 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001117/0.2727, allocations: 54.23 kB / 1.021 GB, free: 7.633 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.2727, allocations: 192 / 1.021 GB, free: 7.633 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.2727, allocations: 7.875 kB / 1.021 GB, free: 7.625 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.2727, allocations: 0 / 1.021 GB, free: 7.625 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.519e-05/0.2728, allocations: 19.98 kB / 1.021 GB, free: 7.605 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001585/0.273, allocations: 165.7 kB / 1.021 GB, free: 7.395 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001117/0.2731, allocations: 54.56 kB / 1.021 GB, free: 7.332 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.431e-05/0.2731, allocations: 28.84 kB / 1.021 GB, free: 7.301 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006637/0.2738, allocations: 461.5 kB / 1.022 GB, free: 6.758 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.606e-05/0.2739, allocations: 38.5 kB / 1.022 GB, free: 6.711 MB / 0.795 GB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.2739, allocations: 0 / 1.022 GB, free: 6.711 MB / 0.795 GB Notification: Performance of matching and sorting (n=11): time 0.001273/0.2751, allocations: 0.5994 MB / 1.022 GB, free: 6.02 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.888e-05/0.2752, allocations: 55.41 kB / 1.022 GB, free: 5.953 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.558e-05/0.2753, allocations: 97.84 kB / 1.022 GB, free: 5.848 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.2753, allocations: 29.7 kB / 1.022 GB, free: 5.812 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 3.489e-05/0.2753, allocations: 84.08 kB / 1.022 GB, free: 5.727 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.784e-05/0.2754, allocations: 31.47 kB / 1.022 GB, free: 5.695 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.567e-05/0.2754, allocations: 33.7 kB / 1.023 GB, free: 5.656 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.2755, allocations: 318.8 kB / 1.023 GB, free: 5.336 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.198e-05/0.2756, allocations: 19.98 kB / 1.023 GB, free: 5.316 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.646e-05/0.2756, allocations: 19.98 kB / 1.023 GB, free: 5.297 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001012/0.2757, allocations: 64.55 kB / 1.023 GB, free: 5.234 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.2757, allocations: 4 kB / 1.023 GB, free: 5.23 MB / 0.795 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00016/0.2759, allocations: 109.5 kB / 1.023 GB, free: 5.117 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.2759, allocations: 4 kB / 1.023 GB, free: 5.113 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.2759, allocations: 0 / 1.023 GB, free: 5.113 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.276, allocations: 0 / 1.023 GB, free: 5.113 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.2761, allocations: 20 kB / 1.023 GB, free: 5.094 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.719e-06/0.2761, allocations: 11.97 kB / 1.023 GB, free: 5.082 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.44e-05/0.2761, allocations: 0 / 1.023 GB, free: 5.082 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/0.2761, allocations: 8 kB / 1.023 GB, free: 5.074 MB / 0.795 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.342e-05/0.2762, allocations: 117.8 kB / 1.023 GB, free: 4.949 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.756e-05/0.2763, allocations: 3.938 kB / 1.023 GB, free: 4.945 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001926/0.2765, allocations: 97.64 kB / 1.023 GB, free: 4.84 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.2765, allocations: 3.984 kB / 1.023 GB, free: 4.836 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.2765, allocations: 0 / 1.023 GB, free: 4.836 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.2765, allocations: 0 / 1.023 GB, free: 4.836 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003918/0.2769, allocations: 366.4 kB / 1.024 GB, free: 4.422 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.2769, allocations: 0 / 1.024 GB, free: 4.422 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001079/0.277, allocations: 20 kB / 1.024 GB, free: 4.402 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.277, allocations: 0 / 1.024 GB, free: 4.402 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.277, allocations: 4.078 kB / 1.024 GB, free: 4.398 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.2771, allocations: 3.938 kB / 1.024 GB, free: 4.395 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.2771, allocations: 0 / 1.024 GB, free: 4.395 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002633/0.2773, allocations: 235.5 kB / 1.024 GB, free: 4.148 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.096e-05/0.2774, allocations: 93.03 kB / 1.024 GB, free: 4.039 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.486e-05/0.2774, allocations: 0 / 1.024 GB, free: 4.039 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.634e-05/0.2775, allocations: 8 kB / 1.024 GB, free: 4.031 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.017e-05/0.2775, allocations: 7.984 kB / 1.024 GB, free: 4.023 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.103e-06/0.2776, allocations: 0 / 1.024 GB, free: 4.023 MB / 0.795 GB Notification: Performance of sorting global known variables: time 3.727e-05/0.2776, allocations: 79.28 kB / 1.024 GB, free: 3.945 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2776, allocations: 0 / 1.024 GB, free: 3.945 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002791/0.2779, allocations: 47.98 kB / 1.024 GB, free: 3.898 MB / 0.795 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.0002639/0.2782, allocations: 143.3 kB / 1.024 GB, free: 3.746 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001923/0.2784, allocations: 71.78 kB / 1.024 GB, free: 3.676 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.2784, allocations: 0 / 1.024 GB, free: 3.676 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 5.872e-05/0.2784, allocations: 35.94 kB / 1.024 GB, free: 3.641 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002534/0.2787, allocations: 7.984 kB / 1.024 GB, free: 3.633 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005352/0.2792, allocations: 174.7 kB / 1.025 GB, free: 3.438 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003105/0.2796, allocations: 0.6894 MB / 1.025 GB, free: 2.723 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 5.456e-05/0.2796, allocations: 11.97 kB / 1.025 GB, free: 2.711 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.587e-05/0.2796, allocations: 15.44 kB / 1.025 GB, free: 2.699 MB / 0.795 GB Notification: Performance of SimCode: time 2.1e-07/0.2797, allocations: 0 / 1.025 GB, free: 2.699 MB / 0.795 GB Notification: Performance of Templates: time 0.004633/0.2843, allocations: 1.406 MB / 1.027 GB, free: 1.305 MB / 0.795 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 -s gbode -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/jenkins1/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