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.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.001719/0.001719, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002137/0.002137, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.594/1.594, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.81/2.81, allocations: 475.9 MB / 0.7699 GB, free: 4.77 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_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: 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.002138/0.002138, allocations: 68.14 kB / 1.117 GB, free: 40.97 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3173/0.3194, allocations: 169.9 MB / 1.283 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001867/0.3213, allocations: 0.617 MB / 1.284 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0007367/0.322, allocations: 319 kB / 1.284 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.69e-05/0.322, allocations: 0 / 1.284 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.957e-05/0.322, allocations: 3.938 kB / 1.284 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 2.264e-05/0.3221, allocations: 0 / 1.284 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004839/0.3226, allocations: 134.9 kB / 1.284 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.47e-05/0.3226, allocations: 15.98 kB / 1.284 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.192e-05/0.3227, allocations: 7.984 kB / 1.284 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.175e-05/0.3227, allocations: 15.92 kB / 1.284 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.403e-05/0.3228, allocations: 11.92 kB / 1.284 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.272e-05/0.3228, allocations: 0 / 1.284 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004122/0.3232, allocations: 259.7 kB / 1.284 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.36e-05/0.3232, allocations: 0 / 1.284 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.873e-05/0.3232, allocations: 19.91 kB / 1.284 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001981/0.3234, allocations: 99.66 kB / 1.285 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.3234, allocations: 0 / 1.285 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.413e-06/0.3234, allocations: 4 kB / 1.285 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.3234, allocations: 0 / 1.285 GB, free: 10.32 MB / 0.9825 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.0004693/0.3239, allocations: 294 kB / 1.285 GB, free: 10 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.3239, allocations: 8.031 kB / 1.285 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.629e-05/0.324, allocations: 8.938 kB / 1.285 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001165/0.3241, allocations: 110.5 kB / 1.285 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.467e-06/0.3241, allocations: 4.375 kB / 1.285 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.825e-05/0.3241, allocations: 8.328 kB / 1.285 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001668/0.3243, allocations: 105.6 kB / 1.285 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.3243, allocations: 4.188 kB / 1.285 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.3243, allocations: 7.938 kB / 1.285 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.3243, allocations: 3.938 kB / 1.285 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.203e-05/0.3244, allocations: 19.98 kB / 1.285 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001704/0.3246, allocations: 105.3 kB / 1.285 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000119/0.3247, allocations: 58.5 kB / 1.285 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.669e-05/0.3247, allocations: 28.84 kB / 1.285 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000533/0.3253, allocations: 79.91 kB / 1.285 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.893e-05/0.3253, allocations: 34.56 kB / 1.285 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.3253, allocations: 0 / 1.285 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.001371/0.3267, allocations: 455.7 kB / 1.286 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.283e-05/0.3267, allocations: 59.41 kB / 1.286 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.431e-05/0.3268, allocations: 97.86 kB / 1.286 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.009e-05/0.3268, allocations: 25.7 kB / 1.286 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.721e-05/0.3269, allocations: 84.14 kB / 1.286 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.684e-05/0.3269, allocations: 35.69 kB / 1.286 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.829e-05/0.327, allocations: 33.7 kB / 1.286 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001679/0.3272, allocations: 310.8 kB / 1.286 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.774e-05/0.3272, allocations: 23.98 kB / 1.286 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.617e-05/0.3272, allocations: 23.92 kB / 1.286 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001015/0.3274, allocations: 52.86 kB / 1.287 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.3274, allocations: 4 kB / 1.287 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001739/0.3275, allocations: 97.83 kB / 1.287 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.3275, allocations: 7.938 kB / 1.287 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.3276, allocations: 0 / 1.287 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.157e-05/0.3276, allocations: 11.97 kB / 1.287 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.3277, allocations: 19.94 kB / 1.287 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.3277, allocations: 0 / 1.287 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.244e-05/0.3277, allocations: 0 / 1.287 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.247e-06/0.3277, allocations: 4 kB / 1.287 GB, free: 7.906 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.354e-05/0.3278, allocations: 117.8 kB / 1.287 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.369e-05/0.3279, allocations: 11.89 kB / 1.287 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002195/0.3281, allocations: 117.7 kB / 1.287 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.3281, allocations: 4 kB / 1.287 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.3281, allocations: 4 kB / 1.287 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.3281, allocations: 0 / 1.287 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004184/0.3285, allocations: 294.3 kB / 1.287 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.3285, allocations: 7.875 kB / 1.287 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001134/0.3286, allocations: 27.92 kB / 1.287 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.3286, allocations: 0 / 1.287 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/0.3286, allocations: 4 kB / 1.287 GB, free: 7.277 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.3286, allocations: 0 / 1.287 GB, free: 7.277 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3286, allocations: 0 / 1.287 GB, free: 7.277 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002965/0.3289, allocations: 219.4 kB / 1.287 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.16e-05/0.329, allocations: 8.016 kB / 1.287 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.479e-05/0.329, allocations: 0 / 1.287 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.473e-05/0.3291, allocations: 11.98 kB / 1.287 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.292e-05/0.3291, allocations: 4 kB / 1.287 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.676e-06/0.3291, allocations: 3.984 kB / 1.287 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.71e-05/0.3291, allocations: 83.28 kB / 1.288 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3291, allocations: 0 / 1.288 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002843/0.3294, allocations: 43.81 kB / 1.288 GB, free: 6.895 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.0002857/0.3297, allocations: 151.1 kB / 1.288 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001625/0.3299, allocations: 54.86 kB / 1.288 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3299, allocations: 0 / 1.288 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.561e-05/0.3299, allocations: 31.92 kB / 1.288 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002339/0.3302, allocations: 15.88 kB / 1.288 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000415/0.3306, allocations: 182 kB / 1.288 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.25e-05/0.3307, allocations: 67.34 kB / 1.288 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.188e-05/0.3307, allocations: 8 kB / 1.288 GB, free: 6.34 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.155e-05/0.3307, allocations: 15.44 kB / 1.288 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of SimCode: time 5.21e-07/0.3307, allocations: 0 / 1.288 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of Templates: time 0.004545/0.3353, allocations: 1.41 MB / 1.289 GB, free: 4.938 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 9.001569986343384]