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.001116/0.001116, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001606/0.001606, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.52/1.52, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.947/2.947, allocations: 462.6 MB / 0.736 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000478/0.0004781, allocations: 12.19 kB / 0.9021 GB, free: 36.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.363/0.3635, allocations: 159.6 MB / 1.058 GB, free: 5.344 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.0007419/0.3643, allocations: 314.9 kB / 1.058 GB, free: 5.035 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0006107/0.365, allocations: 303.3 kB / 1.059 GB, free: 4.738 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.215e-05/0.365, allocations: 0 / 1.059 GB, free: 4.738 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.044e-05/0.365, allocations: 0 / 1.059 GB, free: 4.738 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.071e-06/0.365, allocations: 0 / 1.059 GB, free: 4.738 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004204/0.3654, allocations: 70.34 kB / 1.059 GB, free: 4.672 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.179e-05/0.3655, allocations: 4 kB / 1.059 GB, free: 4.668 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.613e-05/0.3656, allocations: 7.938 kB / 1.059 GB, free: 4.66 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.409e-05/0.3656, allocations: 3.938 kB / 1.059 GB, free: 4.656 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.007e-05/0.3656, allocations: 7.984 kB / 1.059 GB, free: 4.648 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.999e-06/0.3656, allocations: 0 / 1.059 GB, free: 4.648 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003826/0.366, allocations: 259.7 kB / 1.059 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.292e-06/0.366, allocations: 4 kB / 1.059 GB, free: 4.391 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.28e-05/0.3661, allocations: 25.7 kB / 1.059 GB, free: 4.359 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001212/0.3662, allocations: 51.91 kB / 1.059 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.3662, allocations: 0 / 1.059 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3662, allocations: 0 / 1.059 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.577e-06/0.3662, allocations: 0 / 1.059 GB, free: 4.309 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.0002912/0.3665, allocations: 339.3 kB / 1.059 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.3666, allocations: 15.97 kB / 1.059 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.814e-05/0.3666, allocations: 0 / 1.059 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.393e-05/0.3667, allocations: 159.1 kB / 1.06 GB, free: 3.719 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.3667, allocations: 0 / 1.06 GB, free: 3.719 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.178e-05/0.3668, allocations: 3.953 kB / 1.06 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.995e-05/0.3669, allocations: 33.69 kB / 1.06 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.3669, allocations: 0 / 1.06 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.694e-06/0.3669, allocations: 0 / 1.06 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.3669, allocations: 3.984 kB / 1.06 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.917e-05/0.3669, allocations: 8 kB / 1.06 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001257/0.3671, allocations: 153.7 kB / 1.06 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 3.942e-05/0.3671, allocations: 18.52 kB / 1.06 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.492e-05/0.3671, allocations: 8.953 kB / 1.06 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004883/0.3676, allocations: 433.4 kB / 1.06 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.218e-05/0.3676, allocations: 34.56 kB / 1.06 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 3.437e-06/0.3677, allocations: 0 / 1.06 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0001626/0.3678, allocations: 33.64 kB / 1.06 GB, free: 2.828 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.786e-05/0.3679, allocations: 59.34 kB / 1.06 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.552e-05/0.3679, allocations: 89.86 kB / 1.06 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.273e-05/0.3679, allocations: 25.7 kB / 1.06 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.911e-05/0.368, allocations: 80.27 kB / 1.06 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.256e-05/0.368, allocations: 8 kB / 1.06 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.004e-06/0.368, allocations: 0 / 1.06 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.3681, allocations: 310.8 kB / 1.061 GB, free: 2.227 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.088e-05/0.3682, allocations: 3.984 kB / 1.061 GB, free: 2.223 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.984e-06/0.3682, allocations: 0 / 1.061 GB, free: 2.223 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.465e-05/0.3682, allocations: 4 kB / 1.061 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3682, allocations: 0 / 1.061 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.184e-05/0.3683, allocations: 29.7 kB / 1.061 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.3683, allocations: 17.61 kB / 1.061 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.3683, allocations: 0 / 1.061 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.3683, allocations: 3.938 kB / 1.061 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.332e-05/0.3684, allocations: 4 kB / 1.061 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.3684, allocations: 0 / 1.061 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.066e-05/0.3684, allocations: 3.938 kB / 1.061 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.3684, allocations: 4 kB / 1.061 GB, free: 2.152 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.862e-05/0.3685, allocations: 109.8 kB / 1.061 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.419e-05/0.3685, allocations: 0 / 1.061 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.78e-05/0.3686, allocations: 40.78 kB / 1.061 GB, free: 1.992 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.3686, allocations: 4 kB / 1.061 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.3686, allocations: 0 / 1.061 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.3687, allocations: 0 / 1.061 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.169e-05/0.3687, allocations: 149.7 kB / 1.061 GB, free: 1.793 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3688, allocations: 0 / 1.061 GB, free: 1.793 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.668e-05/0.3688, allocations: 4 kB / 1.061 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.3688, allocations: 0 / 1.061 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.3688, allocations: 0 / 1.061 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.3688, allocations: 3.984 kB / 1.061 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.3688, allocations: 4 kB / 1.061 GB, free: 1.781 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.726e-05/0.3689, allocations: 61.06 kB / 1.061 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.817e-05/0.369, allocations: 81.11 kB / 1.061 GB, free: 1.605 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.319e-05/0.369, allocations: 0 / 1.061 GB, free: 1.605 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.833e-06/0.369, allocations: 3.938 kB / 1.061 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.467e-05/0.369, allocations: 3.953 kB / 1.061 GB, free: 1.598 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-06/0.369, allocations: 0 / 1.061 GB, free: 1.598 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.108e-05/0.3691, allocations: 79.31 kB / 1.061 GB, free: 1.52 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2e-07/0.3691, allocations: 4 kB / 1.061 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002001/0.3693, allocations: 8.281 kB / 1.061 GB, free: 1.508 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001888/0.3695, allocations: 119.2 kB / 1.061 GB, free: 1.379 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 6.331e-05/0.3695, allocations: 0 / 1.061 GB, free: 1.379 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3695, allocations: 3.938 kB / 1.061 GB, free: 1.375 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 6.272e-06/0.3696, allocations: 4 kB / 1.061 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001288/0.3697, allocations: 4.125 kB / 1.061 GB, free: 1.367 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001769/0.3699, allocations: 86.66 kB / 1.062 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002264/0.3701, allocations: 0.6692 MB / 1.062 GB, free: 0.5586 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.757e-05/0.3701, allocations: 0 / 1.062 GB, free: 0.5586 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.594e-05/0.3702, allocations: 7.438 kB / 1.062 GB, free: 0.5508 MB / 0.8106 GB Notification: Performance of SimCode: time 5.21e-07/0.3702, allocations: 0 / 1.062 GB, free: 0.5508 MB / 0.8106 GB Notification: Performance of Templates: time 0.002354/0.3725, allocations: 445.6 kB / 1.063 GB, free: 120 kB / 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