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.001309/0.001309, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001496/0.001496, allocations: 221.5 kB / 22.26 MB, free: 5.125 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.491/1.491, allocations: 230.6 MB / 256 MB, free: 7.969 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.399/3.399, allocations: 0.505 GB / 0.8101 GB, free: 22.05 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="me",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="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.002193/0.002193, allocations: 68.22 kB / 1.177 GB, free: 17.06 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3878/0.3899, allocations: 180.2 MB / 1.353 GB, free: 8.438 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001848/0.3918, allocations: 0.637 MB / 1.354 GB, free: 7.805 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0007393/0.3925, allocations: 359.1 kB / 1.354 GB, free: 7.453 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.143e-05/0.3926, allocations: 0 / 1.354 GB, free: 7.453 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 1.682e-05/0.3926, allocations: 0 / 1.354 GB, free: 7.453 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 2.877e-05/0.3926, allocations: 3.938 kB / 1.354 GB, free: 7.449 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004539/0.3931, allocations: 115.7 kB / 1.354 GB, free: 7.336 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 6.672e-05/0.3931, allocations: 23.97 kB / 1.354 GB, free: 7.312 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.679e-05/0.3932, allocations: 0 / 1.354 GB, free: 7.312 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 3.656e-05/0.3932, allocations: 11.92 kB / 1.354 GB, free: 7.301 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.261e-05/0.3932, allocations: 19.92 kB / 1.354 GB, free: 7.281 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.42e-05/0.3933, allocations: 7.938 kB / 1.354 GB, free: 7.273 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004038/0.3937, allocations: 275.7 kB / 1.354 GB, free: 7.004 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.612e-05/0.3937, allocations: 7.984 kB / 1.354 GB, free: 6.996 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.722e-05/0.3937, allocations: 11.94 kB / 1.354 GB, free: 6.984 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002001/0.3939, allocations: 103.9 kB / 1.354 GB, free: 6.883 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.3939, allocations: 0 / 1.354 GB, free: 6.883 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3939, allocations: 0 / 1.354 GB, free: 6.883 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.3939, allocations: 0 / 1.354 GB, free: 6.883 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.0004783/0.3944, allocations: 298 kB / 1.355 GB, free: 6.559 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.3944, allocations: 12.03 kB / 1.355 GB, free: 6.547 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.79e-05/0.3945, allocations: 30.75 kB / 1.355 GB, free: 6.508 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.547e-05/0.3945, allocations: 8.891 kB / 1.355 GB, free: 6.5 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001072/0.3947, allocations: 110.5 kB / 1.355 GB, free: 6.367 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.3947, allocations: 4.375 kB / 1.355 GB, free: 6.363 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.414e-05/0.3947, allocations: 384 / 1.355 GB, free: 6.363 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001393/0.3948, allocations: 54.23 kB / 1.355 GB, free: 6.305 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/0.3948, allocations: 7.875 kB / 1.355 GB, free: 6.297 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.3949, allocations: 0 / 1.355 GB, free: 6.297 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.3949, allocations: 8 kB / 1.355 GB, free: 6.289 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.225e-05/0.3949, allocations: 15.98 kB / 1.355 GB, free: 6.273 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001856/0.3951, allocations: 136.8 kB / 1.355 GB, free: 6.098 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001199/0.3952, allocations: 54.55 kB / 1.355 GB, free: 6.035 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.455e-05/0.3953, allocations: 20.86 kB / 1.355 GB, free: 6.012 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005676/0.3958, allocations: 83.91 kB / 1.355 GB, free: 5.93 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.633e-05/0.3959, allocations: 34.5 kB / 1.355 GB, free: 5.887 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.3959, allocations: 0 / 1.355 GB, free: 5.887 MB / 1.045 GB Notification: Performance of matching and sorting (n=11): time 0.001268/0.3971, allocations: 467.7 kB / 1.356 GB, free: 5.375 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.364e-05/0.3972, allocations: 55.41 kB / 1.356 GB, free: 5.309 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.746e-05/0.3973, allocations: 93.86 kB / 1.356 GB, free: 5.207 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.816e-05/0.3973, allocations: 29.7 kB / 1.356 GB, free: 5.172 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.439e-05/0.3973, allocations: 84.12 kB / 1.356 GB, free: 5.086 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.535e-05/0.3974, allocations: 35.66 kB / 1.356 GB, free: 5.051 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.616e-05/0.3974, allocations: 33.7 kB / 1.356 GB, free: 5.012 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.3976, allocations: 318.8 kB / 1.356 GB, free: 4.691 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.56e-05/0.3976, allocations: 19.98 kB / 1.356 GB, free: 4.672 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.188e-05/0.3977, allocations: 24.98 kB / 1.356 GB, free: 4.648 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001/0.3978, allocations: 54.11 kB / 1.356 GB, free: 4.594 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.3978, allocations: 4 kB / 1.356 GB, free: 4.59 MB / 1.045 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001743/0.3979, allocations: 108.3 kB / 1.357 GB, free: 4.48 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.398, allocations: 4.094 kB / 1.357 GB, free: 4.477 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.398, allocations: 7.938 kB / 1.357 GB, free: 4.469 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.398, allocations: 0 / 1.357 GB, free: 4.469 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.3981, allocations: 20 kB / 1.357 GB, free: 4.449 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.3981, allocations: 3.938 kB / 1.357 GB, free: 4.445 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.9e-05/0.3981, allocations: 7.984 kB / 1.357 GB, free: 4.438 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.726e-06/0.3981, allocations: 4 kB / 1.357 GB, free: 4.434 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 9.174e-05/0.3982, allocations: 118.4 kB / 1.357 GB, free: 4.309 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.985e-05/0.3983, allocations: 11.89 kB / 1.357 GB, free: 4.297 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002043/0.3985, allocations: 101.7 kB / 1.357 GB, free: 4.191 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.3985, allocations: 4 kB / 1.357 GB, free: 4.188 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.3985, allocations: 0 / 1.357 GB, free: 4.188 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.3985, allocations: 3.984 kB / 1.357 GB, free: 4.184 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004239/0.3989, allocations: 329.7 kB / 1.357 GB, free: 3.812 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.3989, allocations: 0 / 1.357 GB, free: 3.812 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001083/0.399, allocations: 16 kB / 1.357 GB, free: 3.797 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.399, allocations: 4 kB / 1.357 GB, free: 3.793 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.547e-05/0.399, allocations: 4 kB / 1.357 GB, free: 3.789 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.399, allocations: 0 / 1.357 GB, free: 3.789 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.399, allocations: 0 / 1.357 GB, free: 3.789 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002847/0.3993, allocations: 235.3 kB / 1.357 GB, free: 3.543 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 3.085e-05/0.3993, allocations: 11.97 kB / 1.357 GB, free: 3.531 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.492e-05/0.3994, allocations: 0 / 1.357 GB, free: 3.531 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.854e-05/0.3994, allocations: 8 kB / 1.357 GB, free: 3.523 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.125e-05/0.3995, allocations: 3.984 kB / 1.357 GB, free: 3.52 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.3995, allocations: 4 kB / 1.357 GB, free: 3.516 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.423e-05/0.3995, allocations: 83.28 kB / 1.357 GB, free: 3.434 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.3995, allocations: 4.062 kB / 1.357 GB, free: 3.43 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002927/0.3998, allocations: 47.86 kB / 1.358 GB, free: 3.383 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.0007308/0.4005, allocations: 0.7864 MB / 1.358 GB, free: 2.57 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001576/0.4007, allocations: 51.98 kB / 1.358 GB, free: 2.52 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.4007, allocations: 4 kB / 1.358 GB, free: 2.516 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 5.55e-05/0.4008, allocations: 39.92 kB / 1.358 GB, free: 2.477 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002272/0.401, allocations: 13.66 kB / 1.358 GB, free: 2.465 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001377/0.4024, allocations: 1.394 MB / 1.36 GB, free: 0.9883 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002938/0.4027, allocations: 0.6846 MB / 1.36 GB, free: 284 kB / 1.045 GB Notification: Performance of simCode: alias equations: time 4.85e-05/0.4027, allocations: 15.86 kB / 1.36 GB, free: 268 kB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.219e-05/0.4027, allocations: 27.42 kB / 1.36 GB, free: 240 kB / 1.045 GB Notification: Performance of SimCode: time 5.01e-07/0.4027, allocations: 0 / 1.36 GB, free: 240 kB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02968/0.4324, allocations: 2.628 MB / 1.363 GB, free: 13.75 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.69/11.13, allocations: 12.83 kB / 1.363 GB, free: 13.74 MB / 1.061 GB " [Timeout remaining time 289] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.csv --start-time -1 --stop-time 1 --timeout 800 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0008 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.csv","/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] "Error: Could not read variable x in file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.csv. Warning: Get data of variable x from file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.csv failed! Error: Could not read variable y in file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.csv. Warning: Get data of variable y from file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.csv failed! Error: Could not read variable der(x) in file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.csv. Warning: Get data of variable der(x) from file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.csv failed! Error: Could not read variable der(y) in file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.csv. Warning: Get data of variable der(y) from file Buildings_latest_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.357486011999754]