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.001414/0.001414, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.001708/0.001708, allocations: 212.6 kB / 22.25 MB, free: 4.859 MB / 14.72 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.476/1.476, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] 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 3.344/3.344, allocations: 0.5107 GB / 0.8158 GB, free: 17.85 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002119/0.002119, allocations: 65.69 kB / 1.186 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3866/0.3887, allocations: 181.9 MB / 1.364 GB, free: 13.59 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001949/0.3907, allocations: 0.6373 MB / 1.365 GB, free: 12.95 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0008203/0.3915, allocations: 315.3 kB / 1.365 GB, free: 12.64 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.424e-05/0.3915, allocations: 0 / 1.365 GB, free: 12.64 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.899e-05/0.3915, allocations: 3.938 kB / 1.365 GB, free: 12.64 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 3.226e-05/0.3916, allocations: 3.938 kB / 1.365 GB, free: 12.63 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004891/0.3921, allocations: 111.7 kB / 1.365 GB, free: 12.52 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 8.155e-05/0.3921, allocations: 31.97 kB / 1.365 GB, free: 12.49 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.178e-05/0.3922, allocations: 0 / 1.365 GB, free: 12.49 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.514e-05/0.3922, allocations: 11.94 kB / 1.365 GB, free: 12.48 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.094e-05/0.3923, allocations: 15.92 kB / 1.365 GB, free: 12.46 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.303e-05/0.3923, allocations: 0 / 1.365 GB, free: 12.46 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004207/0.3927, allocations: 259.6 kB / 1.365 GB, free: 12.21 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.543e-05/0.3927, allocations: 15.92 kB / 1.365 GB, free: 12.2 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.569e-05/0.3928, allocations: 7.938 kB / 1.365 GB, free: 12.19 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002028/0.393, allocations: 107.6 kB / 1.365 GB, free: 12.08 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.393, allocations: 0 / 1.365 GB, free: 12.08 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.114e-06/0.393, allocations: 0 / 1.365 GB, free: 12.08 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.099e-06/0.393, allocations: 4 kB / 1.365 GB, free: 12.08 MB / 1.061 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.0005201/0.3935, allocations: 286.1 kB / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.3935, allocations: 8.031 kB / 1.366 GB, free: 11.76 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.513e-05/0.3936, allocations: 8.891 kB / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001247/0.3937, allocations: 106.5 kB / 1.366 GB, free: 11.62 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.3938, allocations: 4.375 kB / 1.366 GB, free: 11.62 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.666e-05/0.3938, allocations: 8.375 kB / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001733/0.394, allocations: 93.66 kB / 1.366 GB, free: 11.5 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.394, allocations: 192 / 1.366 GB, free: 11.5 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/0.394, allocations: 7.938 kB / 1.366 GB, free: 11.49 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.394, allocations: 7.984 kB / 1.366 GB, free: 11.48 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.375e-05/0.394, allocations: 27.86 kB / 1.366 GB, free: 11.46 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001756/0.3942, allocations: 117.3 kB / 1.366 GB, free: 11.31 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001164/0.3943, allocations: 50.56 kB / 1.366 GB, free: 11.25 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.644e-05/0.3944, allocations: 28.84 kB / 1.366 GB, free: 11.22 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005263/0.3949, allocations: 75.92 kB / 1.366 GB, free: 11.15 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.132e-05/0.3949, allocations: 34.56 kB / 1.366 GB, free: 11.11 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.3949, allocations: 0 / 1.366 GB, free: 11.11 MB / 1.061 GB Notification: Performance of matching and sorting (n=11): time 0.001292/0.3962, allocations: 455.5 kB / 1.367 GB, free: 10.61 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.445e-05/0.3963, allocations: 51.41 kB / 1.367 GB, free: 10.54 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.668e-05/0.3964, allocations: 101.8 kB / 1.367 GB, free: 10.43 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.221e-05/0.3964, allocations: 33.7 kB / 1.367 GB, free: 10.39 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.332e-05/0.3964, allocations: 80.23 kB / 1.367 GB, free: 10.31 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.64e-05/0.3965, allocations: 47.58 kB / 1.367 GB, free: 10.27 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.313e-05/0.3965, allocations: 21.72 kB / 1.367 GB, free: 10.24 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001603/0.3967, allocations: 322.8 kB / 1.367 GB, free: 9.914 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.503e-05/0.3967, allocations: 16 kB / 1.367 GB, free: 9.898 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.612e-05/0.3968, allocations: 27.98 kB / 1.367 GB, free: 9.871 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001015/0.3969, allocations: 56.86 kB / 1.367 GB, free: 9.812 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.3969, allocations: 3.938 kB / 1.367 GB, free: 9.809 MB / 1.061 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001735/0.3971, allocations: 104.2 kB / 1.367 GB, free: 9.703 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.3971, allocations: 11.94 kB / 1.367 GB, free: 9.691 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.3971, allocations: 0 / 1.367 GB, free: 9.691 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.3971, allocations: 0 / 1.367 GB, free: 9.691 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/0.3972, allocations: 23.98 kB / 1.367 GB, free: 9.668 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.3972, allocations: 0 / 1.367 GB, free: 9.668 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.541e-05/0.3972, allocations: 4 kB / 1.367 GB, free: 9.664 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.3972, allocations: 4 kB / 1.367 GB, free: 9.66 MB / 1.061 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 8.856e-05/0.3973, allocations: 113.8 kB / 1.368 GB, free: 9.539 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.806e-05/0.3974, allocations: 7.938 kB / 1.368 GB, free: 9.531 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000216/0.3976, allocations: 105.8 kB / 1.368 GB, free: 9.41 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.3976, allocations: 4 kB / 1.368 GB, free: 9.406 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.3976, allocations: 0 / 1.368 GB, free: 9.406 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.3976, allocations: 0 / 1.368 GB, free: 9.406 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003987/0.398, allocations: 310.1 kB / 1.368 GB, free: 9.066 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.398, allocations: 0 / 1.368 GB, free: 9.066 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000106/0.3981, allocations: 19.98 kB / 1.368 GB, free: 9.047 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.3981, allocations: 0 / 1.368 GB, free: 9.047 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.3981, allocations: 4 kB / 1.368 GB, free: 9.043 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.3981, allocations: 0 / 1.368 GB, free: 9.043 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3981, allocations: 0 / 1.368 GB, free: 9.043 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002847/0.3984, allocations: 223.5 kB / 1.368 GB, free: 8.809 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.387e-05/0.3984, allocations: 20.03 kB / 1.368 GB, free: 8.789 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.596e-05/0.3984, allocations: 3.984 kB / 1.368 GB, free: 8.785 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.398e-05/0.3985, allocations: 4 kB / 1.368 GB, free: 8.781 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.929e-05/0.3985, allocations: 11.92 kB / 1.368 GB, free: 8.77 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.558e-05/0.3986, allocations: 4 kB / 1.368 GB, free: 8.766 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.843e-05/0.3986, allocations: 79.28 kB / 1.368 GB, free: 8.688 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3986, allocations: 0 / 1.368 GB, free: 8.688 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002788/0.3989, allocations: 47.86 kB / 1.368 GB, free: 8.641 MB / 1.061 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.0002488/0.3991, allocations: 135.2 kB / 1.369 GB, free: 8.5 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001514/0.3993, allocations: 63.91 kB / 1.369 GB, free: 8.438 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.3993, allocations: 0 / 1.369 GB, free: 8.438 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 6.022e-05/0.3994, allocations: 31.88 kB / 1.369 GB, free: 8.406 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002309/0.3996, allocations: 15.88 kB / 1.369 GB, free: 8.391 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003734/0.4, allocations: 174.1 kB / 1.369 GB, free: 8.195 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.447e-05/0.4, allocations: 67.34 kB / 1.369 GB, free: 8.109 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 5.528e-05/0.4001, allocations: 20.28 kB / 1.369 GB, free: 8.09 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.51e-05/0.4001, allocations: 11.44 kB / 1.369 GB, free: 8.082 MB / 1.061 GB Notification: Performance of SimCode: time 3.2e-07/0.4001, allocations: 0 / 1.369 GB, free: 8.082 MB / 1.061 GB Notification: Performance of Templates: time 0.004316/0.4044, allocations: 1.401 MB / 1.37 GB, free: 6.707 MB / 1.061 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) [Timeout 800] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.922204589471221]