Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.005151/0.005152, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001166/0.001166, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.422/1.422, allocations: 222.9 MB / 240.4 MB, free: 4.191 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.414/2.414, allocations: 390.2 MB / 0.6648 GB, free: 136 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 72.38 kB / 0.9509 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3599/0.3611, allocations: 140.4 MB / 1.088 GB, free: 1.422 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001709/0.3629, allocations: 0.6076 MB / 1.089 GB, free: 0.8164 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0007085/0.3636, allocations: 359.1 kB / 1.089 GB, free: 476 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.776e-05/0.3636, allocations: 0 / 1.089 GB, free: 476 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.852e-05/0.3637, allocations: 3.938 kB / 1.089 GB, free: 472 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 3.382e-05/0.3637, allocations: 0 / 1.089 GB, free: 472 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004931/0.3642, allocations: 126.6 kB / 1.089 GB, free: 348 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 6.445e-05/0.3643, allocations: 19.97 kB / 1.089 GB, free: 328 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.35e-05/0.3643, allocations: 7.938 kB / 1.089 GB, free: 320 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 3.983e-05/0.3644, allocations: 8 kB / 1.089 GB, free: 312 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.084e-05/0.3644, allocations: 15.92 kB / 1.089 GB, free: 296 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.393e-05/0.3645, allocations: 4 kB / 1.089 GB, free: 292 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003794/0.3648, allocations: 275.6 kB / 1.089 GB, free: 16 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.66e-05/0.3649, allocations: 7.984 kB / 1.089 GB, free: 8 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.274e-05/0.3649, allocations: 11.97 kB / 1.089 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001847/0.3651, allocations: 107.7 kB / 1.089 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.3651, allocations: 0 / 1.089 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.382e-06/0.3651, allocations: 0 / 1.089 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.3651, allocations: 0 / 1.089 GB, free: 15.89 MB / 0.8575 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.0004462/0.3656, allocations: 363.4 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.3656, allocations: 8.031 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.943e-05/0.3657, allocations: 8.844 kB / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001345/0.3659, allocations: 168.3 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.756e-05/0.3659, allocations: 4.375 kB / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.754e-05/0.3659, allocations: 4.312 kB / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001372/0.366, allocations: 58.22 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.3661, allocations: 192 / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/0.3661, allocations: 3.938 kB / 1.09 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.3661, allocations: 4 kB / 1.09 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.048e-05/0.3662, allocations: 19.98 kB / 1.09 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002172/0.3664, allocations: 169.6 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001249/0.3665, allocations: 62.5 kB / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.804e-05/0.3666, allocations: 28.84 kB / 1.09 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007859/0.3674, allocations: 461.5 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.606e-05/0.3674, allocations: 30.56 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.3674, allocations: 0 / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.001472/0.3689, allocations: 0.5995 MB / 1.091 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.173e-05/0.369, allocations: 51.41 kB / 1.091 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.653e-05/0.369, allocations: 97.84 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.081e-05/0.3691, allocations: 29.7 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.025e-05/0.3691, allocations: 84.14 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.774e-05/0.3692, allocations: 35.45 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.033e-05/0.3692, allocations: 33.7 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.3694, allocations: 314.8 kB / 1.092 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.483e-05/0.3694, allocations: 19.98 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.439e-05/0.3695, allocations: 27.98 kB / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000104/0.3696, allocations: 56.8 kB / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.3696, allocations: 0 / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001586/0.3698, allocations: 97.53 kB / 1.092 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.3698, allocations: 8 kB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.3698, allocations: 3.984 kB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.3698, allocations: 4 kB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.3699, allocations: 16 kB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.146e-06/0.3699, allocations: 7.875 kB / 1.092 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.294e-05/0.37, allocations: 4 kB / 1.092 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/0.37, allocations: 4 kB / 1.092 GB, free: 12.64 MB / 0.8575 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.929e-05/0.3701, allocations: 117.8 kB / 1.092 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.832e-05/0.3701, allocations: 7.938 kB / 1.092 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002005/0.3703, allocations: 93.64 kB / 1.092 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.3704, allocations: 8 kB / 1.092 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.3704, allocations: 0 / 1.092 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.3704, allocations: 7.922 kB / 1.092 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000457/0.3708, allocations: 362.3 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.3709, allocations: 3.984 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001041/0.371, allocations: 20 kB / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.371, allocations: 96 / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.371, allocations: 7.938 kB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.371, allocations: 3.938 kB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.371, allocations: 0 / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002799/0.3713, allocations: 222.5 kB / 1.093 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.766e-05/0.3714, allocations: 93.03 kB / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.863e-05/0.3714, allocations: 4 kB / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.734e-05/0.3715, allocations: 4 kB / 1.093 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.576e-05/0.3715, allocations: 7.984 kB / 1.093 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.155e-06/0.3715, allocations: 4 kB / 1.093 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.264e-05/0.3716, allocations: 75.28 kB / 1.093 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3716, allocations: 4.062 kB / 1.093 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002762/0.3718, allocations: 47.98 kB / 1.093 GB, free: 11.46 MB / 0.8575 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.0002714/0.3721, allocations: 147.2 kB / 1.093 GB, free: 11.31 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001592/0.3723, allocations: 55.92 kB / 1.093 GB, free: 11.26 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.3723, allocations: 4 kB / 1.093 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.623e-05/0.3724, allocations: 35.92 kB / 1.094 GB, free: 11.22 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002264/0.3726, allocations: 9.688 kB / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000359/0.373, allocations: 177.8 kB / 1.094 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002386/0.3732, allocations: 0.6884 MB / 1.094 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.859e-05/0.3733, allocations: 11.98 kB / 1.094 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.379e-05/0.3733, allocations: 11.44 kB / 1.094 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of SimCode: time 2.2e-07/0.3733, allocations: 0 / 1.094 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of Templates: time 0.004783/0.3781, allocations: 1.43 MB / 1.096 GB, free: 8.855 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches