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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001828/0.001828, allocations: 111 kB / 16.42 MB, free: 6.441 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.002106/0.002107, allocations: 190.7 kB / 17.35 MB, free: 5.715 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.445/1.445, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.862/2.862, allocations: 437 MB / 0.7112 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 64.11 kB / 1.019 GB, free: 9.328 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.034/1.036, allocations: 151.6 MB / 1.167 GB, free: 3.781 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001861/1.038, allocations: 0.5828 MB / 1.168 GB, free: 3.203 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0007415/1.039, allocations: 322.8 kB / 1.168 GB, free: 2.887 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.27e-05/1.039, allocations: 0 / 1.168 GB, free: 2.887 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.473e-05/1.039, allocations: 0 / 1.168 GB, free: 2.887 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 9.588e-06/1.039, allocations: 0 / 1.168 GB, free: 2.887 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.000493/1.039, allocations: 117.3 kB / 1.168 GB, free: 2.773 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 5.259e-05/1.039, allocations: 7.984 kB / 1.168 GB, free: 2.766 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.484e-05/1.039, allocations: 0 / 1.168 GB, free: 2.766 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 1.745e-05/1.039, allocations: 0 / 1.168 GB, free: 2.766 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 2.341e-05/1.039, allocations: 0 / 1.168 GB, free: 2.766 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.08e-05/1.039, allocations: 4 kB / 1.168 GB, free: 2.762 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000429/1.04, allocations: 267.7 kB / 1.169 GB, free: 2.5 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.175e-05/1.04, allocations: 0 / 1.169 GB, free: 2.5 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 1.878e-05/1.04, allocations: 4 kB / 1.169 GB, free: 2.496 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.000186/1.04, allocations: 99.83 kB / 1.169 GB, free: 2.398 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/1.04, allocations: 0 / 1.169 GB, free: 2.398 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.844e-06/1.04, allocations: 0 / 1.169 GB, free: 2.398 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.067e-06/1.04, allocations: 0 / 1.169 GB, free: 2.398 MB / 0.8887 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.0003615/1.04, allocations: 331.6 kB / 1.169 GB, free: 2.023 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/1.04, allocations: 12.56 kB / 1.169 GB, free: 2.012 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.593e-05/1.04, allocations: 4.875 kB / 1.169 GB, free: 2.008 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001014/1.041, allocations: 160.4 kB / 1.169 GB, free: 1.812 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/1.041, allocations: 384 / 1.169 GB, free: 1.812 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.975e-06/1.041, allocations: 4.375 kB / 1.169 GB, free: 1.809 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001022/1.041, allocations: 30.27 kB / 1.169 GB, free: 1.773 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/1.041, allocations: 4.125 kB / 1.169 GB, free: 1.77 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/1.041, allocations: 3.938 kB / 1.169 GB, free: 1.766 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.58e-05/1.041, allocations: 0 / 1.169 GB, free: 1.766 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.539e-05/1.041, allocations: 7.984 kB / 1.169 GB, free: 1.758 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001568/1.041, allocations: 149.7 kB / 1.169 GB, free: 1.562 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 4.856e-05/1.041, allocations: 21.08 kB / 1.169 GB, free: 1.535 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.726e-05/1.041, allocations: 8.859 kB / 1.169 GB, free: 1.523 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005458/1.042, allocations: 425.6 kB / 1.17 GB, free: 1.016 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.95e-05/1.042, allocations: 30.56 kB / 1.17 GB, free: 0.9766 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=1): time 1.383e-06/1.042, allocations: 0 / 1.17 GB, free: 0.9766 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1): time 0.0001658/1.042, allocations: 45.66 kB / 1.17 GB, free: 0.9258 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.182e-05/1.042, allocations: 51.41 kB / 1.17 GB, free: 0.8633 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.039e-05/1.042, allocations: 93.86 kB / 1.17 GB, free: 0.7617 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.35e-05/1.042, allocations: 25.7 kB / 1.17 GB, free: 0.7305 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 2.723e-05/1.042, allocations: 80.14 kB / 1.17 GB, free: 0.6484 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 3.034e-05/1.042, allocations: 4 kB / 1.17 GB, free: 0.6445 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.554e-05/1.042, allocations: 9.719 kB / 1.17 GB, free: 0.6289 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.000136/1.042, allocations: 314.8 kB / 1.17 GB, free: 320 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.152e-05/1.042, allocations: 4.031 kB / 1.17 GB, free: 316 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.28e-06/1.042, allocations: 0 / 1.17 GB, free: 316 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.022e-05/1.042, allocations: 16.8 kB / 1.17 GB, free: 296 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/1.042, allocations: 0 / 1.17 GB, free: 296 kB / 0.8887 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.421e-05/1.042, allocations: 37.69 kB / 1.17 GB, free: 252 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/1.042, allocations: 8 kB / 1.17 GB, free: 244 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/1.042, allocations: 0 / 1.17 GB, free: 244 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/1.042, allocations: 3.938 kB / 1.171 GB, free: 240 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.656e-05/1.042, allocations: 0 / 1.171 GB, free: 240 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/1.042, allocations: 4.094 kB / 1.171 GB, free: 236 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.146e-05/1.042, allocations: 0 / 1.171 GB, free: 236 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.619e-06/1.042, allocations: 7.938 kB / 1.171 GB, free: 228 kB / 0.8887 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.087e-05/1.043, allocations: 105.8 kB / 1.171 GB, free: 112 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.898e-05/1.043, allocations: 3.906 kB / 1.171 GB, free: 108 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.377e-05/1.043, allocations: 44.75 kB / 1.171 GB, free: 52 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/1.043, allocations: 7.938 kB / 1.171 GB, free: 44 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/1.043, allocations: 32 / 1.171 GB, free: 44 kB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 4.805e-05/1.043, allocations: 81.11 kB / 1.171 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.006e-05/1.043, allocations: 3.938 kB / 1.171 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.424e-06/1.043, allocations: 0 / 1.171 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.429e-05/1.043, allocations: 3.984 kB / 1.171 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.607e-05/1.043, allocations: 105 kB / 1.171 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001454/1.043, allocations: 214.7 kB / 1.171 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.534e-05/1.043, allocations: 4.031 kB / 1.171 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.019e-05/1.043, allocations: 75.28 kB / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of Backend: time 1.81e-07/1.043, allocations: 0 / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004821/1.044, allocations: 122.2 kB / 1.171 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0004051/1.044, allocations: 0.5292 MB / 1.172 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of Templates: time 0.003429/1.047, allocations: 1.062 MB / 1.173 GB, free: 13.76 MB / 0.9044 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