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.0009955/0.0009955, allocations: 92.31 kB / 20.19 MB, free: 4.355 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.0009676/0.0009676, allocations: 169 kB / 23.49 MB, free: 1.051 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.9761/0.9761, allocations: 177.1 MB / 203.8 MB, free: 5.297 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.14/2.14, allocations: 429.5 MB / 0.6736 GB, free: 4.035 MB / 0.6355 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.643e-06/1.643e-06, allocations: 0 / 0.8782 GB, free: 6.609 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.078e-05/2.242e-05, allocations: 8.781 kB / 0.8782 GB, free: 6.602 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001084/0.001107, allocations: 0.6355 MB / 0.8789 GB, free: 5.984 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.000494/0.001601, allocations: 322.4 kB / 0.8792 GB, free: 5.676 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.821e-05/0.001699, allocations: 4 kB / 0.8792 GB, free: 5.672 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.761e-05/0.001716, allocations: 3.938 kB / 0.8792 GB, free: 5.668 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 2.842e-05/0.001745, allocations: 1.969 kB / 0.8792 GB, free: 5.668 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000368/0.002113, allocations: 128.5 kB / 0.8793 GB, free: 5.547 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.104e-05/0.002174, allocations: 21.02 kB / 0.8793 GB, free: 5.527 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.089e-05/0.002215, allocations: 15.98 kB / 0.8793 GB, free: 5.512 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.338e-05/0.002268, allocations: 11.98 kB / 0.8794 GB, free: 5.5 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.849e-05/0.002317, allocations: 11.98 kB / 0.8794 GB, free: 5.488 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.497e-05/0.002332, allocations: 0 / 0.8794 GB, free: 5.488 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000255/0.002587, allocations: 255.6 kB / 0.8796 GB, free: 5.238 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.588e-05/0.002602, allocations: 11.92 kB / 0.8796 GB, free: 5.227 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.722e-05/0.00262, allocations: 4 kB / 0.8796 GB, free: 5.223 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001721/0.002792, allocations: 127.7 kB / 0.8797 GB, free: 5.098 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.002794, allocations: 1.781 kB / 0.8797 GB, free: 5.098 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.01e-07/0.002795, allocations: 3.938 kB / 0.8798 GB, free: 5.094 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.002799, allocations: 0 / 0.8798 GB, free: 5.094 MB / 0.8386 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.0003499/0.003149, allocations: 392.3 kB / 0.8801 GB, free: 4.672 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.003186, allocations: 13.06 kB / 0.8801 GB, free: 4.66 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.185e-05/0.003268, allocations: 4.938 kB / 0.8801 GB, free: 4.656 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.416e-05/0.003352, allocations: 112.5 kB / 0.8803 GB, free: 4.52 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.003365, allocations: 9.5 kB / 0.8803 GB, free: 4.512 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.895e-05/0.003384, allocations: 8.359 kB / 0.8803 GB, free: 4.504 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001102/0.003495, allocations: 101.6 kB / 0.8804 GB, free: 4.387 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.003505, allocations: 1.219 kB / 0.8804 GB, free: 4.387 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.003514, allocations: 384 / 0.8804 GB, free: 4.387 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.003521, allocations: 4.375 kB / 0.8804 GB, free: 4.383 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.097e-05/0.003562, allocations: 29.48 kB / 0.8804 GB, free: 4.355 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001255/0.003687, allocations: 116.6 kB / 0.8805 GB, free: 4.207 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.239e-05/0.00378, allocations: 66.97 kB / 0.8806 GB, free: 4.129 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.107e-05/0.003811, allocations: 26.14 kB / 0.8806 GB, free: 4.102 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003027/0.004113, allocations: 81.98 kB / 0.8807 GB, free: 4.023 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.334e-05/0.004137, allocations: 37.39 kB / 0.8807 GB, free: 3.977 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.093e-06/0.004138, allocations: 0 / 0.8807 GB, free: 3.977 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11): time 0.0008302/0.004968, allocations: 459.1 kB / 0.8812 GB, free: 3.469 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.119e-05/0.004999, allocations: 59.34 kB / 0.8812 GB, free: 3.398 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.656e-05/0.005066, allocations: 157.9 kB / 0.8814 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.159e-05/0.005077, allocations: 25.7 kB / 0.8814 GB, free: 3.195 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.509e-05/0.005112, allocations: 128.1 kB / 0.8815 GB, free: 3.066 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.41e-05/0.005147, allocations: 43.64 kB / 0.8815 GB, free: 3.023 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.41e-05/0.005181, allocations: 35.36 kB / 0.8816 GB, free: 2.98 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.005288, allocations: 496.1 kB / 0.8821 GB, free: 2.484 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.705e-05/0.005315, allocations: 23.98 kB / 0.8821 GB, free: 2.461 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.239e-05/0.005337, allocations: 11.98 kB / 0.8821 GB, free: 2.449 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.906e-05/0.005396, allocations: 50.69 kB / 0.8821 GB, free: 2.398 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.005397, allocations: 0 / 0.8821 GB, free: 2.398 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000111/0.005508, allocations: 89.62 kB / 0.8822 GB, free: 2.305 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.005525, allocations: 14.17 kB / 0.8822 GB, free: 2.293 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.698e-06/0.005529, allocations: 3.938 kB / 0.8822 GB, free: 2.289 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.005543, allocations: 3.938 kB / 0.8822 GB, free: 2.285 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.87e-05/0.005612, allocations: 20 kB / 0.8823 GB, free: 2.266 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.005618, allocations: 0 / 0.8823 GB, free: 2.266 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.3e-05/0.005631, allocations: 8 kB / 0.8823 GB, free: 2.258 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.005638, allocations: 7.984 kB / 0.8823 GB, free: 2.25 MB / 0.8386 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 6.019e-05/0.005698, allocations: 156.6 kB / 0.8824 GB, free: 2.086 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.956e-05/0.005718, allocations: 11.95 kB / 0.8824 GB, free: 2.074 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001195/0.005837, allocations: 93.73 kB / 0.8825 GB, free: 1.98 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.005839, allocations: 3.938 kB / 0.8825 GB, free: 1.977 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.005842, allocations: 0 / 0.8825 GB, free: 1.977 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.005847, allocations: 3.984 kB / 0.8825 GB, free: 1.973 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000259/0.006106, allocations: 341.3 kB / 0.8829 GB, free: 1.598 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.006107, allocations: 0 / 0.8829 GB, free: 1.598 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.529e-05/0.006172, allocations: 27.98 kB / 0.8829 GB, free: 1.57 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.006175, allocations: 3.938 kB / 0.8829 GB, free: 1.566 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/0.006184, allocations: 4 kB / 0.8829 GB, free: 1.562 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.01e-07/0.006185, allocations: 0 / 0.8829 GB, free: 1.562 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.006186, allocations: 0 / 0.8829 GB, free: 1.562 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001731/0.006359, allocations: 252.1 kB / 0.8831 GB, free: 1.297 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.992e-05/0.006379, allocations: 16.06 kB / 0.8831 GB, free: 1.281 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.23e-05/0.006391, allocations: 7.938 kB / 0.8832 GB, free: 1.273 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.542e-05/0.006437, allocations: 7.984 kB / 0.8832 GB, free: 1.266 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.093e-05/0.006458, allocations: 11.97 kB / 0.8832 GB, free: 1.254 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.153e-06/0.006465, allocations: 8 kB / 0.8832 GB, free: 1.246 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.301e-05/0.006498, allocations: 127.2 kB / 0.8833 GB, free: 1.121 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6.1e-08/0.006498, allocations: 0 / 0.8833 GB, free: 1.121 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001868/0.006685, allocations: 43.88 kB / 0.8833 GB, free: 1.078 MB / 0.8386 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.0001695/0.006854, allocations: 143.2 kB / 0.8835 GB, free: 0.9258 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000105/0.006959, allocations: 55.72 kB / 0.8835 GB, free: 0.8672 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.006961, allocations: 0 / 0.8835 GB, free: 0.8672 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.437e-05/0.006995, allocations: 47.53 kB / 0.8836 GB, free: 0.8164 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001521/0.007147, allocations: 9.656 kB / 0.8836 GB, free: 0.8086 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002709/0.007418, allocations: 181.4 kB / 0.8838 GB, free: 0.6055 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.968e-05/0.007458, allocations: 63.34 kB / 0.8838 GB, free: 0.5234 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.743e-05/0.007495, allocations: 8.031 kB / 0.8838 GB, free: 0.5156 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.322e-05/0.007518, allocations: 16.5 kB / 0.8838 GB, free: 0.5 MB / 0.8386 GB Notification: Performance of SimCode: time 5.21e-07/0.007519, allocations: 0 / 0.8838 GB, free: 0.5 MB / 0.8386 GB Notification: Performance of Templates: time 0.002901/0.01042, allocations: 1.425 MB / 0.8852 GB, free: 15.1 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.392279343213886]