Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001775/0.001775, allocations: 112.2 kB / 16.42 MB, free: 6.445 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.002014/0.002015, allocations: 189.4 kB / 17.35 MB, free: 5.703 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.476/1.476, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.337/2.337, allocations: 390.2 MB / 0.6655 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002493/0.002494, allocations: 71.91 kB / 0.9516 GB, free: 7.605 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.051/1.054, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001538/1.055, allocations: 0.5782 MB / 1.089 GB, free: 5.164 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0005862/1.056, allocations: 323 kB / 1.09 GB, free: 4.957 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.482e-05/1.056, allocations: 1.125 kB / 1.09 GB, free: 4.957 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.365e-05/1.056, allocations: 0 / 1.09 GB, free: 4.957 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.721e-06/1.056, allocations: 4 kB / 1.09 GB, free: 4.953 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003978/1.056, allocations: 101.7 kB / 1.09 GB, free: 4.922 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 3.723e-05/1.056, allocations: 6.078 kB / 1.09 GB, free: 4.918 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.913e-05/1.056, allocations: 1.656 kB / 1.09 GB, free: 4.918 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.233e-05/1.056, allocations: 1.125 kB / 1.09 GB, free: 4.918 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 2.069e-05/1.056, allocations: 4.75 kB / 1.09 GB, free: 4.914 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.616e-06/1.057, allocations: 1.062 kB / 1.09 GB, free: 4.914 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004323/1.057, allocations: 276.3 kB / 1.09 GB, free: 4.844 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.608e-06/1.057, allocations: 3.938 kB / 1.09 GB, free: 4.84 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 1.744e-05/1.057, allocations: 5.859 kB / 1.09 GB, free: 4.836 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001887/1.057, allocations: 87.42 kB / 1.09 GB, free: 4.809 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/1.057, allocations: 0 / 1.09 GB, free: 4.809 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.463e-06/1.057, allocations: 1.094 kB / 1.09 GB, free: 4.809 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.791e-06/1.057, allocations: 0 / 1.09 GB, free: 4.809 MB / 0.8575 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.0002411/1.057, allocations: 338.2 kB / 1.09 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/1.057, allocations: 8.188 kB / 1.09 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.634e-05/1.058, allocations: 2.406 kB / 1.09 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.005e-05/1.058, allocations: 165.7 kB / 1.09 GB, free: 4.242 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.093e-06/1.058, allocations: 1.094 kB / 1.091 GB, free: 4.242 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.034e-05/1.058, allocations: 5.156 kB / 1.091 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.451e-05/1.058, allocations: 29.17 kB / 1.091 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.111e-06/1.058, allocations: 192 / 1.091 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.504e-06/1.058, allocations: 4.906 kB / 1.091 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/1.058, allocations: 0 / 1.091 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.793e-05/1.058, allocations: 1.969 kB / 1.091 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.684e-05/1.058, allocations: 152.8 kB / 1.091 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 3.043e-05/1.058, allocations: 21.47 kB / 1.091 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.442e-05/1.058, allocations: 10.17 kB / 1.091 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003999/1.058, allocations: 425.2 kB / 1.091 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.324e-05/1.058, allocations: 39.34 kB / 1.091 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 1.192e-06/1.058, allocations: 0 / 1.091 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0001266/1.058, allocations: 37.08 kB / 1.091 GB, free: 3.414 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.382e-05/1.058, allocations: 55.97 kB / 1.091 GB, free: 3.348 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.611e-05/1.059, allocations: 89.86 kB / 1.091 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.242e-06/1.059, allocations: 27.38 kB / 1.091 GB, free: 3.219 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.177e-06/1.059, allocations: 80.14 kB / 1.091 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.941e-05/1.059, allocations: 0.7188 kB / 1.091 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.257e-05/1.059, allocations: 12.33 kB / 1.091 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.91e-05/1.059, allocations: 316.1 kB / 1.092 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.997e-06/1.059, allocations: 0.875 kB / 1.092 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.262e-06/1.059, allocations: 6.125 kB / 1.092 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.154e-05/1.059, allocations: 11.53 kB / 1.092 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/1.059, allocations: 0 / 1.092 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.574e-05/1.059, allocations: 34.02 kB / 1.092 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/1.059, allocations: 5.125 kB / 1.092 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/1.059, allocations: 4.609 kB / 1.092 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/1.059, allocations: 4.969 kB / 1.092 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.706e-05/1.059, allocations: 1.703 kB / 1.092 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/1.059, allocations: 1.219 kB / 1.092 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.013e-05/1.059, allocations: 0.5625 kB / 1.092 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.009e-06/1.059, allocations: 1.312 kB / 1.092 GB, free: 2.75 MB / 0.8575 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 4.004e-05/1.059, allocations: 111.9 kB / 1.092 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.996e-05/1.059, allocations: 4.594 kB / 1.092 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.359e-05/1.059, allocations: 44.2 kB / 1.092 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/1.059, allocations: 5.031 kB / 1.092 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/1.059, allocations: 0 / 1.092 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.536e-05/1.059, allocations: 77.67 kB / 1.092 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.528e-06/1.059, allocations: 1.922 kB / 1.092 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.734e-06/1.059, allocations: 0 / 1.092 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.501e-05/1.059, allocations: 1.797 kB / 1.092 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 4.754e-05/1.059, allocations: 110.9 kB / 1.092 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 9.07e-05/1.059, allocations: 211.3 kB / 1.092 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.595e-05/1.059, allocations: 2.484 kB / 1.092 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.287e-05/1.059, allocations: 75.28 kB / 1.092 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of Backend: time 1.152e-06/1.059, allocations: 0 / 1.092 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004686/1.06, allocations: 129.9 kB / 1.093 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0002073/1.06, allocations: 0.5312 MB / 1.093 GB, free: 1.434 MB / 0.8575 GB Notification: Performance of Templates: time 0.003265/1.063, allocations: 1.063 MB / 1.094 GB, free: 1.336 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches