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.001937/0.001937, allocations: 108.7 kB / 16.41 MB, free: 6.488 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.002098/0.002098, allocations: 185.6 kB / 17.34 MB, free: 5.766 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.399/1.399, allocations: 222.9 MB / 241 MB, free: 15.15 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.39/2.39, allocations: 390.3 MB / 0.6655 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001516/0.001516, allocations: 63.91 kB / 0.9516 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.005/1.006, allocations: 140.4 MB / 1.089 GB, free: 5.797 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001872/1.008, allocations: 0.5754 MB / 1.089 GB, free: 5.445 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0007037/1.009, allocations: 327.9 kB / 1.09 GB, free: 5.23 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.881e-05/1.009, allocations: 0 / 1.09 GB, free: 5.23 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.333e-05/1.009, allocations: 0 / 1.09 GB, free: 5.23 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.143e-06/1.009, allocations: 1.188 kB / 1.09 GB, free: 5.23 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005304/1.009, allocations: 110.1 kB / 1.09 GB, free: 5.191 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 5.021e-05/1.009, allocations: 1.094 kB / 1.09 GB, free: 5.191 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.48e-05/1.01, allocations: 1.719 kB / 1.09 GB, free: 5.191 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.928e-05/1.01, allocations: 5.688 kB / 1.09 GB, free: 5.188 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 2.365e-05/1.01, allocations: 0 / 1.09 GB, free: 5.188 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.129e-05/1.01, allocations: 1.344 kB / 1.09 GB, free: 5.188 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005298/1.01, allocations: 275.9 kB / 1.09 GB, free: 5.117 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.231e-05/1.01, allocations: 0 / 1.09 GB, free: 5.117 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.126e-05/1.01, allocations: 9.375 kB / 1.09 GB, free: 5.109 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002231/1.01, allocations: 88.28 kB / 1.09 GB, free: 5.082 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/1.01, allocations: 0 / 1.09 GB, free: 5.082 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.124e-06/1.01, allocations: 0 / 1.09 GB, free: 5.082 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.513e-06/1.01, allocations: 0 / 1.09 GB, free: 5.082 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.0003214/1.011, allocations: 336.4 kB / 1.09 GB, free: 4.715 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/1.011, allocations: 10.12 kB / 1.09 GB, free: 4.715 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.879e-05/1.011, allocations: 5.688 kB / 1.09 GB, free: 4.711 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.215e-05/1.011, allocations: 161.2 kB / 1.09 GB, free: 4.516 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/1.011, allocations: 1.859 kB / 1.09 GB, free: 4.516 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.207e-05/1.011, allocations: 1.062 kB / 1.09 GB, free: 4.516 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.419e-05/1.011, allocations: 28.62 kB / 1.091 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/1.011, allocations: 1.281 kB / 1.091 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/1.011, allocations: 7.938 kB / 1.091 GB, free: 4.477 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/1.011, allocations: 7.938 kB / 1.091 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.364e-05/1.011, allocations: 2.719 kB / 1.091 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001211/1.011, allocations: 148.3 kB / 1.091 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 3.238e-05/1.011, allocations: 17.53 kB / 1.091 GB, free: 4.254 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.574e-05/1.011, allocations: 5.984 kB / 1.091 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004719/1.012, allocations: 430.2 kB / 1.091 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.648e-05/1.012, allocations: 30.56 kB / 1.091 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/1.012, allocations: 3.938 kB / 1.091 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0001578/1.012, allocations: 45.02 kB / 1.091 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.567e-05/1.012, allocations: 52.41 kB / 1.091 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.204e-05/1.012, allocations: 90.42 kB / 1.091 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.873e-06/1.012, allocations: 25.7 kB / 1.091 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.733e-05/1.012, allocations: 85.3 kB / 1.091 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.314e-05/1.012, allocations: 1.031 kB / 1.091 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.299e-05/1.012, allocations: 11.97 kB / 1.091 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.688e-05/1.012, allocations: 312.1 kB / 1.092 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.679e-06/1.012, allocations: 4.75 kB / 1.092 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.383e-06/1.012, allocations: 2.625 kB / 1.092 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.363e-05/1.012, allocations: 7.109 kB / 1.092 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/1.012, allocations: 4.062 kB / 1.092 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.939e-05/1.012, allocations: 37 kB / 1.092 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/1.012, allocations: 8.312 kB / 1.092 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/1.012, allocations: 0 / 1.092 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/1.012, allocations: 5.062 kB / 1.092 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.427e-05/1.012, allocations: 2.078 kB / 1.092 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/1.012, allocations: 1.156 kB / 1.092 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.034e-05/1.012, allocations: 0 / 1.092 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/1.012, allocations: 1.906 kB / 1.092 GB, free: 3.023 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 5.716e-05/1.013, allocations: 112.7 kB / 1.092 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.056e-05/1.013, allocations: 4 kB / 1.092 GB, free: 2.902 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.574e-05/1.013, allocations: 39.88 kB / 1.092 GB, free: 2.863 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/1.013, allocations: 1.703 kB / 1.092 GB, free: 2.863 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/1.013, allocations: 0 / 1.092 GB, free: 2.863 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/1.013, allocations: 0.8438 kB / 1.092 GB, free: 2.863 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.342e-05/1.013, allocations: 148.2 kB / 1.092 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/1.013, allocations: 0.6094 kB / 1.092 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.173e-05/1.013, allocations: 2.531 kB / 1.092 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/1.013, allocations: 4.656 kB / 1.092 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/1.013, allocations: 4.625 kB / 1.092 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/1.013, allocations: 0.8125 kB / 1.092 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/1.013, allocations: 4.609 kB / 1.092 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.102e-05/1.013, allocations: 57.2 kB / 1.092 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.199e-05/1.013, allocations: 82.53 kB / 1.092 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.231e-05/1.013, allocations: 9.391 kB / 1.092 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.706e-06/1.013, allocations: 4.969 kB / 1.092 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.674e-05/1.013, allocations: 0.5625 kB / 1.092 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-06/1.013, allocations: 0.875 kB / 1.092 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.626e-05/1.013, allocations: 76.03 kB / 1.092 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of sort global known variables: time 8e-08/1.013, allocations: 0 / 1.092 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002341/1.013, allocations: 9.609 kB / 1.092 GB, free: 2.41 MB / 0.8575 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001957/1.013, allocations: 120.9 kB / 1.092 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 6.844e-05/1.014, allocations: 8.156 kB / 1.092 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/1.014, allocations: 0.6562 kB / 1.092 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.149e-05/1.014, allocations: 2.922 kB / 1.092 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001434/1.014, allocations: 2.734 kB / 1.092 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001758/1.014, allocations: 106.3 kB / 1.093 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001157/1.014, allocations: 0.6754 MB / 1.093 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.526e-05/1.014, allocations: 9.375 kB / 1.093 GB, free: 1.469 MB / 0.8575 GB Notification: Performance of SimCode: time 8.21e-07/1.014, allocations: 0 / 1.093 GB, free: 1.469 MB / 0.8575 GB Notification: Performance of Templates: time 0.002092/1.016, allocations: 465.1 kB / 1.094 GB, free: 1.445 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