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.001262/0.001262, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001396/0.001396, allocations: 214.7 kB / 23.04 MB, free: 5.07 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.573/1.573, allocations: 230.6 MB / 256.8 MB, free: 8.016 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.285/3.285, allocations: 0.5003 GB / 0.8062 GB, free: 26.82 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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",fmuType="cs",version="2.0",platforms={"static"}) [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.002013/0.002013, allocations: 66.34 kB / 1.171 GB, free: 19.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3909/0.3929, allocations: 179 MB / 1.345 GB, free: 464 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.002472/0.3954, allocations: 0.6322 MB / 1.346 GB, free: 15.82 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0009166/0.3963, allocations: 359.1 kB / 1.346 GB, free: 15.47 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.165e-05/0.3963, allocations: 0 / 1.346 GB, free: 15.47 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 1.454e-05/0.3963, allocations: 0 / 1.346 GB, free: 15.47 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 3.513e-05/0.3964, allocations: 3.938 kB / 1.346 GB, free: 15.46 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005275/0.3969, allocations: 119.6 kB / 1.346 GB, free: 15.35 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 7.265e-05/0.397, allocations: 19.92 kB / 1.346 GB, free: 15.33 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.548e-05/0.397, allocations: 4 kB / 1.346 GB, free: 15.32 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 4.939e-05/0.3971, allocations: 11.98 kB / 1.346 GB, free: 15.31 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.549e-05/0.3971, allocations: 19.92 kB / 1.346 GB, free: 15.29 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.71e-05/0.3971, allocations: 4 kB / 1.346 GB, free: 15.29 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004424/0.3976, allocations: 275.7 kB / 1.347 GB, free: 15.02 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.866e-05/0.3976, allocations: 7.984 kB / 1.347 GB, free: 15.01 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.391e-05/0.3976, allocations: 15.86 kB / 1.347 GB, free: 15 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002179/0.3979, allocations: 103.9 kB / 1.347 GB, free: 14.89 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.3979, allocations: 3.938 kB / 1.347 GB, free: 14.89 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3979, allocations: 0 / 1.347 GB, free: 14.89 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.3979, allocations: 0 / 1.347 GB, free: 14.89 MB / 1.045 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.0004528/0.3983, allocations: 290 kB / 1.347 GB, free: 14.57 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.3984, allocations: 8.031 kB / 1.347 GB, free: 14.57 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.225e-05/0.3984, allocations: 8.188 kB / 1.347 GB, free: 14.56 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.296e-05/0.3984, allocations: 30.75 kB / 1.347 GB, free: 14.52 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.689e-05/0.3985, allocations: 8.891 kB / 1.347 GB, free: 14.51 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001097/0.3986, allocations: 110.5 kB / 1.347 GB, free: 14.38 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.3986, allocations: 8.375 kB / 1.347 GB, free: 14.37 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.878e-05/0.3986, allocations: 384 / 1.347 GB, free: 14.37 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001256/0.3987, allocations: 50 kB / 1.347 GB, free: 14.32 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.3988, allocations: 0 / 1.347 GB, free: 14.32 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.3988, allocations: 12 kB / 1.347 GB, free: 14.3 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.3988, allocations: 3.938 kB / 1.347 GB, free: 14.3 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.458e-05/0.3988, allocations: 15.98 kB / 1.347 GB, free: 14.29 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001844/0.399, allocations: 140.7 kB / 1.348 GB, free: 14.11 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001127/0.3991, allocations: 54.55 kB / 1.348 GB, free: 14.04 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.794e-05/0.3992, allocations: 28.86 kB / 1.348 GB, free: 14.01 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000536/0.3997, allocations: 79.91 kB / 1.348 GB, free: 13.93 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.3997, allocations: 34.5 kB / 1.348 GB, free: 13.89 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.3997, allocations: 3.938 kB / 1.348 GB, free: 13.89 MB / 1.045 GB Notification: Performance of matching and sorting (n=11): time 0.001385/0.4011, allocations: 459.8 kB / 1.348 GB, free: 13.38 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.4012, allocations: 55.41 kB / 1.348 GB, free: 13.32 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.429e-05/0.4013, allocations: 97.84 kB / 1.348 GB, free: 13.21 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.354e-05/0.4013, allocations: 29.7 kB / 1.348 GB, free: 13.18 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.561e-05/0.4013, allocations: 84.14 kB / 1.348 GB, free: 13.09 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.229e-05/0.4014, allocations: 35.75 kB / 1.348 GB, free: 13.05 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.393e-05/0.4014, allocations: 33.64 kB / 1.348 GB, free: 13.02 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.4016, allocations: 318.8 kB / 1.349 GB, free: 12.7 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.755e-05/0.4016, allocations: 19.98 kB / 1.349 GB, free: 12.68 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.218e-05/0.4017, allocations: 19.98 kB / 1.349 GB, free: 12.66 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001042/0.4018, allocations: 60.86 kB / 1.349 GB, free: 12.6 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.4018, allocations: 0 / 1.349 GB, free: 12.6 MB / 1.045 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001921/0.402, allocations: 113.5 kB / 1.349 GB, free: 12.48 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.402, allocations: 4 kB / 1.349 GB, free: 12.48 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.249e-06/0.402, allocations: 0 / 1.349 GB, free: 12.48 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.402, allocations: 0 / 1.349 GB, free: 12.48 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001124/0.4021, allocations: 20 kB / 1.349 GB, free: 12.46 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.4021, allocations: 3.984 kB / 1.349 GB, free: 12.45 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.39e-05/0.4022, allocations: 0 / 1.349 GB, free: 12.45 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.159e-05/0.4022, allocations: 8 kB / 1.349 GB, free: 12.45 MB / 1.045 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 0.0001124/0.4023, allocations: 125.7 kB / 1.349 GB, free: 12.31 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.802e-05/0.4023, allocations: 7.953 kB / 1.349 GB, free: 12.3 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002172/0.4025, allocations: 97.73 kB / 1.349 GB, free: 12.2 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.4025, allocations: 3.984 kB / 1.349 GB, free: 12.2 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.4025, allocations: 0 / 1.349 GB, free: 12.2 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.4025, allocations: 0 / 1.349 GB, free: 12.2 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004899/0.403, allocations: 333.5 kB / 1.35 GB, free: 11.82 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.403, allocations: 0 / 1.35 GB, free: 11.82 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001155/0.4032, allocations: 20 kB / 1.35 GB, free: 11.8 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.4032, allocations: 0 / 1.35 GB, free: 11.8 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.4032, allocations: 0 / 1.35 GB, free: 11.8 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.4032, allocations: 7.984 kB / 1.35 GB, free: 11.79 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.4032, allocations: 4 kB / 1.35 GB, free: 11.79 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003016/0.4035, allocations: 223.3 kB / 1.35 GB, free: 11.55 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 3.718e-05/0.4035, allocations: 15.97 kB / 1.35 GB, free: 11.54 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.647e-05/0.4035, allocations: 0 / 1.35 GB, free: 11.54 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.639e-05/0.4036, allocations: 8 kB / 1.35 GB, free: 11.53 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.143e-05/0.4036, allocations: 3.984 kB / 1.35 GB, free: 11.53 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.4037, allocations: 7.938 kB / 1.35 GB, free: 11.52 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.482e-05/0.4037, allocations: 83.34 kB / 1.35 GB, free: 11.44 MB / 1.045 GB Notification: Performance of sort global known variables: time 6e-08/0.4037, allocations: 0 / 1.35 GB, free: 11.44 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003193/0.404, allocations: 51.8 kB / 1.35 GB, free: 11.39 MB / 1.045 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.0007585/0.4048, allocations: 0.7869 MB / 1.351 GB, free: 10.57 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001598/0.4049, allocations: 56.16 kB / 1.351 GB, free: 10.52 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.4049, allocations: 0 / 1.351 GB, free: 10.52 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 5.931e-05/0.405, allocations: 35.86 kB / 1.351 GB, free: 10.48 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002445/0.4052, allocations: 12.27 kB / 1.351 GB, free: 10.47 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001609/0.4069, allocations: 1.414 MB / 1.352 GB, free: 8.98 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003401/0.4072, allocations: 0.6807 MB / 1.353 GB, free: 8.273 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 6.645e-05/0.4073, allocations: 23.91 kB / 1.353 GB, free: 8.25 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.105e-05/0.4073, allocations: 15.44 kB / 1.353 GB, free: 8.234 MB / 1.045 GB Notification: Performance of SimCode: time 9.52e-07/0.4073, allocations: 0 / 1.353 GB, free: 8.234 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02693/0.4342, allocations: 2.652 MB / 1.356 GB, free: 5.734 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.59, allocations: 8.312 kB / 1.356 GB, free: 5.73 MB / 1.045 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=800 --tolerance=1e-08 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) [Timeout 840.0] 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/jenkins1/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: 18.901656298025046]