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.00904/0.00904, allocations: 101.3 kB / 15.73 MB, free: 6.008 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.001499/0.001499, allocations: 188.3 kB / 16.67 MB, free: 5.93 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.4/1.4, allocations: 222.9 MB / 240.4 MB, free: 15.1 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.311/2.311, allocations: 390.2 MB / 0.6648 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 67.89 kB / 0.9509 GB, free: 7.602 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.002/1.003, allocations: 140.4 MB / 1.088 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001794/1.005, allocations: 0.5804 MB / 1.089 GB, free: 5.16 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0006808/1.006, allocations: 333.4 kB / 1.089 GB, free: 4.945 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.828e-05/1.006, allocations: 1.125 kB / 1.089 GB, free: 4.945 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.728e-05/1.006, allocations: 0 / 1.089 GB, free: 4.945 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.753e-06/1.006, allocations: 0 / 1.089 GB, free: 4.945 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004922/1.006, allocations: 101.3 kB / 1.089 GB, free: 4.914 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 4.801e-05/1.006, allocations: 1.906 kB / 1.089 GB, free: 4.914 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.37e-05/1.006, allocations: 1.562 kB / 1.089 GB, free: 4.914 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.813e-05/1.006, allocations: 5.031 kB / 1.089 GB, free: 4.91 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 2.567e-05/1.006, allocations: 1.922 kB / 1.089 GB, free: 4.91 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.136e-05/1.006, allocations: 0 / 1.089 GB, free: 4.91 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000504/1.007, allocations: 275.6 kB / 1.089 GB, free: 4.84 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.302e-05/1.007, allocations: 5.766 kB / 1.089 GB, free: 4.836 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 1.537e-05/1.007, allocations: 0 / 1.089 GB, free: 4.836 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002039/1.007, allocations: 87.97 kB / 1.089 GB, free: 4.809 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.241e-06/1.007, allocations: 0.5625 kB / 1.089 GB, free: 4.809 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.984e-06/1.007, allocations: 0 / 1.089 GB, free: 4.809 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.16e-05/1.007, allocations: 0 / 1.089 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.0003036/1.007, allocations: 340.6 kB / 1.09 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/1.007, allocations: 8.938 kB / 1.09 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.305e-05/1.007, allocations: 2.328 kB / 1.09 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.921e-05/1.008, allocations: 165.7 kB / 1.09 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/1.008, allocations: 384 / 1.09 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.987e-06/1.008, allocations: 1.641 kB / 1.09 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001058/1.008, allocations: 28.67 kB / 1.09 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/1.008, allocations: 0.9375 kB / 1.09 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/1.008, allocations: 4.734 kB / 1.09 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/1.008, allocations: 4.719 kB / 1.09 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.313e-05/1.008, allocations: 5.656 kB / 1.09 GB, free: 4.195 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001114/1.008, allocations: 148.5 kB / 1.09 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 3.86e-05/1.008, allocations: 20.8 kB / 1.09 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.784e-05/1.008, allocations: 6.844 kB / 1.09 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004671/1.008, allocations: 429.3 kB / 1.09 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.002e-05/1.008, allocations: 35.25 kB / 1.09 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/1.008, allocations: 1.312 kB / 1.09 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0001658/1.009, allocations: 35.39 kB / 1.09 GB, free: 3.414 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.845e-05/1.009, allocations: 52.47 kB / 1.091 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.432e-05/1.009, allocations: 98.41 kB / 1.091 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.286e-06/1.009, allocations: 25.7 kB / 1.091 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.39e-05/1.009, allocations: 85.42 kB / 1.091 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.795e-05/1.009, allocations: 0.5625 kB / 1.091 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.283e-05/1.009, allocations: 13.08 kB / 1.091 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.672e-05/1.009, allocations: 311.4 kB / 1.091 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.858e-06/1.009, allocations: 1.094 kB / 1.091 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.294e-06/1.009, allocations: 1.781 kB / 1.091 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.421e-05/1.009, allocations: 11.62 kB / 1.091 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/1.009, allocations: 4.062 kB / 1.091 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.848e-05/1.009, allocations: 33.56 kB / 1.091 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/1.009, allocations: 5.688 kB / 1.091 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.892e-06/1.009, allocations: 0 / 1.091 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/1.009, allocations: 5.156 kB / 1.091 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.38e-05/1.009, allocations: 9.625 kB / 1.091 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/1.009, allocations: 1.328 kB / 1.091 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.092e-05/1.009, allocations: 0 / 1.091 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/1.009, allocations: 1.125 kB / 1.091 GB, free: 2.742 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.866e-05/1.009, allocations: 111.6 kB / 1.091 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.002e-05/1.009, allocations: 2.109 kB / 1.091 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.001e-05/1.009, allocations: 43.2 kB / 1.091 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/1.009, allocations: 5.781 kB / 1.091 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/1.009, allocations: 0 / 1.091 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/1.009, allocations: 0 / 1.091 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.222e-05/1.009, allocations: 144.3 kB / 1.091 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/1.009, allocations: 1.797 kB / 1.091 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.125e-05/1.009, allocations: 1.188 kB / 1.091 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/1.009, allocations: 5.891 kB / 1.091 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.134e-06/1.009, allocations: 3.938 kB / 1.091 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/1.009, allocations: 4.547 kB / 1.091 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/1.009, allocations: 5.016 kB / 1.091 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.249e-05/1.01, allocations: 57.38 kB / 1.091 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.281e-05/1.01, allocations: 86.59 kB / 1.092 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.082e-05/1.01, allocations: 4.641 kB / 1.092 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.434e-06/1.01, allocations: 5.125 kB / 1.092 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.313e-05/1.01, allocations: 0.7031 kB / 1.092 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-06/1.01, allocations: 1.156 kB / 1.092 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.588e-05/1.01, allocations: 75.28 kB / 1.092 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of sort global known variables: time 8e-08/1.01, allocations: 0.9688 kB / 1.092 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001978/1.01, allocations: 9.672 kB / 1.092 GB, free: 2.125 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.000187/1.01, allocations: 112.8 kB / 1.092 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 8.52e-05/1.01, allocations: 9.047 kB / 1.092 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/1.01, allocations: 4.062 kB / 1.092 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.769e-06/1.01, allocations: 6.562 kB / 1.092 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001305/1.01, allocations: 5.203 kB / 1.092 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001739/1.01, allocations: 80.48 kB / 1.092 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001751/1.011, allocations: 0.6706 MB / 1.093 GB, free: 17.23 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 1.658e-05/1.011, allocations: 1.125 kB / 1.093 GB, free: 17.23 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.319e-05/1.011, allocations: 8.047 kB / 1.093 GB, free: 17.22 MB / 0.8731 GB Notification: Performance of SimCode: time 2.3e-07/1.011, allocations: 5 kB / 1.093 GB, free: 17.22 MB / 0.8731 GB Notification: Performance of Templates: time 0.002877/1.014, allocations: 453.7 kB / 1.093 GB, free: 17.16 MB / 0.8731 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/jenkins/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