Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.001394/0.001394, allocations: 104.2 kB / 16.45 MB, free: 6.449 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.001437/0.001437, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.516/1.516, allocations: 230.6 MB / 252.8 MB, free: 9.113 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.385/3.385, allocations: 0.505 GB / 0.8066 GB, free: 23.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.RegNonZeroPowerDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",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.002088/0.002088, allocations: 69.7 kB / 1.172 GB, free: 17.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4317/0.4338, allocations: 180.2 MB / 1.348 GB, free: 9.871 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001909/0.4357, allocations: 0.5975 MB / 1.348 GB, free: 9.277 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0007643/0.4365, allocations: 355.1 kB / 1.349 GB, free: 8.93 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.536e-05/0.4365, allocations: 0 / 1.349 GB, free: 8.93 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 1.742e-05/0.4365, allocations: 0 / 1.349 GB, free: 8.93 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 2.266e-05/0.4365, allocations: 3.938 kB / 1.349 GB, free: 8.926 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.000498/0.437, allocations: 118.3 kB / 1.349 GB, free: 8.812 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 5.712e-05/0.4371, allocations: 7.984 kB / 1.349 GB, free: 8.805 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 5.139e-05/0.4371, allocations: 3.984 kB / 1.349 GB, free: 8.801 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 2.24e-05/0.4372, allocations: 8 kB / 1.349 GB, free: 8.793 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.59e-05/0.4372, allocations: 3.938 kB / 1.349 GB, free: 8.789 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.612e-05/0.4372, allocations: 4 kB / 1.349 GB, free: 8.785 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004317/0.4377, allocations: 275.6 kB / 1.349 GB, free: 8.516 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.21e-05/0.4377, allocations: 4 kB / 1.349 GB, free: 8.512 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 1.909e-05/0.4377, allocations: 4 kB / 1.349 GB, free: 8.508 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002102/0.4379, allocations: 103.9 kB / 1.349 GB, free: 8.406 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.4379, allocations: 4 kB / 1.349 GB, free: 8.402 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.443e-06/0.4379, allocations: 0 / 1.349 GB, free: 8.402 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.802e-06/0.4379, allocations: 0 / 1.349 GB, free: 8.402 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000447/0.4384, allocations: 343.3 kB / 1.35 GB, free: 8.016 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.4384, allocations: 11.98 kB / 1.35 GB, free: 8.004 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.536e-05/0.4385, allocations: 30.75 kB / 1.35 GB, free: 7.965 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.946e-05/0.4385, allocations: 4.938 kB / 1.35 GB, free: 7.961 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001455/0.4387, allocations: 172.3 kB / 1.35 GB, free: 7.754 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.4387, allocations: 384 / 1.35 GB, free: 7.754 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.338e-05/0.4387, allocations: 4.375 kB / 1.35 GB, free: 7.75 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001042/0.4388, allocations: 34.25 kB / 1.35 GB, free: 7.711 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.4388, allocations: 3.938 kB / 1.35 GB, free: 7.707 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.4388, allocations: 4 kB / 1.35 GB, free: 7.703 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.4388, allocations: 3.984 kB / 1.35 GB, free: 7.699 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.256e-05/0.4389, allocations: 3.938 kB / 1.35 GB, free: 7.695 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001983/0.4391, allocations: 153.7 kB / 1.35 GB, free: 7.496 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 5.901e-05/0.4391, allocations: 22.61 kB / 1.35 GB, free: 7.465 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.575e-05/0.4391, allocations: 16.91 kB / 1.35 GB, free: 7.445 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007765/0.4399, allocations: 453.5 kB / 1.35 GB, free: 6.91 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.246e-05/0.44, allocations: 34.56 kB / 1.35 GB, free: 6.867 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.44, allocations: 3.938 kB / 1.35 GB, free: 6.863 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0005657/0.4405, allocations: 254.3 kB / 1.351 GB, free: 6.562 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.942e-05/0.4406, allocations: 55.34 kB / 1.351 GB, free: 6.496 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.899e-05/0.4407, allocations: 102.1 kB / 1.351 GB, free: 6.387 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/0.4407, allocations: 25.7 kB / 1.351 GB, free: 6.355 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.516e-05/0.4407, allocations: 88.08 kB / 1.351 GB, free: 6.266 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.555e-05/0.4407, allocations: 11.91 kB / 1.351 GB, free: 6.254 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.413e-05/0.4408, allocations: 13.72 kB / 1.351 GB, free: 6.234 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.4409, allocations: 318.8 kB / 1.351 GB, free: 5.914 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.833e-05/0.4409, allocations: 4 kB / 1.351 GB, free: 5.91 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.315e-05/0.441, allocations: 21.84 kB / 1.351 GB, free: 5.883 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.264e-05/0.441, allocations: 21.72 kB / 1.351 GB, free: 5.855 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.441, allocations: 0 / 1.351 GB, free: 5.855 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001082/0.4411, allocations: 53.62 kB / 1.351 GB, free: 5.797 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.4412, allocations: 11.94 kB / 1.351 GB, free: 5.785 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.4412, allocations: 0 / 1.351 GB, free: 5.785 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.4412, allocations: 0 / 1.351 GB, free: 5.785 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.352e-05/0.4412, allocations: 12.05 kB / 1.351 GB, free: 5.773 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.4413, allocations: 4 kB / 1.351 GB, free: 5.77 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.864e-05/0.4413, allocations: 0 / 1.351 GB, free: 5.77 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.4413, allocations: 0 / 1.351 GB, free: 5.77 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 8.589e-05/0.4414, allocations: 113.8 kB / 1.352 GB, free: 5.648 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.35e-05/0.4414, allocations: 7.875 kB / 1.352 GB, free: 5.641 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001413/0.4415, allocations: 49.19 kB / 1.352 GB, free: 5.578 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.4415, allocations: 4 kB / 1.352 GB, free: 5.574 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.4415, allocations: 3.984 kB / 1.352 GB, free: 5.57 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.4415, allocations: 4 kB / 1.352 GB, free: 5.566 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001355/0.4417, allocations: 157.7 kB / 1.352 GB, free: 5.363 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.4417, allocations: 0 / 1.352 GB, free: 5.363 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.232e-05/0.4417, allocations: 4 kB / 1.352 GB, free: 5.359 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/0.4417, allocations: 3.938 kB / 1.352 GB, free: 5.355 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-06/0.4417, allocations: 0 / 1.352 GB, free: 5.355 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.4417, allocations: 0 / 1.352 GB, free: 5.355 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.4417, allocations: 0 / 1.352 GB, free: 5.355 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000165/0.4419, allocations: 85.06 kB / 1.352 GB, free: 5.254 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.654e-05/0.442, allocations: 92.98 kB / 1.352 GB, free: 5.145 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.288e-05/0.442, allocations: 3.938 kB / 1.352 GB, free: 5.141 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.605e-05/0.442, allocations: 0 / 1.352 GB, free: 5.141 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.575e-05/0.442, allocations: 4.266 kB / 1.352 GB, free: 5.137 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-06/0.442, allocations: 3.938 kB / 1.352 GB, free: 5.133 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.269e-05/0.4421, allocations: 83.28 kB / 1.352 GB, free: 5.051 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.4421, allocations: 160 / 1.352 GB, free: 5.051 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002144/0.4423, allocations: 27.92 kB / 1.352 GB, free: 5.023 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (3): * Single equations (assignments): 3 * 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.0005976/0.4429, allocations: 0.6436 MB / 1.353 GB, free: 4.348 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001008/0.443, allocations: 15.98 kB / 1.353 GB, free: 4.332 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.443, allocations: 0 / 1.353 GB, free: 4.332 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.788e-05/0.443, allocations: 12.19 kB / 1.353 GB, free: 4.32 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001425/0.4432, allocations: 3.938 kB / 1.353 GB, free: 4.316 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001227/0.4444, allocations: 1.139 MB / 1.354 GB, free: 3.09 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003718/0.4448, allocations: 0.6807 MB / 1.354 GB, free: 2.383 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.905e-05/0.4448, allocations: 0 / 1.354 GB, free: 2.383 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.961e-05/0.4448, allocations: 15.44 kB / 1.355 GB, free: 2.371 MB / 1.045 GB Notification: Performance of SimCode: time 3.11e-07/0.4448, allocations: 4 kB / 1.355 GB, free: 2.367 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03009/0.4749, allocations: 1.748 MB / 1.356 GB, free: 0.7578 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.199/8.674, allocations: 5.812 kB / 1.356 GB, free: 0.7539 MB / 1.045 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_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_RegNonZeroPowerDerivativeCheck.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.RegNonZeroPowerDerivativeCheck_res.csv. Warning: Get data of variable x from file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.csv failed! Error: Could not read variable der(x) in file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.csv. Warning: Get data of variable der(x) from file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.csv failed! Error: Could not read variable der(y) in file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.csv. Warning: Get data of variable der(y) from file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.865171618992463]