Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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.001018/0.001018, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001073/0.001073, allocations: 169 kB / 23.27 MB, free: 1.223 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 1.006/1.006, allocations: 177.2 MB / 203.7 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.428/2.428, allocations: 438.1 MB / 0.682 GB, free: 14.15 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 0.8898 GB, free: 9.648 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.23e-05/2.416e-05, allocations: 2.312 kB / 0.8898 GB, free: 9.645 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001203/0.001227, allocations: 0.6374 MB / 0.8904 GB, free: 9.012 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0004776/0.001705, allocations: 330.7 kB / 0.8908 GB, free: 8.688 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.945e-05/0.001734, allocations: 0 / 0.8908 GB, free: 8.688 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.564e-05/0.00175, allocations: 0 / 0.8908 GB, free: 8.688 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 3.166e-05/0.001782, allocations: 3.938 kB / 0.8908 GB, free: 8.684 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003804/0.002162, allocations: 115.6 kB / 0.8909 GB, free: 8.57 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 5.717e-05/0.002219, allocations: 23.92 kB / 0.8909 GB, free: 8.547 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.44e-05/0.002254, allocations: 11.97 kB / 0.8909 GB, free: 8.535 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 5.392e-05/0.002308, allocations: 8 kB / 0.8909 GB, free: 8.527 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 4.647e-05/0.002354, allocations: 11.98 kB / 0.8909 GB, free: 8.516 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.398e-05/0.002368, allocations: 4 kB / 0.8909 GB, free: 8.512 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002588/0.002627, allocations: 263.6 kB / 0.8912 GB, free: 8.254 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.672e-05/0.002643, allocations: 7.938 kB / 0.8912 GB, free: 8.246 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.397e-05/0.002657, allocations: 4 kB / 0.8912 GB, free: 8.242 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001649/0.002822, allocations: 135.6 kB / 0.8913 GB, free: 8.109 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.002825, allocations: 0 / 0.8913 GB, free: 8.109 MB / 0.8542 GB Notification: Performance of FrontEnd: time 9.12e-07/0.002826, allocations: 0 / 0.8913 GB, free: 8.109 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.597e-06/0.002829, allocations: 0 / 0.8913 GB, free: 8.109 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006023/0.003432, allocations: 388.3 kB / 0.8917 GB, free: 7.691 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.00347, allocations: 20.55 kB / 0.8917 GB, free: 7.672 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.455e-05/0.003535, allocations: 12.89 kB / 0.8917 GB, free: 7.66 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.813e-05/0.003603, allocations: 108.6 kB / 0.8918 GB, free: 7.527 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.003615, allocations: 384 / 0.8918 GB, free: 7.527 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.722e-05/0.003632, allocations: 8.375 kB / 0.8918 GB, free: 7.52 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.32e-05/0.003725, allocations: 97.66 kB / 0.8919 GB, free: 7.406 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.118e-06/0.003735, allocations: 192 / 0.8919 GB, free: 7.406 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.48e-06/0.00374, allocations: 384 / 0.8919 GB, free: 7.406 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.003746, allocations: 4.312 kB / 0.8919 GB, free: 7.402 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.43e-05/0.00377, allocations: 15.92 kB / 0.8919 GB, free: 7.387 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001176/0.003888, allocations: 117.1 kB / 0.8921 GB, free: 7.246 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 7.602e-05/0.003964, allocations: 55.12 kB / 0.8921 GB, free: 7.18 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.28e-05/0.003986, allocations: 31.81 kB / 0.8921 GB, free: 7.145 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002675/0.004254, allocations: 75.92 kB / 0.8922 GB, free: 7.07 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.635e-05/0.00428, allocations: 37.39 kB / 0.8922 GB, free: 7.023 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=7): time 9.02e-07/0.004281, allocations: 3.938 kB / 0.8922 GB, free: 7.02 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11): time 0.0006992/0.00498, allocations: 424.7 kB / 0.8927 GB, free: 6.543 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.325e-05/0.005004, allocations: 55.34 kB / 0.8927 GB, free: 6.477 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.047e-05/0.005064, allocations: 157.9 kB / 0.8929 GB, free: 6.305 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.226e-05/0.005076, allocations: 29.7 kB / 0.8929 GB, free: 6.27 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.295e-05/0.005109, allocations: 130.9 kB / 0.893 GB, free: 6.137 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.332e-05/0.005143, allocations: 47.58 kB / 0.8931 GB, free: 6.09 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.511e-05/0.005178, allocations: 35.34 kB / 0.8931 GB, free: 6.047 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.005278, allocations: 496.1 kB / 0.8936 GB, free: 5.551 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.779e-05/0.005296, allocations: 15.98 kB / 0.8936 GB, free: 5.535 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.625e-05/0.005312, allocations: 11.98 kB / 0.8936 GB, free: 5.523 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.616e-05/0.005359, allocations: 39.62 kB / 0.8936 GB, free: 5.48 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.005361, allocations: 4 kB / 0.8936 GB, free: 5.477 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13) (initialization): time 9.765e-05/0.005459, allocations: 85.62 kB / 0.8937 GB, free: 5.387 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/0.00547, allocations: 8 kB / 0.8937 GB, free: 5.379 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.005474, allocations: 0 / 0.8937 GB, free: 5.379 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.005486, allocations: 4.188 kB / 0.8937 GB, free: 5.375 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.106e-05/0.005548, allocations: 19.98 kB / 0.8937 GB, free: 5.355 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.449e-06/0.005552, allocations: 7.938 kB / 0.8937 GB, free: 5.348 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.229e-05/0.005564, allocations: 0 / 0.8937 GB, free: 5.348 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.00557, allocations: 4 kB / 0.8938 GB, free: 5.344 MB / 0.8542 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 (13): * Single equations (assignments): 13 * 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.926e-05/0.005629, allocations: 164.5 kB / 0.8939 GB, free: 5.172 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.118e-05/0.005651, allocations: 11.98 kB / 0.8939 GB, free: 5.16 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001126/0.005763, allocations: 93.81 kB / 0.894 GB, free: 5.059 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.005765, allocations: 0 / 0.894 GB, free: 5.059 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.005768, allocations: 7.938 kB / 0.894 GB, free: 5.051 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.005771, allocations: 4 kB / 0.894 GB, free: 5.047 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002238/0.005995, allocations: 325.9 kB / 0.8943 GB, free: 4.695 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.005996, allocations: 0 / 0.8943 GB, free: 4.695 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.232e-05/0.006059, allocations: 19.98 kB / 0.8944 GB, free: 4.676 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.00606, allocations: 0 / 0.8944 GB, free: 4.676 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.829e-06/0.006065, allocations: 4 kB / 0.8944 GB, free: 4.672 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.006067, allocations: 3.938 kB / 0.8944 GB, free: 4.668 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.006068, allocations: 0 / 0.8944 GB, free: 4.668 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001543/0.006222, allocations: 247.8 kB / 0.8946 GB, free: 4.406 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.737e-05/0.00624, allocations: 7.938 kB / 0.8946 GB, free: 4.398 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/0.006255, allocations: 7.984 kB / 0.8946 GB, free: 4.391 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.902e-05/0.006294, allocations: 11.97 kB / 0.8946 GB, free: 4.379 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.167e-05/0.006306, allocations: 3.984 kB / 0.8946 GB, free: 4.375 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.122e-06/0.006312, allocations: 8 kB / 0.8946 GB, free: 4.367 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.192e-05/0.006344, allocations: 123.2 kB / 0.8948 GB, free: 4.246 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.006344, allocations: 0 / 0.8948 GB, free: 4.246 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001809/0.006525, allocations: 39.94 kB / 0.8948 GB, free: 4.207 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * 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 (11): * Single equations (assignments): 11 * 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.0001672/0.006692, allocations: 147.1 kB / 0.8949 GB, free: 4.055 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 8.922e-05/0.006781, allocations: 61.64 kB / 0.895 GB, free: 3.992 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.006783, allocations: 0 / 0.895 GB, free: 3.992 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.61e-05/0.006809, allocations: 39.55 kB / 0.895 GB, free: 3.949 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001447/0.006954, allocations: 8 kB / 0.895 GB, free: 3.941 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002423/0.007196, allocations: 173.8 kB / 0.8952 GB, free: 3.742 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.301e-05/0.007229, allocations: 63.34 kB / 0.8953 GB, free: 3.66 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.493e-05/0.007264, allocations: 8 kB / 0.8953 GB, free: 3.652 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.151e-05/0.007315, allocations: 82.19 kB / 0.8953 GB, free: 3.57 MB / 0.8542 GB Notification: Performance of SimCode: time 7.62e-07/0.007316, allocations: 0 / 0.8953 GB, free: 3.57 MB / 0.8542 GB Notification: Performance of Templates: time 0.003019/0.01034, allocations: 1.63 MB / 0.8969 GB, free: 1.953 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.437367858830839]