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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001268/0.001268, allocations: 116.1 kB / 16.42 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.001504/0.001504, allocations: 183.9 kB / 17.34 MB, free: 5.758 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.391/1.391, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.703/2.703, allocations: 472.7 MB / 0.746 GB, free: 408 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001498/0.001498, allocations: 63.89 kB / 1.07 GB, free: 9.516 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.116/1.117, allocations: 159.9 MB / 1.226 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.00202/1.119, allocations: 0.5831 MB / 1.227 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0007627/1.12, allocations: 326.8 kB / 1.227 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.945e-05/1.12, allocations: 3.938 kB / 1.227 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 1.72e-05/1.12, allocations: 0 / 1.227 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 6.192e-06/1.12, allocations: 4 kB / 1.227 GB, free: 12.58 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005876/1.121, allocations: 106.3 kB / 1.227 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 5.164e-05/1.121, allocations: 4 kB / 1.227 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.774e-05/1.121, allocations: 0 / 1.227 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 1.594e-05/1.121, allocations: 0 / 1.227 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 2.47e-05/1.121, allocations: 4 kB / 1.227 GB, free: 12.47 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 9.808e-06/1.121, allocations: 4 kB / 1.227 GB, free: 12.47 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000467/1.121, allocations: 275.6 kB / 1.228 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.169e-05/1.121, allocations: 0 / 1.228 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.085e-05/1.121, allocations: 4 kB / 1.228 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002319/1.122, allocations: 88.34 kB / 1.228 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/1.122, allocations: 0 / 1.228 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.553e-06/1.122, allocations: 0 / 1.228 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.901e-06/1.122, allocations: 0 / 1.228 GB, free: 12.11 MB / 0.9512 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.0004013/1.122, allocations: 339.2 kB / 1.228 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.717e-05/1.122, allocations: 12.03 kB / 1.228 GB, free: 11.72 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.138e-05/1.122, allocations: 4.938 kB / 1.228 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000109/1.122, allocations: 164.3 kB / 1.228 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/1.122, allocations: 4.375 kB / 1.228 GB, free: 11.51 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.682e-05/1.122, allocations: 4.359 kB / 1.228 GB, free: 11.51 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001146/1.122, allocations: 30.25 kB / 1.228 GB, free: 11.47 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/1.122, allocations: 192 / 1.228 GB, free: 11.47 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/1.122, allocations: 3.938 kB / 1.228 GB, free: 11.47 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/1.122, allocations: 0 / 1.228 GB, free: 11.47 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.296e-05/1.122, allocations: 4 kB / 1.228 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001569/1.123, allocations: 145.7 kB / 1.228 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 5.561e-05/1.123, allocations: 26.55 kB / 1.228 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.063e-05/1.123, allocations: 12.78 kB / 1.228 GB, free: 11.22 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000614/1.123, allocations: 429.6 kB / 1.229 GB, free: 10.71 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.472e-05/1.123, allocations: 30.56 kB / 1.229 GB, free: 10.67 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=1): time 2.164e-06/1.123, allocations: 0 / 1.229 GB, free: 10.67 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1): time 0.0002396/1.124, allocations: 33.64 kB / 1.229 GB, free: 10.63 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.146e-05/1.124, allocations: 55.41 kB / 1.229 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.254e-05/1.124, allocations: 89.86 kB / 1.229 GB, free: 10.47 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/1.124, allocations: 25.7 kB / 1.229 GB, free: 10.44 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.448e-05/1.124, allocations: 80.14 kB / 1.229 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.129e-05/1.124, allocations: 8.062 kB / 1.229 GB, free: 10.35 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.062e-05/1.124, allocations: 13.72 kB / 1.229 GB, free: 10.33 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001823/1.124, allocations: 318.8 kB / 1.229 GB, free: 10.01 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.243e-05/1.124, allocations: 0 / 1.229 GB, free: 10.01 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.434e-06/1.124, allocations: 0 / 1.229 GB, free: 10.01 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.801e-05/1.124, allocations: 8.859 kB / 1.23 GB, free: 9.996 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/1.124, allocations: 0 / 1.23 GB, free: 9.996 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.677e-05/1.124, allocations: 37.77 kB / 1.23 GB, free: 9.953 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/1.124, allocations: 8 kB / 1.23 GB, free: 9.945 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/1.124, allocations: 0 / 1.23 GB, free: 9.945 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.379e-05/1.124, allocations: 3.938 kB / 1.23 GB, free: 9.941 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.893e-05/1.124, allocations: 7.922 kB / 1.23 GB, free: 9.934 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/1.124, allocations: 3.938 kB / 1.23 GB, free: 9.93 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.487e-05/1.124, allocations: 4 kB / 1.23 GB, free: 9.926 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.171e-06/1.124, allocations: 0 / 1.23 GB, free: 9.926 MB / 0.9512 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.09e-05/1.125, allocations: 105.8 kB / 1.23 GB, free: 9.812 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.027e-05/1.125, allocations: 32 / 1.23 GB, free: 9.812 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001192/1.125, allocations: 44.77 kB / 1.23 GB, free: 9.762 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/1.125, allocations: 7.922 kB / 1.23 GB, free: 9.754 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/1.125, allocations: 0 / 1.23 GB, free: 9.754 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.433e-05/1.125, allocations: 77.11 kB / 1.23 GB, free: 9.66 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.292e-05/1.125, allocations: 0 / 1.23 GB, free: 9.66 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.275e-06/1.125, allocations: 0 / 1.23 GB, free: 9.66 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.22e-05/1.125, allocations: 4 kB / 1.23 GB, free: 9.656 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001072/1.125, allocations: 113 kB / 1.23 GB, free: 9.539 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001913/1.125, allocations: 210.8 kB / 1.23 GB, free: 9.316 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.122e-05/1.125, allocations: 0 / 1.23 GB, free: 9.316 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 3.746e-05/1.125, allocations: 75.28 kB / 1.23 GB, free: 9.242 MB / 0.9512 GB Notification: Performance of Backend: time 3.51e-07/1.125, allocations: 4 kB / 1.23 GB, free: 9.238 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005864/1.126, allocations: 122.3 kB / 1.23 GB, free: 9.109 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0004836/1.126, allocations: 0.5253 MB / 1.231 GB, free: 8.535 MB / 0.9512 GB Notification: Performance of Templates: time 0.003872/1.13, allocations: 1.067 MB / 1.232 GB, free: 7.469 MB / 0.9512 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