Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008089/0.0008089, allocations: 80.48 kB / 19.93 MB, free: 4.629 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008412/0.0008412, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8785/0.8785, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.719/1.719, allocations: 377.9 MB / 0.6228 GB, free: 8.645 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.794e-06/1.794e-06, allocations: 0 / 0.9822 GB, free: 2 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.162e-05/3.341e-05, allocations: 6.219 kB / 0.9823 GB, free: 1.992 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001839/0.001872, allocations: 0.5908 MB / 0.9828 GB, free: 1.406 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0005777/0.00245, allocations: 294.9 kB / 0.9831 GB, free: 1.117 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.548e-05/0.002465, allocations: 4 kB / 0.9831 GB, free: 1.113 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 1.547e-05/0.002481, allocations: 0 / 0.9831 GB, free: 1.113 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 8.045e-06/0.002489, allocations: 0 / 0.9831 GB, free: 1.113 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004109/0.0029, allocations: 106.5 kB / 0.9832 GB, free: 1.012 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 4.72e-05/0.002947, allocations: 0 / 0.9832 GB, free: 1.012 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 4.499e-05/0.002992, allocations: 3.938 kB / 0.9832 GB, free: 1.008 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 2.677e-05/0.003019, allocations: 0 / 0.9832 GB, free: 1.008 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 2.504e-05/0.003044, allocations: 7.984 kB / 0.9832 GB, free: 1 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.303e-05/0.003057, allocations: 0 / 0.9832 GB, free: 1 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003032/0.00336, allocations: 263.6 kB / 0.9835 GB, free: 0.7422 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.394e-05/0.003374, allocations: 4 kB / 0.9835 GB, free: 0.7383 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.418e-05/0.003388, allocations: 0 / 0.9835 GB, free: 0.7383 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001728/0.003561, allocations: 103.8 kB / 0.9836 GB, free: 0.6367 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.003565, allocations: 7.938 kB / 0.9836 GB, free: 0.6289 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.362e-06/0.003566, allocations: 4 kB / 0.9836 GB, free: 0.625 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.00357, allocations: 0 / 0.9836 GB, free: 0.625 MB / 0.9323 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.000249/0.003819, allocations: 262.2 kB / 0.9838 GB, free: 344 kB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.003858, allocations: 8.031 kB / 0.9839 GB, free: 336 kB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.132e-05/0.003909, allocations: 0.9375 kB / 0.9839 GB, free: 336 kB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.496e-05/0.003964, allocations: 109.8 kB / 0.984 GB, free: 200 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.498e-06/0.003973, allocations: 4.312 kB / 0.984 GB, free: 196 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.464e-06/0.003981, allocations: 384 / 0.984 GB, free: 196 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.992e-05/0.004071, allocations: 38.25 kB / 0.984 GB, free: 152 kB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.712e-06/0.004078, allocations: 192 / 0.984 GB, free: 152 kB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-06/0.004086, allocations: 384 / 0.984 GB, free: 152 kB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.00409, allocations: 384 / 0.984 GB, free: 152 kB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.936e-05/0.00411, allocations: 3.938 kB / 0.984 GB, free: 148 kB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.919e-05/0.004209, allocations: 101.3 kB / 0.9841 GB, free: 16 kB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 5.453e-05/0.004263, allocations: 18.52 kB / 0.9841 GB, free: 15.99 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.552e-05/0.004279, allocations: 8.953 kB / 0.9841 GB, free: 15.98 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003069/0.004586, allocations: 55.81 kB / 0.9842 GB, free: 15.92 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.112e-05/0.004607, allocations: 34.56 kB / 0.9842 GB, free: 15.88 MB / 0.948 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.004608, allocations: 0 / 0.9842 GB, free: 15.88 MB / 0.948 GB Notification: Performance of matching and sorting (n=1): time 0.000143/0.004751, allocations: 33.7 kB / 0.9842 GB, free: 15.84 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.678e-05/0.004778, allocations: 51.41 kB / 0.9843 GB, free: 15.78 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.633e-05/0.004804, allocations: 89.98 kB / 0.9844 GB, free: 15.68 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.122e-05/0.004815, allocations: 29.7 kB / 0.9844 GB, free: 15.64 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 1.969e-05/0.004835, allocations: 80.14 kB / 0.9845 GB, free: 15.56 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.686e-05/0.004862, allocations: 4 kB / 0.9845 GB, free: 15.56 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.09e-05/0.004883, allocations: 9.719 kB / 0.9845 GB, free: 15.54 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.854e-05/0.004971, allocations: 322.8 kB / 0.9848 GB, free: 15.22 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.08e-05/0.004982, allocations: 7.938 kB / 0.9848 GB, free: 15.21 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.132e-06/0.004988, allocations: 0 / 0.9848 GB, free: 15.21 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.688e-05/0.005015, allocations: 8.859 kB / 0.9848 GB, free: 15.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.005017, allocations: 0 / 0.9848 GB, free: 15.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.344e-05/0.005071, allocations: 33.77 kB / 0.9849 GB, free: 15.16 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.005083, allocations: 8 kB / 0.9849 GB, free: 15.15 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.005088, allocations: 0 / 0.9849 GB, free: 15.15 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.005099, allocations: 0 / 0.9849 GB, free: 15.15 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.47e-05/0.005144, allocations: 3.984 kB / 0.9849 GB, free: 15.15 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.119e-06/0.005149, allocations: 0 / 0.9849 GB, free: 15.15 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.786e-06/0.005157, allocations: 3.938 kB / 0.9849 GB, free: 15.14 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.471e-06/0.005163, allocations: 7.938 kB / 0.9849 GB, free: 15.14 MB / 0.948 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.659e-05/0.00522, allocations: 109.8 kB / 0.985 GB, free: 15.02 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.139e-05/0.005231, allocations: 0 / 0.985 GB, free: 15.02 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002818/0.005513, allocations: 44.67 kB / 0.985 GB, free: 14.97 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.005516, allocations: 3.984 kB / 0.985 GB, free: 14.97 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.00552, allocations: 0 / 0.985 GB, free: 14.97 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.005522, allocations: 0 / 0.985 GB, free: 14.97 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.109e-05/0.005573, allocations: 97.27 kB / 0.9851 GB, free: 14.84 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.005575, allocations: 0 / 0.9851 GB, free: 14.84 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.092e-05/0.005585, allocations: 4 kB / 0.9851 GB, free: 14.84 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.005587, allocations: 0 / 0.9851 GB, free: 14.84 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.222e-06/0.005593, allocations: 4 kB / 0.9851 GB, free: 14.84 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.005594, allocations: 3.938 kB / 0.9851 GB, free: 14.83 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.005595, allocations: 4.031 kB / 0.9851 GB, free: 14.83 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.584e-05/0.005651, allocations: 69 kB / 0.9852 GB, free: 14.74 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.749e-06/0.005655, allocations: 3.984 kB / 0.9852 GB, free: 14.74 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.999e-06/0.005665, allocations: 4 kB / 0.9852 GB, free: 14.73 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.587e-06/0.005669, allocations: 0 / 0.9852 GB, free: 14.73 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.1e-05/0.00568, allocations: 0 / 0.9852 GB, free: 14.73 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-06/0.005682, allocations: 0 / 0.9852 GB, free: 14.73 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.096e-05/0.005703, allocations: 75.28 kB / 0.9853 GB, free: 14.66 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.005703, allocations: 0 / 0.9853 GB, free: 14.66 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001394/0.005843, allocations: 15.98 kB / 0.9853 GB, free: 14.64 MB / 0.948 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.0001467/0.005989, allocations: 115.7 kB / 0.9854 GB, free: 14.52 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 6.307e-05/0.006052, allocations: 8 kB / 0.9854 GB, free: 14.52 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.006054, allocations: 0 / 0.9854 GB, free: 14.52 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 5.931e-06/0.00606, allocations: 7.938 kB / 0.9854 GB, free: 14.51 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000101/0.006161, allocations: 0 / 0.9854 GB, free: 14.51 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001803/0.006341, allocations: 102.7 kB / 0.9855 GB, free: 14.38 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.228e-05/0.006374, allocations: 55.22 kB / 0.9856 GB, free: 14.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.433e-05/0.006388, allocations: 8.5 kB / 0.9856 GB, free: 14.29 MB / 0.948 GB Notification: Performance of SimCode: time 4.21e-07/0.006388, allocations: 4.125 kB / 0.9856 GB, free: 14.29 MB / 0.948 GB Notification: Performance of Templates: time 0.001432/0.007821, allocations: 491.6 kB / 0.9861 GB, free: 13.81 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.496624689549208]