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.001572/0.001572, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001929/0.001929, allocations: 195.6 kB / 16.53 MB, free: 6.664 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.343/1.343, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.563/2.563, allocations: 437 MB / 0.7103 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 59.91 kB / 0.8692 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7166/0.7179, allocations: 151.6 MB / 1.017 GB, free: 2.566 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.00197/0.7199, allocations: 0.6152 MB / 1.018 GB, free: 1.945 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0007996/0.7207, allocations: 346.7 kB / 1.018 GB, free: 1.605 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.716e-05/0.7208, allocations: 0 / 1.018 GB, free: 1.605 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.797e-05/0.7208, allocations: 7.938 kB / 1.018 GB, free: 1.598 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.138e-05/0.7208, allocations: 4 kB / 1.018 GB, free: 1.594 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005137/0.7214, allocations: 125.5 kB / 1.018 GB, free: 1.473 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.955e-05/0.7214, allocations: 19.98 kB / 1.018 GB, free: 1.453 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 5.557e-05/0.7215, allocations: 0 / 1.018 GB, free: 1.453 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.508e-05/0.7215, allocations: 11.94 kB / 1.018 GB, free: 1.441 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.553e-05/0.7216, allocations: 19.91 kB / 1.018 GB, free: 1.422 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.462e-05/0.7216, allocations: 0 / 1.018 GB, free: 1.422 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003605/0.722, allocations: 279.6 kB / 1.019 GB, free: 1.148 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.481e-05/0.722, allocations: 8 kB / 1.019 GB, free: 1.141 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.301e-05/0.7221, allocations: 11.94 kB / 1.019 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001661/0.7222, allocations: 99.75 kB / 1.019 GB, free: 1.031 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.7222, allocations: 0 / 1.019 GB, free: 1.031 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.544e-06/0.7222, allocations: 4 kB / 1.019 GB, free: 1.027 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.7223, allocations: 0 / 1.019 GB, free: 1.027 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.0004047/0.7227, allocations: 357.5 kB / 1.019 GB, free: 0.6289 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.7227, allocations: 16.02 kB / 1.019 GB, free: 0.6133 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.755e-05/0.7228, allocations: 0.9375 kB / 1.019 GB, free: 0.6133 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001091/0.7229, allocations: 180.2 kB / 1.019 GB, free: 408 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.7229, allocations: 4.312 kB / 1.019 GB, free: 404 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.956e-05/0.7229, allocations: 8.375 kB / 1.019 GB, free: 396 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001068/0.723, allocations: 46.23 kB / 1.019 GB, free: 344 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.7231, allocations: 4.188 kB / 1.019 GB, free: 340 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.7231, allocations: 7.938 kB / 1.019 GB, free: 332 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.7231, allocations: 0 / 1.019 GB, free: 332 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.148e-05/0.7232, allocations: 19.98 kB / 1.019 GB, free: 312 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001835/0.7233, allocations: 165.6 kB / 1.02 GB, free: 96 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000108/0.7235, allocations: 66.5 kB / 1.02 GB, free: 20 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.852e-05/0.7235, allocations: 29.08 kB / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007051/0.7242, allocations: 457.5 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.014e-05/0.7243, allocations: 34.56 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.7243, allocations: 4 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.00139/0.7257, allocations: 0.5914 MB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.095e-05/0.7257, allocations: 59.39 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.642e-05/0.7258, allocations: 101.8 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.7259, allocations: 25.7 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.823e-05/0.7259, allocations: 88.08 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.428e-05/0.726, allocations: 35.45 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.626e-05/0.726, allocations: 29.7 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.7261, allocations: 318.8 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.441e-05/0.7262, allocations: 23.98 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.55e-05/0.7262, allocations: 16 kB / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.649e-05/0.7263, allocations: 64.66 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.7263, allocations: 0 / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001577/0.7265, allocations: 97.62 kB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.7265, allocations: 4 kB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.7265, allocations: 0 / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.7265, allocations: 0 / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001103/0.7267, allocations: 31.92 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.7267, allocations: 4 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.501e-05/0.7267, allocations: 0 / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.7267, allocations: 4 kB / 1.022 GB, free: 13.78 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.3e-05/0.7268, allocations: 109.8 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.762e-05/0.7268, allocations: 11.84 kB / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000208/0.7271, allocations: 113.6 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.7271, allocations: 0 / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.7271, allocations: 3.938 kB / 1.022 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.7271, allocations: 0 / 1.022 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004101/0.7275, allocations: 358.7 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.7275, allocations: 0 / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001052/0.7276, allocations: 23.98 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.7276, allocations: 4 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.7277, allocations: 7.938 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.7277, allocations: 0 / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.7277, allocations: 0 / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000263/0.7279, allocations: 227.4 kB / 1.022 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.47e-05/0.728, allocations: 92.97 kB / 1.022 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.816e-05/0.728, allocations: 4 kB / 1.022 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.772e-05/0.7281, allocations: 0 / 1.022 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.298e-05/0.7281, allocations: 7.984 kB / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.021e-05/0.7281, allocations: 8 kB / 1.022 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.981e-05/0.7282, allocations: 79.28 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7282, allocations: 0 / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002749/0.7285, allocations: 40 kB / 1.023 GB, free: 12.61 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.0002351/0.7287, allocations: 151.2 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000155/0.7289, allocations: 63.92 kB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.7289, allocations: 0 / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.799e-05/0.7289, allocations: 39.92 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002284/0.7292, allocations: 4.562 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003477/0.7295, allocations: 174.1 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002289/0.7298, allocations: 0.6857 MB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.397e-05/0.7298, allocations: 11.92 kB / 1.024 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.527e-05/0.7299, allocations: 15.44 kB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of SimCode: time 1.863e-06/0.7299, allocations: 0 / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of Templates: time 0.003836/0.7337, allocations: 1.409 MB / 1.025 GB, free: 10 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