Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_10_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_10_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.00105/0.00105, allocations: 97.78 kB / 16.02 MB, free: 76 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.00148/0.00148, allocations: 187.3 kB / 16.92 MB, free: 6.75 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.345/1.345, allocations: 223.3 MB / 241 MB, free: 5.32 MB / 190.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.683/2.683, allocations: 437.8 MB / 0.7128 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003641/0.0003643, allocations: 12 kB / 0.8735 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6568/0.6571, allocations: 153.8 MB / 1.024 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001133/0.6583, allocations: 317.6 kB / 1.024 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00103/0.6594, allocations: 342.9 kB / 1.024 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.357e-05/0.6595, allocations: 0 / 1.024 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.453e-05/0.6595, allocations: 0 / 1.024 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.732e-06/0.6595, allocations: 4 kB / 1.024 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000572/0.6601, allocations: 79.41 kB / 1.024 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.262e-05/0.6602, allocations: 0 / 1.024 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 6.617e-05/0.6602, allocations: 4 kB / 1.024 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.244e-05/0.6603, allocations: 0 / 1.024 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 3.424e-05/0.6603, allocations: 3.984 kB / 1.024 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.568e-05/0.6603, allocations: 0 / 1.024 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005585/0.6609, allocations: 275.6 kB / 1.025 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.567e-05/0.6609, allocations: 4 kB / 1.025 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.918e-05/0.661, allocations: 25.7 kB / 1.025 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001816/0.6612, allocations: 55.91 kB / 1.025 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.6612, allocations: 0 / 1.025 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.768e-06/0.6612, allocations: 0 / 1.025 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.583e-06/0.6612, allocations: 0 / 1.025 GB, free: 14.77 MB / 0.7794 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.0004192/0.6616, allocations: 335.5 kB / 1.025 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.896e-05/0.6617, allocations: 8.031 kB / 1.025 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001/0.6618, allocations: 0.9375 kB / 1.025 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001907/0.662, allocations: 164.4 kB / 1.025 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.426e-05/0.662, allocations: 4.375 kB / 1.025 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.847e-05/0.6621, allocations: 8.359 kB / 1.025 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002136/0.6623, allocations: 26.27 kB / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/0.6623, allocations: 4.125 kB / 1.025 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.536e-05/0.6623, allocations: 11.88 kB / 1.025 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.6624, allocations: 0 / 1.025 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.845e-05/0.6624, allocations: 4 kB / 1.025 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002353/0.6627, allocations: 141.7 kB / 1.025 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.341e-05/0.6627, allocations: 26.59 kB / 1.025 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.795e-05/0.6628, allocations: 4.859 kB / 1.025 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008167/0.6636, allocations: 425.6 kB / 1.026 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.473e-05/0.6637, allocations: 30.56 kB / 1.026 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 1.332e-06/0.6637, allocations: 4 kB / 1.026 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0003058/0.664, allocations: 41.58 kB / 1.026 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.158e-05/0.6641, allocations: 51.41 kB / 1.026 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.329e-05/0.6641, allocations: 93.86 kB / 1.026 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.965e-05/0.6642, allocations: 25.7 kB / 1.026 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.396e-05/0.6642, allocations: 80.14 kB / 1.026 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.948e-05/0.6643, allocations: 3.906 kB / 1.026 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.101e-05/0.6643, allocations: 13.7 kB / 1.026 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001676/0.6645, allocations: 315 kB / 1.027 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.209e-05/0.6645, allocations: 0 / 1.027 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.247e-06/0.6645, allocations: 4 kB / 1.027 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.406e-05/0.6646, allocations: 12.8 kB / 1.027 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.6646, allocations: 0 / 1.027 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.276e-05/0.6647, allocations: 33.7 kB / 1.027 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.6647, allocations: 4 kB / 1.027 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.6647, allocations: 0 / 1.027 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.184e-05/0.6648, allocations: 8.031 kB / 1.027 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.277e-05/0.6648, allocations: 11.92 kB / 1.027 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.6648, allocations: 0 / 1.027 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.359e-05/0.6649, allocations: 0 / 1.027 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-06/0.6649, allocations: 0 / 1.027 GB, free: 12.59 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 (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 9.216e-05/0.665, allocations: 109.8 kB / 1.027 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.982e-05/0.665, allocations: 0 / 1.027 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001283/0.6652, allocations: 48.69 kB / 1.027 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.6652, allocations: 4.031 kB / 1.027 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.6652, allocations: 0 / 1.027 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.6652, allocations: 0 / 1.027 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001228/0.6653, allocations: 149.7 kB / 1.027 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.6653, allocations: 0 / 1.027 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.639e-05/0.6653, allocations: 0 / 1.027 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.6654, allocations: 0 / 1.027 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.6654, allocations: 3.938 kB / 1.027 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.6654, allocations: 4 kB / 1.027 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.6654, allocations: 0 / 1.027 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001304/0.6655, allocations: 69 kB / 1.027 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.078e-05/0.6656, allocations: 77.11 kB / 1.027 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.558e-05/0.6656, allocations: 7.938 kB / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.556e-06/0.6656, allocations: 0 / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.412e-05/0.6656, allocations: 0 / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.1e-06/0.6656, allocations: 3.984 kB / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.641e-05/0.6657, allocations: 79.28 kB / 1.027 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of sort global known variables: time 3.21e-07/0.6657, allocations: 0 / 1.027 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002487/0.6659, allocations: 18 kB / 1.027 GB, free: 11.93 MB / 0.7794 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.0002422/0.6662, allocations: 115.2 kB / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001025/0.6663, allocations: 8 kB / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.6663, allocations: 0 / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.049e-05/0.6663, allocations: 4 kB / 1.027 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001525/0.6665, allocations: 3.984 kB / 1.027 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000264/0.6668, allocations: 104.5 kB / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002276/0.667, allocations: 0.677 MB / 1.028 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.598e-05/0.667, allocations: 7.438 kB / 1.028 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.667, allocations: 0 / 1.028 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of Templates: time 0.001829/0.6689, allocations: 467.8 kB / 1.028 GB, free: 10.49 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches