Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00179/0.00179, allocations: 78.72 kB / 19.76 MB, free: 1.875 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.002161/0.002161, allocations: 163.6 kB / 23.01 MB, free: 4.598 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.525/1.525, allocations: 177.2 MB / 203.4 MB, free: 8.898 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.725/2.725, allocations: 377.9 MB / 0.6228 GB, free: 12.72 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002076/0.002076, allocations: 67.89 kB / 0.982 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.776/0.7781, allocations: 176.1 MB / 1.154 GB, free: 33.32 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001413/0.7795, allocations: 0.6212 MB / 1.155 GB, free: 32.94 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.000551/0.7801, allocations: 320.5 kB / 1.155 GB, free: 32.75 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.509e-05/0.7801, allocations: 0 / 1.155 GB, free: 32.75 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 1.531e-05/0.7801, allocations: 7.938 kB / 1.155 GB, free: 32.74 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 2.093e-05/0.7801, allocations: 0 / 1.155 GB, free: 32.74 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003789/0.7805, allocations: 125.9 kB / 1.155 GB, free: 32.7 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 5.059e-05/0.7806, allocations: 16.02 kB / 1.155 GB, free: 32.69 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 3.65e-05/0.7806, allocations: 2.688 kB / 1.155 GB, free: 32.69 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 3.237e-05/0.7806, allocations: 16.56 kB / 1.155 GB, free: 32.68 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 4.22e-05/0.7807, allocations: 13.94 kB / 1.155 GB, free: 32.68 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.193e-05/0.7807, allocations: 2.844 kB / 1.155 GB, free: 32.68 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000291/0.781, allocations: 260.7 kB / 1.155 GB, free: 32.62 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.479e-05/0.781, allocations: 4 kB / 1.155 GB, free: 32.62 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.608e-05/0.781, allocations: 12.86 kB / 1.155 GB, free: 32.61 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001497/0.7812, allocations: 103.6 kB / 1.155 GB, free: 32.58 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.7812, allocations: 0 / 1.155 GB, free: 32.58 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.072e-06/0.7812, allocations: 0 / 1.155 GB, free: 32.58 MB / 1.076 GB Notification: Performance of Transformations before backend: time 8.536e-06/0.7812, allocations: 2.312 kB / 1.155 GB, free: 32.58 MB / 1.076 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.0003014/0.7815, allocations: 290.7 kB / 1.156 GB, free: 32.29 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 2.717e-05/0.7815, allocations: 10.06 kB / 1.156 GB, free: 32.29 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.941e-05/0.7815, allocations: 7.625 kB / 1.156 GB, free: 32.29 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.767e-05/0.7816, allocations: 113.4 kB / 1.156 GB, free: 32.15 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.7816, allocations: 384 / 1.156 GB, free: 32.15 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.158e-05/0.7816, allocations: 6.531 kB / 1.156 GB, free: 32.15 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000102/0.7817, allocations: 104.3 kB / 1.156 GB, free: 32.05 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.7818, allocations: 3 kB / 1.156 GB, free: 32.05 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.7818, allocations: 3.938 kB / 1.156 GB, free: 32.04 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.486e-06/0.7818, allocations: 3.938 kB / 1.156 GB, free: 32.04 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.159e-05/0.7818, allocations: 22.47 kB / 1.156 GB, free: 32.03 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.847e-05/0.7819, allocations: 117.4 kB / 1.156 GB, free: 31.9 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 8.834e-05/0.782, allocations: 64.14 kB / 1.156 GB, free: 31.86 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.181e-05/0.782, allocations: 27.41 kB / 1.156 GB, free: 31.84 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004946/0.7825, allocations: 73.77 kB / 1.156 GB, free: 31.84 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.272e-05/0.7825, allocations: 33.31 kB / 1.156 GB, free: 31.8 MB / 1.076 GB Notification: Performance of pre-optimization done (n=7): time 1.653e-06/0.7825, allocations: 4 kB / 1.156 GB, free: 31.79 MB / 1.076 GB Notification: Performance of matching and sorting (n=11): time 0.0009867/0.7835, allocations: 457.1 kB / 1.157 GB, free: 31.46 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.535e-05/0.7835, allocations: 58.19 kB / 1.157 GB, free: 31.39 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.872e-05/0.7836, allocations: 96 kB / 1.157 GB, free: 31.29 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 8.906e-06/0.7836, allocations: 29.7 kB / 1.157 GB, free: 31.26 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 1.301e-05/0.7836, allocations: 82.83 kB / 1.157 GB, free: 31.18 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.609e-05/0.7836, allocations: 37.64 kB / 1.157 GB, free: 31.14 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.27e-05/0.7837, allocations: 32.5 kB / 1.157 GB, free: 31.12 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 3.324e-05/0.7837, allocations: 318.8 kB / 1.157 GB, free: 30.8 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.398e-05/0.7837, allocations: 20.31 kB / 1.157 GB, free: 30.79 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.096e-05/0.7838, allocations: 24.38 kB / 1.157 GB, free: 30.79 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.166e-05/0.7838, allocations: 51.08 kB / 1.157 GB, free: 30.76 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.7838, allocations: 2.844 kB / 1.157 GB, free: 30.76 MB / 1.076 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000125/0.784, allocations: 100.5 kB / 1.157 GB, free: 30.7 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 9.628e-06/0.784, allocations: 9.562 kB / 1.158 GB, free: 30.7 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.006e-06/0.784, allocations: 3.938 kB / 1.158 GB, free: 30.7 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.784, allocations: 0 / 1.158 GB, free: 30.7 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.182e-05/0.7841, allocations: 22.88 kB / 1.158 GB, free: 30.7 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.7841, allocations: 4.094 kB / 1.158 GB, free: 30.69 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.337e-05/0.7841, allocations: 7.938 kB / 1.158 GB, free: 30.68 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.7841, allocations: 2.812 kB / 1.158 GB, free: 30.68 MB / 1.076 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 4.06e-05/0.7841, allocations: 115.9 kB / 1.158 GB, free: 30.57 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.648e-05/0.7842, allocations: 10.7 kB / 1.158 GB, free: 30.56 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001474/0.7843, allocations: 110.3 kB / 1.158 GB, free: 30.48 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.7843, allocations: 2.656 kB / 1.158 GB, free: 30.48 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.7843, allocations: 0 / 1.158 GB, free: 30.48 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.7843, allocations: 0 / 1.158 GB, free: 30.48 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002403/0.7846, allocations: 287.7 kB / 1.158 GB, free: 30.23 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.7846, allocations: 8.125 kB / 1.158 GB, free: 30.22 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.948e-05/0.7847, allocations: 26.5 kB / 1.158 GB, free: 30.21 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.7847, allocations: 0 / 1.158 GB, free: 30.21 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.776e-06/0.7847, allocations: 10.52 kB / 1.158 GB, free: 30.21 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.7847, allocations: 0 / 1.158 GB, free: 30.21 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.7847, allocations: 3.141 kB / 1.158 GB, free: 30.21 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001927/0.7849, allocations: 214.8 kB / 1.158 GB, free: 30.04 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.556e-05/0.7849, allocations: 9.531 kB / 1.158 GB, free: 30.04 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.292e-05/0.7849, allocations: 4 kB / 1.158 GB, free: 30.04 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.281e-05/0.785, allocations: 6.969 kB / 1.158 GB, free: 30.04 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.014e-05/0.785, allocations: 6.25 kB / 1.158 GB, free: 30.04 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.316e-06/0.785, allocations: 10.75 kB / 1.158 GB, free: 30.03 MB / 1.076 GB Notification: Performance of sorting global known variables: time 1.628e-05/0.785, allocations: 77.88 kB / 1.158 GB, free: 29.95 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.785, allocations: 0 / 1.158 GB, free: 29.95 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002588/0.7853, allocations: 48.44 kB / 1.158 GB, free: 29.94 MB / 1.076 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.000169/0.7855, allocations: 140.9 kB / 1.159 GB, free: 29.84 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.000117/0.7856, allocations: 53.23 kB / 1.159 GB, free: 29.83 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.7856, allocations: 2.781 kB / 1.159 GB, free: 29.83 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 3.956e-05/0.7856, allocations: 29.88 kB / 1.159 GB, free: 29.82 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002103/0.7858, allocations: 13.75 kB / 1.159 GB, free: 29.81 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002524/0.7861, allocations: 180.2 kB / 1.159 GB, free: 29.66 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.464e-05/0.7861, allocations: 72.31 kB / 1.159 GB, free: 29.59 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 3.986e-05/0.7862, allocations: 11.66 kB / 1.159 GB, free: 29.59 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.061e-05/0.7862, allocations: 13.56 kB / 1.159 GB, free: 29.58 MB / 1.076 GB Notification: Performance of SimCode: time 3.41e-07/0.7862, allocations: 0 / 1.159 GB, free: 29.58 MB / 1.076 GB Notification: Performance of Templates: time 0.003498/0.7897, allocations: 1.392 MB / 1.16 GB, free: 29.44 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.382479761959985]