Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001822/0.001822, allocations: 114.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002322/0.002322, allocations: 194.8 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.491/1.491, allocations: 225.6 MB / 250.9 MB, free: 13.3 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.739/2.739, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_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_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002194/0.002194, allocations: 59.91 kB / 1.109 GB, free: 6.477 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9145/0.9167, allocations: 168.7 MB / 1.274 GB, free: 4.387 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001886/0.9186, allocations: 0.6237 MB / 1.275 GB, free: 3.77 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0007715/0.9194, allocations: 362.7 kB / 1.275 GB, free: 3.414 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.307e-05/0.9194, allocations: 0 / 1.275 GB, free: 3.414 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.722e-05/0.9194, allocations: 0 / 1.275 GB, free: 3.414 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.335e-05/0.9194, allocations: 3.938 kB / 1.275 GB, free: 3.41 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004743/0.9199, allocations: 125.2 kB / 1.275 GB, free: 3.289 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.81e-05/0.92, allocations: 19.98 kB / 1.275 GB, free: 3.27 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.387e-05/0.92, allocations: 7.922 kB / 1.275 GB, free: 3.262 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.787e-05/0.9201, allocations: 19.92 kB / 1.275 GB, free: 3.242 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.822e-05/0.9201, allocations: 15.86 kB / 1.275 GB, free: 3.227 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.587e-05/0.9201, allocations: 4 kB / 1.275 GB, free: 3.223 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004366/0.9206, allocations: 267.7 kB / 1.275 GB, free: 2.961 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.925e-05/0.9206, allocations: 7.984 kB / 1.276 GB, free: 2.953 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.041e-05/0.9206, allocations: 11.94 kB / 1.276 GB, free: 2.941 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002096/0.9208, allocations: 102.4 kB / 1.276 GB, free: 2.844 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.9208, allocations: 4 kB / 1.276 GB, free: 2.84 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.693e-06/0.9208, allocations: 0 / 1.276 GB, free: 2.84 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.9209, allocations: 0 / 1.276 GB, free: 2.84 MB / 0.9669 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.0005736/0.9214, allocations: 367.1 kB / 1.276 GB, free: 2.43 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.9215, allocations: 8.031 kB / 1.276 GB, free: 2.422 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.081e-05/0.9215, allocations: 8.891 kB / 1.276 GB, free: 2.414 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001532/0.9217, allocations: 164.4 kB / 1.276 GB, free: 2.215 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.842e-05/0.9217, allocations: 8.359 kB / 1.276 GB, free: 2.207 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.306e-05/0.9217, allocations: 4.375 kB / 1.276 GB, free: 2.203 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001265/0.9219, allocations: 54.23 kB / 1.276 GB, free: 2.145 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.9219, allocations: 4.125 kB / 1.276 GB, free: 2.141 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.9219, allocations: 11.88 kB / 1.276 GB, free: 2.129 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.9219, allocations: 0 / 1.276 GB, free: 2.129 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.635e-05/0.9219, allocations: 19.98 kB / 1.276 GB, free: 2.109 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002226/0.9222, allocations: 173.5 kB / 1.276 GB, free: 1.891 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001225/0.9223, allocations: 54.56 kB / 1.276 GB, free: 1.828 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.442e-05/0.9223, allocations: 36.84 kB / 1.276 GB, free: 1.789 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007929/0.9231, allocations: 449.5 kB / 1.277 GB, free: 1.258 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.796e-05/0.9232, allocations: 42.5 kB / 1.277 GB, free: 1.207 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.9232, allocations: 0 / 1.277 GB, free: 1.207 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11): time 0.001434/0.9246, allocations: 0.5876 MB / 1.278 GB, free: 0.5273 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.058e-05/0.9247, allocations: 51.41 kB / 1.278 GB, free: 476 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.258e-05/0.9247, allocations: 101.8 kB / 1.278 GB, free: 364 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.035e-05/0.9248, allocations: 29.7 kB / 1.278 GB, free: 328 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.37e-05/0.9248, allocations: 80.14 kB / 1.278 GB, free: 244 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.431e-05/0.9249, allocations: 43.58 kB / 1.278 GB, free: 200 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.645e-05/0.9249, allocations: 29.72 kB / 1.278 GB, free: 164 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001751/0.9251, allocations: 318.8 kB / 1.278 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.148e-05/0.9251, allocations: 19.98 kB / 1.278 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.113e-05/0.9252, allocations: 20 kB / 1.278 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.452e-05/0.9253, allocations: 58.97 kB / 1.278 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.9253, allocations: 4 kB / 1.278 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001736/0.9254, allocations: 105.5 kB / 1.278 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.9254, allocations: 4 kB / 1.278 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.9255, allocations: 0 / 1.278 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.9255, allocations: 4 kB / 1.278 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.9256, allocations: 19.98 kB / 1.278 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.9256, allocations: 0 / 1.278 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.614e-05/0.9256, allocations: 4 kB / 1.278 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.447e-06/0.9256, allocations: 4 kB / 1.278 GB, free: 15.59 MB / 0.9825 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 9.722e-05/0.9257, allocations: 123.3 kB / 1.279 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.014e-05/0.9257, allocations: 7.938 kB / 1.279 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002062/0.9259, allocations: 105.6 kB / 1.279 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.9259, allocations: 192 / 1.279 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.926, allocations: 0 / 1.279 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.926, allocations: 7.984 kB / 1.279 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000424/0.9264, allocations: 354.5 kB / 1.279 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.9264, allocations: 3.938 kB / 1.279 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001218/0.9265, allocations: 23.98 kB / 1.279 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.9265, allocations: 4 kB / 1.279 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-06/0.9265, allocations: 0 / 1.279 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.9265, allocations: 0 / 1.279 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.9265, allocations: 4 kB / 1.279 GB, free: 14.9 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002846/0.9268, allocations: 223.7 kB / 1.279 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.782e-05/0.9269, allocations: 89.09 kB / 1.279 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.782e-05/0.9269, allocations: 3.984 kB / 1.279 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.321e-05/0.927, allocations: 8 kB / 1.279 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.783e-05/0.927, allocations: 8.062 kB / 1.279 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.195e-06/0.927, allocations: 3.984 kB / 1.279 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.423e-05/0.927, allocations: 79.28 kB / 1.279 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.927, allocations: 0 / 1.279 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002778/0.9273, allocations: 43.88 kB / 1.279 GB, free: 14.42 MB / 0.9825 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.0002609/0.9276, allocations: 143.6 kB / 1.28 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001907/0.9278, allocations: 73.02 kB / 1.28 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.9278, allocations: 4 kB / 1.28 GB, free: 14.19 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.175e-05/0.9278, allocations: 31.92 kB / 1.28 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002214/0.9281, allocations: 5.875 kB / 1.28 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004102/0.9285, allocations: 185.9 kB / 1.28 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003501/0.9288, allocations: 0.6885 MB / 1.281 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.15e-05/0.9289, allocations: 16.23 kB / 1.281 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.3e-05/0.9289, allocations: 19.44 kB / 1.281 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of SimCode: time 2.91e-07/0.9289, allocations: 0 / 1.281 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of Templates: time 0.004401/0.9333, allocations: 1.428 MB / 1.282 GB, free: 11.78 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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: 8.774380908813328]