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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.0009473/0.0009473, allocations: 91.92 kB / 16.02 MB, free: 80 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.001026/0.001026, allocations: 180.7 kB / 16.92 MB, free: 6.652 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.405/1.405, allocations: 223.3 MB / 241 MB, free: 5.258 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.731/2.731, allocations: 462.7 MB / 0.7371 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003462/0.0003462, allocations: 8.844 kB / 0.9034 GB, free: 36.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3131/0.3135, allocations: 159.6 MB / 1.059 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.0007427/0.3143, allocations: 318.9 kB / 1.06 GB, free: 4.637 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0006835/0.315, allocations: 354.9 kB / 1.06 GB, free: 4.289 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.005e-05/0.315, allocations: 0 / 1.06 GB, free: 4.289 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.118e-05/0.315, allocations: 0 / 1.06 GB, free: 4.289 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.13e-06/0.315, allocations: 0 / 1.06 GB, free: 4.289 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003537/0.3154, allocations: 75.84 kB / 1.06 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 3.515e-05/0.3154, allocations: 0 / 1.06 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.353e-05/0.3155, allocations: 4 kB / 1.06 GB, free: 4.211 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.354e-05/0.3155, allocations: 3.938 kB / 1.06 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 2.572e-05/0.3155, allocations: 7.984 kB / 1.06 GB, free: 4.199 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.598e-06/0.3156, allocations: 0 / 1.06 GB, free: 4.199 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003846/0.3159, allocations: 267.7 kB / 1.06 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.547e-06/0.316, allocations: 0 / 1.06 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.633e-05/0.316, allocations: 25.7 kB / 1.06 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001157/0.3161, allocations: 63.89 kB / 1.06 GB, free: 3.844 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3161, allocations: 4 kB / 1.06 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.884e-06/0.3161, allocations: 0 / 1.06 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.3161, allocations: 0 / 1.06 GB, free: 3.84 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.0002784/0.3164, allocations: 335.5 kB / 1.061 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.3165, allocations: 11.97 kB / 1.061 GB, free: 3.449 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.227e-05/0.3165, allocations: 0.9375 kB / 1.061 GB, free: 3.449 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.06e-05/0.3166, allocations: 168.4 kB / 1.061 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.3166, allocations: 384 / 1.061 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.959e-06/0.3167, allocations: 384 / 1.061 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001005/0.3168, allocations: 34.27 kB / 1.061 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.861e-06/0.3168, allocations: 192 / 1.061 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.3168, allocations: 3.938 kB / 1.061 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.3168, allocations: 4 kB / 1.061 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.065e-05/0.3168, allocations: 3.938 kB / 1.061 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001397/0.317, allocations: 145.7 kB / 1.061 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 3.709e-05/0.317, allocations: 18.61 kB / 1.061 GB, free: 2.977 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.559e-05/0.317, allocations: 8.859 kB / 1.061 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004765/0.3175, allocations: 425.6 kB / 1.062 GB, free: 2.457 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.196e-05/0.3176, allocations: 34.56 kB / 1.062 GB, free: 2.414 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 1.313e-06/0.3176, allocations: 0 / 1.062 GB, free: 2.414 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0001368/0.3177, allocations: 37.58 kB / 1.062 GB, free: 2.371 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.509e-05/0.3177, allocations: 59.53 kB / 1.062 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.1e-05/0.3178, allocations: 89.86 kB / 1.062 GB, free: 2.203 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.022e-05/0.3178, allocations: 29.64 kB / 1.062 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.568e-05/0.3178, allocations: 84.12 kB / 1.062 GB, free: 2.082 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.46e-05/0.3179, allocations: 0 / 1.062 GB, free: 2.082 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.007e-05/0.3179, allocations: 9.719 kB / 1.062 GB, free: 2.066 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.21e-05/0.318, allocations: 314.8 kB / 1.062 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.488e-06/0.318, allocations: 4 kB / 1.062 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.278e-06/0.318, allocations: 0 / 1.062 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.491e-05/0.318, allocations: 12.92 kB / 1.062 GB, free: 1.73 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.3181, allocations: 0 / 1.062 GB, free: 1.73 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.943e-05/0.3181, allocations: 33.64 kB / 1.062 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.3181, allocations: 4 kB / 1.062 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.3181, allocations: 7.922 kB / 1.062 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.3182, allocations: 11.92 kB / 1.062 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.765e-05/0.3182, allocations: 0 / 1.062 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.3182, allocations: 0 / 1.062 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.977e-06/0.3182, allocations: 0 / 1.062 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.448e-06/0.3182, allocations: 4.031 kB / 1.062 GB, free: 1.664 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 6.4e-05/0.3183, allocations: 109.8 kB / 1.062 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.999e-05/0.3183, allocations: 4 kB / 1.062 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.477e-05/0.3184, allocations: 44.69 kB / 1.062 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.3184, allocations: 0 / 1.062 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.3184, allocations: 0 / 1.062 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.853e-06/0.3184, allocations: 4 kB / 1.062 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.907e-05/0.3185, allocations: 141.7 kB / 1.062 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.3185, allocations: 4.031 kB / 1.063 GB, free: 1.301 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.052e-05/0.3185, allocations: 0 / 1.063 GB, free: 1.301 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.3185, allocations: 0 / 1.063 GB, free: 1.301 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.867e-06/0.3186, allocations: 11.94 kB / 1.063 GB, free: 1.289 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.3186, allocations: 3.984 kB / 1.063 GB, free: 1.285 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3186, allocations: 0 / 1.063 GB, free: 1.285 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.167e-05/0.3186, allocations: 53.14 kB / 1.063 GB, free: 1.215 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.158e-05/0.3187, allocations: 85.14 kB / 1.063 GB, free: 1.113 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.959e-06/0.3187, allocations: 3.938 kB / 1.063 GB, free: 1.109 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.723e-06/0.3187, allocations: 0 / 1.063 GB, free: 1.109 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.107e-05/0.3187, allocations: 3.984 kB / 1.063 GB, free: 1.105 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.187e-06/0.3187, allocations: 0 / 1.063 GB, free: 1.105 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.223e-05/0.3188, allocations: 79.22 kB / 1.063 GB, free: 1.027 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3188, allocations: 0 / 1.063 GB, free: 1.027 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001882/0.319, allocations: 16.28 kB / 1.063 GB, free: 1.012 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.0001719/0.3191, allocations: 111.2 kB / 1.063 GB, free: 0.8906 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 5.442e-05/0.3192, allocations: 8 kB / 1.063 GB, free: 0.8828 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.3192, allocations: 0 / 1.063 GB, free: 0.8828 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.228e-06/0.3192, allocations: 11.92 kB / 1.063 GB, free: 0.8711 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001217/0.3194, allocations: 3.938 kB / 1.063 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001719/0.3195, allocations: 108.3 kB / 1.063 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001924/0.3197, allocations: 0.6731 MB / 1.064 GB, free: 28 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.212e-05/0.3198, allocations: 7.438 kB / 1.064 GB, free: 20 kB / 0.8106 GB Notification: Performance of SimCode: time 3.41e-07/0.3198, allocations: 4.125 kB / 1.064 GB, free: 16 kB / 0.8106 GB Notification: Performance of Templates: time 0.00167/0.3214, allocations: 470.4 kB / 1.064 GB, free: 15.56 MB / 0.8262 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/jenkins1/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