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.001999/0.001999, allocations: 111 kB / 16.46 MB, free: 6.453 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.002348/0.002348, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.59/1.59, allocations: 230.6 MB / 252.8 MB, free: 8.973 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.383/3.383, allocations: 0.505 GB / 0.8066 GB, free: 23.25 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.002083/0.002083, allocations: 67.12 kB / 1.172 GB, free: 17.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4161/0.4182, allocations: 180.2 MB / 1.348 GB, free: 10.08 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001878/0.42, allocations: 0.6166 MB / 1.348 GB, free: 9.465 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0007332/0.4208, allocations: 351.1 kB / 1.349 GB, free: 9.121 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.241e-05/0.4208, allocations: 4 kB / 1.349 GB, free: 9.117 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.043e-05/0.4208, allocations: 7.938 kB / 1.349 GB, free: 9.109 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 2.947e-05/0.4208, allocations: 0 / 1.349 GB, free: 9.109 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004953/0.4213, allocations: 119.6 kB / 1.349 GB, free: 8.992 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 6.755e-05/0.4214, allocations: 19.98 kB / 1.349 GB, free: 8.973 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.079e-05/0.4215, allocations: 3.984 kB / 1.349 GB, free: 8.969 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 5.23e-05/0.4215, allocations: 15.94 kB / 1.349 GB, free: 8.953 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.153e-05/0.4216, allocations: 15.91 kB / 1.349 GB, free: 8.938 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.381e-05/0.4216, allocations: 4 kB / 1.349 GB, free: 8.934 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004051/0.422, allocations: 275.7 kB / 1.349 GB, free: 8.664 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.926e-05/0.422, allocations: 11.98 kB / 1.349 GB, free: 8.652 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.147e-05/0.422, allocations: 11.94 kB / 1.349 GB, free: 8.641 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002007/0.4222, allocations: 99.92 kB / 1.349 GB, free: 8.543 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.4222, allocations: 4 kB / 1.349 GB, free: 8.539 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.323e-06/0.4222, allocations: 0 / 1.349 GB, free: 8.539 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.4222, allocations: 0 / 1.349 GB, free: 8.539 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.0005103/0.4228, allocations: 367.1 kB / 1.35 GB, free: 8.129 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.4228, allocations: 15.98 kB / 1.35 GB, free: 8.113 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.786e-05/0.4229, allocations: 42.67 kB / 1.35 GB, free: 8.062 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.357e-05/0.4229, allocations: 12.88 kB / 1.35 GB, free: 8.051 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000149/0.4231, allocations: 164.3 kB / 1.35 GB, free: 7.852 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.4231, allocations: 4.375 kB / 1.35 GB, free: 7.848 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.276e-05/0.4231, allocations: 4.375 kB / 1.35 GB, free: 7.844 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001288/0.4232, allocations: 46.25 kB / 1.35 GB, free: 7.793 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.4233, allocations: 3.938 kB / 1.35 GB, free: 7.789 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.4233, allocations: 4 kB / 1.35 GB, free: 7.785 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.4233, allocations: 4 kB / 1.35 GB, free: 7.781 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.553e-05/0.4233, allocations: 19.98 kB / 1.35 GB, free: 7.762 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002154/0.4235, allocations: 165.6 kB / 1.35 GB, free: 7.551 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001234/0.4237, allocations: 58.5 kB / 1.35 GB, free: 7.484 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.717e-05/0.4237, allocations: 28.84 kB / 1.35 GB, free: 7.453 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007818/0.4245, allocations: 457.5 kB / 1.351 GB, free: 6.914 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.662e-05/0.4245, allocations: 34.56 kB / 1.351 GB, free: 6.871 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.4245, allocations: 0 / 1.351 GB, free: 6.871 MB / 1.045 GB Notification: Performance of matching and sorting (n=11): time 0.001396/0.4259, allocations: 0.5957 MB / 1.351 GB, free: 6.184 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.728e-05/0.426, allocations: 59.39 kB / 1.351 GB, free: 6.113 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.114e-05/0.4261, allocations: 97.86 kB / 1.351 GB, free: 6.008 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/0.4261, allocations: 25.7 kB / 1.351 GB, free: 5.977 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.791e-05/0.4261, allocations: 84.08 kB / 1.352 GB, free: 5.891 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.915e-05/0.4262, allocations: 47.58 kB / 1.352 GB, free: 5.844 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.911e-05/0.4262, allocations: 33.7 kB / 1.352 GB, free: 5.805 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001539/0.4264, allocations: 314.8 kB / 1.352 GB, free: 5.488 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.08e-05/0.4265, allocations: 23.98 kB / 1.352 GB, free: 5.465 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.127e-05/0.4265, allocations: 18.5 kB / 1.352 GB, free: 5.449 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001062/0.4266, allocations: 56.84 kB / 1.352 GB, free: 5.391 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.4266, allocations: 0 / 1.352 GB, free: 5.391 MB / 1.045 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001808/0.4268, allocations: 97.62 kB / 1.352 GB, free: 5.289 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.4268, allocations: 4 kB / 1.352 GB, free: 5.285 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.4268, allocations: 4 kB / 1.352 GB, free: 5.281 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.4268, allocations: 4 kB / 1.352 GB, free: 5.277 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.4269, allocations: 31.92 kB / 1.352 GB, free: 5.246 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.427, allocations: 0 / 1.352 GB, free: 5.246 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.314e-05/0.427, allocations: 3.938 kB / 1.352 GB, free: 5.242 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.357e-06/0.427, allocations: 4.188 kB / 1.352 GB, free: 5.238 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.0001102/0.4271, allocations: 109.8 kB / 1.352 GB, free: 5.121 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.987e-05/0.4271, allocations: 11.89 kB / 1.352 GB, free: 5.109 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002372/0.4274, allocations: 117.6 kB / 1.352 GB, free: 4.98 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.4274, allocations: 0 / 1.352 GB, free: 4.98 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.4274, allocations: 4 kB / 1.352 GB, free: 4.977 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.4274, allocations: 0 / 1.352 GB, free: 4.977 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004913/0.4279, allocations: 354.5 kB / 1.353 GB, free: 4.574 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.4279, allocations: 96 / 1.353 GB, free: 4.574 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001115/0.428, allocations: 31.86 kB / 1.353 GB, free: 4.543 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.428, allocations: 4 kB / 1.353 GB, free: 4.539 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.428, allocations: 0 / 1.353 GB, free: 4.539 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.428, allocations: 0 / 1.353 GB, free: 4.539 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.428, allocations: 0 / 1.353 GB, free: 4.539 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003214/0.4283, allocations: 229.6 kB / 1.353 GB, free: 4.301 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 6.523e-05/0.4284, allocations: 89.08 kB / 1.353 GB, free: 4.195 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.716e-05/0.4284, allocations: 4 kB / 1.353 GB, free: 4.191 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.63e-05/0.4285, allocations: 0 / 1.353 GB, free: 4.191 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.167e-05/0.4285, allocations: 7.984 kB / 1.353 GB, free: 4.184 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.057e-05/0.4285, allocations: 8 kB / 1.353 GB, free: 4.176 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.885e-05/0.4286, allocations: 83.22 kB / 1.353 GB, free: 4.094 MB / 1.045 GB Notification: Performance of sort global known variables: time 6e-08/0.4286, allocations: 0 / 1.353 GB, free: 4.094 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002949/0.4288, allocations: 47.94 kB / 1.353 GB, free: 4.047 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.0007597/0.4296, allocations: 0.7865 MB / 1.354 GB, free: 3.234 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.000164/0.4298, allocations: 55.91 kB / 1.354 GB, free: 3.18 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4298, allocations: 0 / 1.354 GB, free: 3.18 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 5.437e-05/0.4298, allocations: 31.94 kB / 1.354 GB, free: 3.148 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002268/0.4301, allocations: 16.05 kB / 1.354 GB, free: 3.133 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001477/0.4315, allocations: 1.402 MB / 1.355 GB, free: 1.652 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004179/0.432, allocations: 0.6846 MB / 1.356 GB, free: 0.9414 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 4.961e-05/0.432, allocations: 7.984 kB / 1.356 GB, free: 0.9336 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.518e-05/0.432, allocations: 21.88 kB / 1.356 GB, free: 0.9141 MB / 1.045 GB Notification: Performance of SimCode: time 4.71e-07/0.432, allocations: 7.938 kB / 1.356 GB, free: 0.9062 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02979/0.4618, allocations: 2.51 MB / 1.359 GB, free: 14.54 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.029/8.491, allocations: 0 / 1.359 GB, free: 14.54 MB / 1.061 GB " [Timeout remaining time 291] (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: 15.847372924908996]