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.001044/0.001044, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.000971/0.000971, allocations: 181 kB / 23.36 MB, free: 1.133 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.9201/0.9201, allocations: 177.1 MB / 203.8 MB, free: 5.488 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.356/2.356, allocations: 438.8 MB / 0.6826 GB, free: 13.6 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.884e-06/1.884e-06, allocations: 0 / 0.8386 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.554e-05/2.742e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001626/0.001654, allocations: 0.6421 MB / 0.8393 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0006431/0.002297, allocations: 326.8 kB / 0.8396 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.884e-05/0.002326, allocations: 0 / 0.8396 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 1.587e-05/0.002342, allocations: 0 / 0.8396 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 3.657e-05/0.002378, allocations: 7.938 kB / 0.8396 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004593/0.002837, allocations: 111.6 kB / 0.8397 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 6.747e-05/0.002905, allocations: 23.91 kB / 0.8397 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 4.51e-05/0.00295, allocations: 11.98 kB / 0.8397 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 5.572e-05/0.003006, allocations: 16 kB / 0.8397 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 5.408e-05/0.00306, allocations: 15.91 kB / 0.8398 GB, free: 13 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.293e-05/0.003073, allocations: 4 kB / 0.8398 GB, free: 13 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003205/0.003393, allocations: 259.6 kB / 0.84 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.511e-05/0.003408, allocations: 4 kB / 0.84 GB, free: 12.74 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.557e-05/0.003424, allocations: 7.984 kB / 0.84 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001823/0.003606, allocations: 135.6 kB / 0.8401 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.003608, allocations: 0 / 0.8401 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.82e-07/0.003609, allocations: 0 / 0.8401 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.126e-06/0.003612, allocations: 0 / 0.8401 GB, free: 12.6 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.0003079/0.00392, allocations: 260.7 kB / 0.8404 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.003956, allocations: 16.62 kB / 0.8404 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.903e-05/0.004025, allocations: 8.938 kB / 0.8404 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.778e-05/0.004102, allocations: 109.7 kB / 0.8405 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.004114, allocations: 4.375 kB / 0.8405 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.971e-05/0.004133, allocations: 4.375 kB / 0.8405 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.83e-05/0.004232, allocations: 97.64 kB / 0.8406 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.004241, allocations: 192 / 0.8406 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.064e-06/0.004248, allocations: 4.312 kB / 0.8406 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.004253, allocations: 384 / 0.8406 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.773e-05/0.004281, allocations: 19.91 kB / 0.8407 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.846e-05/0.00438, allocations: 68.98 kB / 0.8407 GB, free: 11.94 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 7.77e-05/0.004457, allocations: 54.62 kB / 0.8408 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.18e-05/0.004479, allocations: 12.86 kB / 0.8408 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000303/0.004782, allocations: 84.06 kB / 0.8409 GB, free: 11.78 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/0.004806, allocations: 34.56 kB / 0.8409 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.004807, allocations: 0 / 0.8409 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11): time 0.0009099/0.005717, allocations: 443.6 kB / 0.8413 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.275e-05/0.005749, allocations: 51.41 kB / 0.8414 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.553e-05/0.005805, allocations: 102.7 kB / 0.8415 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.359e-05/0.005818, allocations: 29.7 kB / 0.8415 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.167e-05/0.00584, allocations: 84.14 kB / 0.8416 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.898e-05/0.005879, allocations: 47.56 kB / 0.8416 GB, free: 10.9 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.983e-05/0.005919, allocations: 29.69 kB / 0.8416 GB, free: 10.87 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.809e-05/0.005997, allocations: 310.8 kB / 0.8419 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.96e-05/0.006017, allocations: 19.98 kB / 0.842 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.982e-05/0.006036, allocations: 11.94 kB / 0.842 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.11e-05/0.006088, allocations: 44.25 kB / 0.842 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.006089, allocations: 8 kB / 0.842 GB, free: 10.47 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001016/0.00619, allocations: 61.69 kB / 0.8421 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.006203, allocations: 11.98 kB / 0.8421 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.006208, allocations: 0 / 0.8421 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.00622, allocations: 0 / 0.8421 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.544e-05/0.006296, allocations: 19.94 kB / 0.8421 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.807e-06/0.006299, allocations: 3.938 kB / 0.8421 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.673e-05/0.006316, allocations: 4 kB / 0.8421 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.168e-06/0.006325, allocations: 7.984 kB / 0.8421 GB, free: 10.36 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 5.779e-05/0.006383, allocations: 109.8 kB / 0.8422 GB, free: 10.24 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.724e-05/0.00641, allocations: 12 kB / 0.8422 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001057/0.006516, allocations: 73.78 kB / 0.8423 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.006519, allocations: 7.938 kB / 0.8423 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.714e-06/0.006521, allocations: 0 / 0.8423 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.006525, allocations: 3.938 kB / 0.8423 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002279/0.006753, allocations: 226.7 kB / 0.8425 GB, free: 9.898 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.006754, allocations: 0 / 0.8425 GB, free: 9.898 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.886e-05/0.006833, allocations: 19.98 kB / 0.8426 GB, free: 9.879 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.006835, allocations: 3.938 kB / 0.8426 GB, free: 9.875 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.006842, allocations: 4 kB / 0.8426 GB, free: 9.871 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.006844, allocations: 8 kB / 0.8426 GB, free: 9.863 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.006846, allocations: 3.938 kB / 0.8426 GB, free: 9.859 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001596/0.007006, allocations: 179.8 kB / 0.8428 GB, free: 9.668 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.283e-05/0.007029, allocations: 11.94 kB / 0.8428 GB, free: 9.656 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.889e-06/0.007039, allocations: 0 / 0.8428 GB, free: 9.656 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.533e-05/0.007094, allocations: 8 kB / 0.8428 GB, free: 9.648 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.561e-05/0.00711, allocations: 11.92 kB / 0.8428 GB, free: 9.637 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/0.007118, allocations: 7.938 kB / 0.8428 GB, free: 9.629 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 9.798e-06/0.007128, allocations: 4.859 kB / 0.8428 GB, free: 9.621 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6.1e-08/0.007128, allocations: 0 / 0.8428 GB, free: 9.621 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002315/0.007359, allocations: 43.92 kB / 0.8428 GB, free: 9.578 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.0001951/0.007554, allocations: 140.2 kB / 0.843 GB, free: 9.434 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 8.783e-05/0.007642, allocations: 40.84 kB / 0.843 GB, free: 9.391 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.007646, allocations: 4 kB / 0.843 GB, free: 9.387 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.015e-05/0.007686, allocations: 36.77 kB / 0.843 GB, free: 9.348 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001398/0.007826, allocations: 4 kB / 0.8431 GB, free: 9.344 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002652/0.008091, allocations: 152.4 kB / 0.8432 GB, free: 9.168 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.748e-05/0.008129, allocations: 63.34 kB / 0.8433 GB, free: 9.086 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.504e-05/0.008174, allocations: 12.03 kB / 0.8433 GB, free: 9.074 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.433e-05/0.008228, allocations: 63.36 kB / 0.8433 GB, free: 9.012 MB / 0.8073 GB Notification: Performance of SimCode: time 7.41e-07/0.008229, allocations: 7.938 kB / 0.8433 GB, free: 9.004 MB / 0.8073 GB Notification: Performance of Templates: time 0.003581/0.01181, allocations: 1.624 MB / 0.8449 GB, free: 7.395 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 -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.2862399648875]