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.0008973/0.0008973, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001532/0.001532, allocations: 177 kB / 23.36 MB, free: 1.129 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.007/1.007, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.507/2.507, allocations: 438.8 MB / 0.6827 GB, free: 13.61 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.583e-06/1.583e-06, allocations: 0 / 0.8387 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.572e-05/2.73e-05, allocations: 2.312 kB / 0.8387 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001283/0.00131, allocations: 0.6918 MB / 0.8394 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0005414/0.001852, allocations: 326.7 kB / 0.8397 GB, free: 13.1 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.436e-05/0.001876, allocations: 0 / 0.8397 GB, free: 13.1 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 1.356e-05/0.00189, allocations: 0 / 0.8397 GB, free: 13.1 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 3.256e-05/0.001922, allocations: 0 / 0.8397 GB, free: 13.1 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003472/0.00227, allocations: 103.5 kB / 0.8398 GB, free: 13 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 5.372e-05/0.002323, allocations: 23.97 kB / 0.8398 GB, free: 12.97 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.443e-05/0.002358, allocations: 11.98 kB / 0.8398 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 6.03e-05/0.002418, allocations: 15.98 kB / 0.8398 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 5.053e-05/0.002469, allocations: 11.92 kB / 0.8398 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.319e-05/0.002482, allocations: 0 / 0.8398 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003204/0.002802, allocations: 283.6 kB / 0.8401 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.462e-05/0.002817, allocations: 7.969 kB / 0.8401 GB, free: 12.65 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.559e-05/0.002832, allocations: 4 kB / 0.8401 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001592/0.002992, allocations: 131.7 kB / 0.8402 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.903e-06/0.002994, allocations: 0 / 0.8402 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of FrontEnd: time 8.22e-07/0.002994, allocations: 0 / 0.8402 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.547e-06/0.002998, allocations: 0 / 0.8402 GB, free: 12.52 MB / 0.8073 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.0002747/0.003273, allocations: 268.6 kB / 0.8405 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.003307, allocations: 8.625 kB / 0.8405 GB, free: 12.22 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.239e-05/0.003369, allocations: 8.922 kB / 0.8405 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.219e-05/0.003441, allocations: 113.7 kB / 0.8406 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.869e-06/0.003451, allocations: 4.375 kB / 0.8406 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.569e-05/0.003467, allocations: 8.375 kB / 0.8406 GB, free: 12.06 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.64e-05/0.003553, allocations: 97.64 kB / 0.8407 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.003561, allocations: 192 / 0.8407 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.622e-06/0.003568, allocations: 384 / 0.8407 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.003573, allocations: 384 / 0.8407 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.654e-05/0.003599, allocations: 23.86 kB / 0.8408 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.283e-05/0.003692, allocations: 72.97 kB / 0.8408 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 8.926e-05/0.003781, allocations: 42.62 kB / 0.8409 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.549e-05/0.003807, allocations: 20.86 kB / 0.8409 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000304/0.004111, allocations: 76.08 kB / 0.841 GB, free: 11.69 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.884e-05/0.004139, allocations: 34.56 kB / 0.841 GB, free: 11.65 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 1.452e-06/0.004141, allocations: 3.938 kB / 0.841 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11): time 0.0008458/0.004987, allocations: 439.6 kB / 0.8414 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.439e-05/0.005011, allocations: 55.39 kB / 0.8415 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.956e-05/0.005061, allocations: 102.7 kB / 0.8416 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.377e-06/0.00507, allocations: 25.7 kB / 0.8416 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.449e-05/0.005095, allocations: 88.08 kB / 0.8417 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.444e-05/0.005129, allocations: 47.56 kB / 0.8417 GB, free: 10.81 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.42e-05/0.005173, allocations: 29.7 kB / 0.8417 GB, free: 10.78 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.405e-05/0.005247, allocations: 314.8 kB / 0.842 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.478e-05/0.005262, allocations: 8 kB / 0.8421 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.023e-05/0.005282, allocations: 23.98 kB / 0.8421 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.179e-05/0.005324, allocations: 36.2 kB / 0.8421 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.005325, allocations: 3.938 kB / 0.8421 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13) (initialization): time 8.685e-05/0.005412, allocations: 65.67 kB / 0.8422 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/0.005423, allocations: 4 kB / 0.8422 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.005427, allocations: 0 / 0.8422 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.005439, allocations: 4 kB / 0.8422 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.416e-05/0.005503, allocations: 23.98 kB / 0.8422 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.116e-06/0.005506, allocations: 3.938 kB / 0.8422 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.29e-05/0.005519, allocations: 8 kB / 0.8422 GB, free: 10.28 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.579e-06/0.005524, allocations: 0 / 0.8422 GB, free: 10.28 MB / 0.8073 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 0.0003537/0.005877, allocations: 121.8 kB / 0.8423 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.137e-05/0.005899, allocations: 7.984 kB / 0.8423 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.543e-05/0.005994, allocations: 69.8 kB / 0.8424 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.676e-06/0.005998, allocations: 7.984 kB / 0.8424 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.006, allocations: 3.938 kB / 0.8424 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.006004, allocations: 3.938 kB / 0.8424 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002034/0.006207, allocations: 230.7 kB / 0.8426 GB, free: 9.805 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.006208, allocations: 0 / 0.8426 GB, free: 9.805 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.403e-05/0.006272, allocations: 16 kB / 0.8427 GB, free: 9.789 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.006275, allocations: 4 kB / 0.8427 GB, free: 9.785 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/0.006281, allocations: 7.984 kB / 0.8427 GB, free: 9.777 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.006282, allocations: 0 / 0.8427 GB, free: 9.777 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.006284, allocations: 3.938 kB / 0.8427 GB, free: 9.773 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001316/0.006416, allocations: 183.4 kB / 0.8428 GB, free: 9.578 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.757e-05/0.006433, allocations: 11.95 kB / 0.8429 GB, free: 9.566 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.586e-06/0.006442, allocations: 0 / 0.8429 GB, free: 9.566 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.82e-05/0.00648, allocations: 7.984 kB / 0.8429 GB, free: 9.559 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.475e-05/0.006495, allocations: 7.938 kB / 0.8429 GB, free: 9.551 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.613e-06/0.006501, allocations: 7.984 kB / 0.8429 GB, free: 9.543 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.029e-05/0.006512, allocations: 8.859 kB / 0.8429 GB, free: 9.531 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.006512, allocations: 4.031 kB / 0.8429 GB, free: 9.527 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001604/0.006672, allocations: 39.94 kB / 0.8429 GB, free: 9.488 MB / 0.8073 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.0001605/0.006833, allocations: 128.2 kB / 0.8431 GB, free: 9.355 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 7.594e-05/0.006909, allocations: 48.77 kB / 0.8431 GB, free: 9.305 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.006911, allocations: 0 / 0.8431 GB, free: 9.305 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.421e-05/0.006935, allocations: 37.16 kB / 0.8431 GB, free: 9.266 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001124/0.007048, allocations: 4 kB / 0.8431 GB, free: 9.262 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002423/0.00729, allocations: 164.4 kB / 0.8433 GB, free: 9.074 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.085e-05/0.007321, allocations: 59.36 kB / 0.8434 GB, free: 8.996 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.213e-05/0.007363, allocations: 20.34 kB / 0.8434 GB, free: 8.977 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.651e-05/0.007409, allocations: 59.38 kB / 0.8434 GB, free: 8.918 MB / 0.8073 GB Notification: Performance of SimCode: time 4.81e-07/0.00741, allocations: 0 / 0.8434 GB, free: 8.918 MB / 0.8073 GB Notification: Performance of Templates: time 0.003222/0.01063, allocations: 1.629 MB / 0.845 GB, free: 7.301 MB / 0.8073 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 -s gbode -gbm=radauIIA3 -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.482842397876084]