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.001212/0.001212, allocations: 109.6 kB / 16.41 MB, free: 6.504 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.001163/0.001163, allocations: 189.5 kB / 17.34 MB, free: 5.738 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.416/1.416, allocations: 222.9 MB / 241.1 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.662/2.662, allocations: 461.7 MB / 0.7352 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001606/0.001606, allocations: 71.91 kB / 1.055 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.044/1.046, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001981/1.048, allocations: 0.585 MB / 1.209 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0007133/1.048, allocations: 326.8 kB / 1.209 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.082e-05/1.048, allocations: 0 / 1.209 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.473e-05/1.048, allocations: 0 / 1.209 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.492e-06/1.048, allocations: 0 / 1.209 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005467/1.049, allocations: 103.7 kB / 1.209 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 5.701e-05/1.049, allocations: 3.984 kB / 1.209 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.884e-05/1.049, allocations: 11.97 kB / 1.209 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 1.483e-05/1.049, allocations: 4 kB / 1.209 GB, free: 12.6 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 2.194e-05/1.049, allocations: 0 / 1.209 GB, free: 12.6 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.067e-05/1.049, allocations: 0 / 1.209 GB, free: 12.6 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004589/1.05, allocations: 275.7 kB / 1.21 GB, free: 12.33 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.167e-05/1.05, allocations: 0 / 1.21 GB, free: 12.33 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 1.892e-05/1.05, allocations: 0 / 1.21 GB, free: 12.33 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001964/1.05, allocations: 91.78 kB / 1.21 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/1.05, allocations: 0 / 1.21 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.964e-06/1.05, allocations: 0 / 1.21 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.716e-06/1.05, allocations: 0 / 1.21 GB, free: 12.24 MB / 0.9356 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.0003804/1.05, allocations: 339.5 kB / 1.21 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/1.05, allocations: 12.03 kB / 1.21 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.966e-05/1.05, allocations: 4.922 kB / 1.21 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.885e-05/1.051, allocations: 164.3 kB / 1.21 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/1.051, allocations: 384 / 1.21 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.869e-06/1.051, allocations: 384 / 1.21 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001023/1.051, allocations: 30.27 kB / 1.21 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/1.051, allocations: 192 / 1.21 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/1.051, allocations: 3.938 kB / 1.21 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/1.051, allocations: 0 / 1.21 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.219e-05/1.051, allocations: 4 kB / 1.21 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001713/1.051, allocations: 153.7 kB / 1.21 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 4.647e-05/1.051, allocations: 18.52 kB / 1.21 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.924e-05/1.051, allocations: 4.859 kB / 1.21 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005724/1.052, allocations: 429.6 kB / 1.211 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/1.052, allocations: 30.56 kB / 1.211 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=1): time 1.363e-06/1.052, allocations: 4 kB / 1.211 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1): time 0.0001799/1.052, allocations: 33.64 kB / 1.211 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.112e-05/1.052, allocations: 51.41 kB / 1.211 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.804e-05/1.052, allocations: 93.84 kB / 1.211 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.185e-05/1.052, allocations: 25.7 kB / 1.211 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.461e-05/1.052, allocations: 84.27 kB / 1.211 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.003e-05/1.052, allocations: 11.88 kB / 1.211 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.067e-05/1.052, allocations: 13.72 kB / 1.211 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001092/1.052, allocations: 310.8 kB / 1.211 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.013e-05/1.052, allocations: 0 / 1.211 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.295e-06/1.052, allocations: 4 kB / 1.211 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.139e-05/1.052, allocations: 4.859 kB / 1.211 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/1.052, allocations: 0 / 1.211 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.478e-05/1.052, allocations: 45.75 kB / 1.211 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/1.052, allocations: 4 kB / 1.211 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/1.052, allocations: 0 / 1.211 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/1.052, allocations: 3.938 kB / 1.211 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.725e-05/1.052, allocations: 4 kB / 1.211 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/1.052, allocations: 3.938 kB / 1.211 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.267e-05/1.052, allocations: 4 kB / 1.211 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.641e-06/1.052, allocations: 0 / 1.211 GB, free: 10.07 MB / 0.9356 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.427e-05/1.052, allocations: 111.6 kB / 1.212 GB, free: 9.949 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.878e-05/1.053, allocations: 7.938 kB / 1.212 GB, free: 9.941 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.228e-05/1.053, allocations: 36.81 kB / 1.212 GB, free: 9.898 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/1.053, allocations: 3.938 kB / 1.212 GB, free: 9.895 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/1.053, allocations: 0 / 1.212 GB, free: 9.895 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.319e-05/1.053, allocations: 85.05 kB / 1.212 GB, free: 9.793 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.19e-05/1.053, allocations: 4 kB / 1.212 GB, free: 9.789 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.875e-06/1.053, allocations: 0 / 1.212 GB, free: 9.789 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.583e-05/1.053, allocations: 0 / 1.212 GB, free: 9.789 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 9.054e-05/1.053, allocations: 116.9 kB / 1.212 GB, free: 9.668 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001621/1.053, allocations: 206.8 kB / 1.212 GB, free: 9.449 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.342e-05/1.053, allocations: 0 / 1.212 GB, free: 9.449 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.511e-05/1.053, allocations: 79.27 kB / 1.212 GB, free: 9.371 MB / 0.9356 GB Notification: Performance of Backend: time 5.31e-07/1.053, allocations: 0 / 1.212 GB, free: 9.371 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005253/1.054, allocations: 132.4 kB / 1.212 GB, free: 9.238 MB / 0.9356 GB Notification: Performance of SimCode: time 0.000398/1.054, allocations: 0.5253 MB / 1.213 GB, free: 8.668 MB / 0.9356 GB Notification: Performance of Templates: time 0.003785/1.058, allocations: 1.06 MB / 1.214 GB, free: 7.609 MB / 0.9356 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