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.001774/0.001774, allocations: 99.75 kB / 18.94 MB, free: 2.832 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.002309/0.002309, allocations: 220.4 kB / 22.25 MB, free: 5.102 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.581/1.581, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.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 3.297/3.297, allocations: 0.49 GB / 0.7951 GB, free: 35.47 MB / 0.6231 GB " [Timeout remaining time 176] 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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",fmuType="me",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.002068/0.002068, allocations: 64.72 kB / 1.154 GB, free: 25.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3969/0.399, allocations: 176.1 MB / 1.326 GB, free: 1.41 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001924/0.4009, allocations: 0.6243 MB / 1.327 GB, free: 0.793 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0007822/0.4017, allocations: 311.3 kB / 1.327 GB, free: 500 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.829e-05/0.4017, allocations: 0 / 1.327 GB, free: 500 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.403e-05/0.4017, allocations: 0 / 1.327 GB, free: 500 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 3.512e-05/0.4018, allocations: 7.938 kB / 1.327 GB, free: 492 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.000496/0.4023, allocations: 123.7 kB / 1.327 GB, free: 368 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.237e-05/0.4024, allocations: 19.92 kB / 1.327 GB, free: 348 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.679e-05/0.4024, allocations: 4 kB / 1.327 GB, free: 344 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 5.398e-05/0.4025, allocations: 8 kB / 1.327 GB, free: 336 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.964e-05/0.4025, allocations: 15.91 kB / 1.327 GB, free: 320 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.862e-05/0.4025, allocations: 4 kB / 1.327 GB, free: 316 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004446/0.403, allocations: 279.6 kB / 1.327 GB, free: 36 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.174e-05/0.403, allocations: 11.98 kB / 1.327 GB, free: 24 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.45e-05/0.403, allocations: 11.94 kB / 1.327 GB, free: 12 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000226/0.4033, allocations: 103.9 kB / 1.327 GB, free: 15.91 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.4033, allocations: 0 / 1.327 GB, free: 15.91 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.833e-06/0.4033, allocations: 0 / 1.327 GB, free: 15.91 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.4033, allocations: 0 / 1.327 GB, free: 15.91 MB / 1.029 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.0004743/0.4037, allocations: 290 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.4038, allocations: 12.03 kB / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.549e-05/0.4038, allocations: 34.69 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.638e-05/0.4039, allocations: 4.938 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000117/0.404, allocations: 118.4 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.404, allocations: 8.375 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.308e-05/0.404, allocations: 4.359 kB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000163/0.4042, allocations: 105.6 kB / 1.328 GB, free: 15.26 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.694e-05/0.4042, allocations: 3.938 kB / 1.328 GB, free: 15.26 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.4042, allocations: 7.938 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.4042, allocations: 0 / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.069e-05/0.4043, allocations: 15.98 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001915/0.4045, allocations: 136.8 kB / 1.328 GB, free: 15.06 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000121/0.4046, allocations: 62.62 kB / 1.328 GB, free: 14.99 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.968e-05/0.4047, allocations: 28.84 kB / 1.328 GB, free: 14.96 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005057/0.4052, allocations: 71.92 kB / 1.328 GB, free: 14.89 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.383e-05/0.4052, allocations: 42.48 kB / 1.328 GB, free: 14.84 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 9.72e-07/0.4052, allocations: 0 / 1.328 GB, free: 14.84 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.001256/0.4065, allocations: 459.7 kB / 1.329 GB, free: 14.33 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.127e-05/0.4065, allocations: 51.41 kB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.132e-05/0.4066, allocations: 97.84 kB / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.871e-05/0.4066, allocations: 33.7 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.483e-05/0.4066, allocations: 80.14 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.748e-05/0.4067, allocations: 35.69 kB / 1.329 GB, free: 14.01 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.409e-05/0.4068, allocations: 25.72 kB / 1.329 GB, free: 13.98 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001705/0.4069, allocations: 326.8 kB / 1.329 GB, free: 13.65 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.429e-05/0.407, allocations: 19.98 kB / 1.329 GB, free: 13.63 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.772e-05/0.407, allocations: 20 kB / 1.329 GB, free: 13.61 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.641e-05/0.4071, allocations: 56.72 kB / 1.329 GB, free: 13.55 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.4071, allocations: 0 / 1.329 GB, free: 13.55 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001659/0.4073, allocations: 109.5 kB / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.4073, allocations: 5.406 kB / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.4073, allocations: 0 / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.4073, allocations: 0 / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/0.4074, allocations: 23.98 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.4074, allocations: 0 / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.407e-05/0.4075, allocations: 8 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.4075, allocations: 4 kB / 1.33 GB, free: 13.4 MB / 1.029 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.547e-05/0.4076, allocations: 117.8 kB / 1.33 GB, free: 13.28 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.696e-05/0.4076, allocations: 7.891 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002146/0.4078, allocations: 109.7 kB / 1.33 GB, free: 13.15 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.4078, allocations: 0 / 1.33 GB, free: 13.15 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.4078, allocations: 0 / 1.33 GB, free: 13.15 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.104e-06/0.4078, allocations: 4.188 kB / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004665/0.4083, allocations: 317.5 kB / 1.33 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.4083, allocations: 4.078 kB / 1.33 GB, free: 12.78 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001046/0.4084, allocations: 31.92 kB / 1.33 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.4084, allocations: 0 / 1.33 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.414e-05/0.4084, allocations: 4 kB / 1.33 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.4084, allocations: 0 / 1.33 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.4084, allocations: 4 kB / 1.33 GB, free: 12.74 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003226/0.4087, allocations: 219.6 kB / 1.33 GB, free: 12.51 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.967e-05/0.4088, allocations: 12.02 kB / 1.33 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.812e-05/0.4088, allocations: 4 kB / 1.33 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.834e-05/0.4089, allocations: 11.92 kB / 1.33 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.348e-05/0.4089, allocations: 7.984 kB / 1.33 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.318e-06/0.4089, allocations: 4.062 kB / 1.33 GB, free: 12.47 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.063e-05/0.409, allocations: 79.28 kB / 1.33 GB, free: 12.39 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.409, allocations: 0 / 1.33 GB, free: 12.39 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002882/0.4092, allocations: 47.88 kB / 1.331 GB, free: 12.35 MB / 1.029 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.0008451/0.4101, allocations: 0.7904 MB / 1.331 GB, free: 11.53 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.00018/0.4103, allocations: 59.91 kB / 1.331 GB, free: 11.47 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.4103, allocations: 0 / 1.331 GB, free: 11.47 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.637e-05/0.4103, allocations: 31.92 kB / 1.331 GB, free: 11.44 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002614/0.4106, allocations: 12.69 kB / 1.331 GB, free: 11.43 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001615/0.4122, allocations: 1.406 MB / 1.333 GB, free: 9.945 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.618e-05/0.4123, allocations: 75.23 kB / 1.333 GB, free: 9.852 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.615e-05/0.4124, allocations: 11.94 kB / 1.333 GB, free: 9.84 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.196e-05/0.4124, allocations: 15.44 kB / 1.333 GB, free: 9.824 MB / 1.029 GB Notification: Performance of SimCode: time 3.1e-07/0.4124, allocations: 3.938 kB / 1.333 GB, free: 9.82 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03335/0.4458, allocations: 3.027 MB / 1.336 GB, free: 6.945 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.57, allocations: 6.297 kB / 1.336 GB, free: 6.941 MB / 1.029 GB " [Timeout remaining time 288] (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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.csv --start-time -1 --stop-time 1 --timeout 400 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Buildings_12_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.fmu > Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.csv","/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] "Error: Could not read variable x in file Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.csv. Warning: Get data of variable x from file Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.csv failed! Error: Could not read variable y in file Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.csv. Warning: Get data of variable y from file Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.csv failed! Error: Could not read variable der(x) in file Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.csv. Warning: Get data of variable der(x) from file Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.csv failed! Error: Could not read variable der(y) in file Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.csv. Warning: Get data of variable der(y) from file Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.808289537992096]