Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00135/0.00135, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001704/0.001704, allocations: 197.9 kB / 16.14 MB, free: 6.648 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.393/1.393, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.771/2.771, allocations: 461.9 MB / 0.7342 GB, free: 15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 70.78 kB / 0.8984 GB, free: 37.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3697/0.371, allocations: 157.4 MB / 1.052 GB, free: 8.797 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.002066/0.3731, allocations: 0.6348 MB / 1.053 GB, free: 8.156 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0007555/0.3739, allocations: 362.8 kB / 1.053 GB, free: 7.801 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.229e-05/0.3739, allocations: 4 kB / 1.053 GB, free: 7.797 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.664e-05/0.374, allocations: 0 / 1.053 GB, free: 7.797 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.292e-06/0.374, allocations: 0 / 1.053 GB, free: 7.797 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003717/0.3744, allocations: 75.78 kB / 1.053 GB, free: 7.723 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 3.646e-05/0.3744, allocations: 4 kB / 1.053 GB, free: 7.719 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.755e-05/0.3744, allocations: 0 / 1.053 GB, free: 7.719 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.436e-05/0.3745, allocations: 0 / 1.053 GB, free: 7.719 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 2.103e-05/0.3745, allocations: 3.984 kB / 1.053 GB, free: 7.715 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 8.767e-06/0.3745, allocations: 0 / 1.053 GB, free: 7.715 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003799/0.3749, allocations: 275.7 kB / 1.053 GB, free: 7.445 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.059e-05/0.3749, allocations: 3.938 kB / 1.053 GB, free: 7.441 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 1.592e-05/0.3749, allocations: 0 / 1.053 GB, free: 7.441 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001911/0.3751, allocations: 87.86 kB / 1.054 GB, free: 7.355 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.3751, allocations: 3.938 kB / 1.054 GB, free: 7.352 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.243e-06/0.3751, allocations: 0 / 1.054 GB, free: 7.352 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.3752, allocations: 0 / 1.054 GB, free: 7.352 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003331/0.3755, allocations: 335.5 kB / 1.054 GB, free: 6.973 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.3755, allocations: 8.031 kB / 1.054 GB, free: 6.965 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.233e-05/0.3756, allocations: 8.922 kB / 1.054 GB, free: 6.957 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.088e-05/0.3757, allocations: 160.4 kB / 1.054 GB, free: 6.762 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.3757, allocations: 4.375 kB / 1.054 GB, free: 6.758 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.334e-06/0.3757, allocations: 384 / 1.054 GB, free: 6.758 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001027/0.3758, allocations: 30.27 kB / 1.054 GB, free: 6.723 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.3759, allocations: 192 / 1.054 GB, free: 6.723 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.3759, allocations: 3.938 kB / 1.054 GB, free: 6.719 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.3759, allocations: 3.938 kB / 1.054 GB, free: 6.715 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.181e-05/0.3759, allocations: 4 kB / 1.054 GB, free: 6.711 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001407/0.3761, allocations: 149.7 kB / 1.054 GB, free: 6.516 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 3.764e-05/0.3761, allocations: 18.58 kB / 1.054 GB, free: 6.488 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.892e-05/0.3761, allocations: 12.94 kB / 1.054 GB, free: 6.473 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004974/0.3766, allocations: 421.5 kB / 1.055 GB, free: 5.969 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.601e-05/0.3767, allocations: 42.56 kB / 1.055 GB, free: 5.918 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.3767, allocations: 0 / 1.055 GB, free: 5.918 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0001496/0.3768, allocations: 37.58 kB / 1.055 GB, free: 5.875 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.314e-05/0.3769, allocations: 55.39 kB / 1.055 GB, free: 5.809 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.556e-05/0.3769, allocations: 89.86 kB / 1.055 GB, free: 5.711 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.165e-05/0.3769, allocations: 25.7 kB / 1.055 GB, free: 5.68 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.5e-05/0.377, allocations: 84.14 kB / 1.055 GB, free: 5.594 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.956e-05/0.377, allocations: 3.984 kB / 1.055 GB, free: 5.59 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.844e-05/0.377, allocations: 17.84 kB / 1.055 GB, free: 5.566 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.3771, allocations: 310.8 kB / 1.055 GB, free: 5.254 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.195e-05/0.3772, allocations: 4 kB / 1.055 GB, free: 5.25 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.3e-06/0.3772, allocations: 0 / 1.055 GB, free: 5.25 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.016e-05/0.3772, allocations: 12.8 kB / 1.055 GB, free: 5.234 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.3772, allocations: 3.938 kB / 1.055 GB, free: 5.23 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.083e-05/0.3773, allocations: 33.69 kB / 1.055 GB, free: 5.191 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.3773, allocations: 4.094 kB / 1.055 GB, free: 5.188 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.3773, allocations: 4 kB / 1.055 GB, free: 5.184 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.3773, allocations: 7.938 kB / 1.055 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.621e-05/0.3774, allocations: 0 / 1.055 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.3774, allocations: 0 / 1.055 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.918e-06/0.3774, allocations: 0 / 1.055 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.551e-06/0.3774, allocations: 3.938 kB / 1.055 GB, free: 5.172 MB / 0.8106 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 (1): * Single equations (assignments): 1 * 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.79e-05/0.3775, allocations: 113.8 kB / 1.055 GB, free: 5.051 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.841e-05/0.3775, allocations: 0 / 1.055 GB, free: 5.051 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.33e-05/0.3776, allocations: 48.69 kB / 1.055 GB, free: 5 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.3776, allocations: 0 / 1.055 GB, free: 5 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.3776, allocations: 0 / 1.055 GB, free: 5 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.3776, allocations: 4 kB / 1.055 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.385e-05/0.3777, allocations: 145.7 kB / 1.056 GB, free: 4.805 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.3777, allocations: 3.984 kB / 1.056 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.043e-05/0.3777, allocations: 0 / 1.056 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.3777, allocations: 4 kB / 1.056 GB, free: 4.797 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.755e-06/0.3778, allocations: 3.938 kB / 1.056 GB, free: 4.793 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.3778, allocations: 0 / 1.056 GB, free: 4.793 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3778, allocations: 4.031 kB / 1.056 GB, free: 4.789 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.181e-05/0.3778, allocations: 49.14 kB / 1.056 GB, free: 4.723 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.688e-05/0.3779, allocations: 85.09 kB / 1.056 GB, free: 4.621 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.002e-05/0.3779, allocations: 7.875 kB / 1.056 GB, free: 4.613 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.023e-06/0.3779, allocations: 0 / 1.056 GB, free: 4.613 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.792e-05/0.3779, allocations: 4 kB / 1.056 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.764e-06/0.3779, allocations: 0 / 1.056 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.285e-05/0.378, allocations: 79.31 kB / 1.056 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.378, allocations: 0 / 1.056 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000188/0.3782, allocations: 16.28 kB / 1.056 GB, free: 4.516 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (1): * Single equations (assignments): 1 * 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.0001799/0.3784, allocations: 111.2 kB / 1.056 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 6.095e-05/0.3784, allocations: 4 kB / 1.056 GB, free: 4.391 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.3784, allocations: 0 / 1.056 GB, free: 4.391 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.397e-05/0.3784, allocations: 4 kB / 1.056 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001293/0.3786, allocations: 8.062 kB / 1.056 GB, free: 4.379 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001633/0.3788, allocations: 82.67 kB / 1.056 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002025/0.379, allocations: 0.677 MB / 1.057 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.746e-05/0.379, allocations: 3.984 kB / 1.057 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.315e-05/0.379, allocations: 7.438 kB / 1.057 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of SimCode: time 5.41e-07/0.379, allocations: 4 kB / 1.057 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of Templates: time 0.002198/0.3812, allocations: 460.3 kB / 1.057 GB, free: 3.102 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches