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.00173/0.00173, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002232/0.002232, allocations: 207.6 kB / 22.24 MB, free: 5.262 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.549/1.549, allocations: 230.6 MB / 256 MB, free: 7.785 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.349/3.349, allocations: 0.5107 GB / 0.8158 GB, free: 17.83 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.002125/0.002125, allocations: 62.66 kB / 1.186 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4291/0.4313, allocations: 181.9 MB / 1.363 GB, free: 14.07 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001935/0.4332, allocations: 0.5992 MB / 1.364 GB, free: 13.47 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0007916/0.434, allocations: 307.3 kB / 1.364 GB, free: 13.17 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.346e-05/0.434, allocations: 0 / 1.364 GB, free: 13.17 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.985e-05/0.434, allocations: 3.938 kB / 1.364 GB, free: 13.17 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 1.924e-05/0.4341, allocations: 4 kB / 1.364 GB, free: 13.16 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005345/0.4346, allocations: 118.2 kB / 1.364 GB, free: 13.05 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 5.609e-05/0.4346, allocations: 11.98 kB / 1.364 GB, free: 13.04 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.276e-05/0.4347, allocations: 0 / 1.364 GB, free: 13.04 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.204e-05/0.4347, allocations: 7.938 kB / 1.364 GB, free: 13.03 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.639e-05/0.4348, allocations: 0 / 1.364 GB, free: 13.03 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.562e-05/0.4348, allocations: 3.984 kB / 1.364 GB, free: 13.03 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004033/0.4352, allocations: 263.6 kB / 1.365 GB, free: 12.77 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.27e-05/0.4352, allocations: 4 kB / 1.365 GB, free: 12.77 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.721e-05/0.4352, allocations: 11.94 kB / 1.365 GB, free: 12.75 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002007/0.4354, allocations: 88.02 kB / 1.365 GB, free: 12.67 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.815e-06/0.4354, allocations: 3.984 kB / 1.365 GB, free: 12.66 MB / 1.061 GB Notification: Performance of FrontEnd: time 3.366e-06/0.4354, allocations: 4 kB / 1.365 GB, free: 12.66 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.563e-06/0.4354, allocations: 0 / 1.365 GB, free: 12.66 MB / 1.061 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.0003937/0.4358, allocations: 262.2 kB / 1.365 GB, free: 12.37 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.4359, allocations: 8.031 kB / 1.365 GB, free: 12.36 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.199e-05/0.4359, allocations: 30.75 kB / 1.365 GB, free: 12.32 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.236e-05/0.436, allocations: 4.938 kB / 1.365 GB, free: 12.32 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.4361, allocations: 114.5 kB / 1.365 GB, free: 12.18 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.4361, allocations: 384 / 1.365 GB, free: 12.18 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.304e-05/0.4361, allocations: 4.375 kB / 1.365 GB, free: 12.18 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000126/0.4363, allocations: 67.89 kB / 1.365 GB, free: 12.1 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.4363, allocations: 7.875 kB / 1.365 GB, free: 12.09 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.4363, allocations: 3.984 kB / 1.365 GB, free: 12.09 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.4363, allocations: 0 / 1.365 GB, free: 12.09 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.303e-05/0.4363, allocations: 4 kB / 1.365 GB, free: 12.09 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001662/0.4365, allocations: 124.8 kB / 1.365 GB, free: 11.92 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 5.498e-05/0.4365, allocations: 18.58 kB / 1.365 GB, free: 11.89 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.883e-05/0.4365, allocations: 8.859 kB / 1.365 GB, free: 11.88 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000555/0.4371, allocations: 75.98 kB / 1.366 GB, free: 11.81 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.338e-05/0.4371, allocations: 38.48 kB / 1.366 GB, free: 11.76 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.4371, allocations: 4 kB / 1.366 GB, free: 11.76 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0005033/0.4376, allocations: 181.2 kB / 1.366 GB, free: 11.55 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.095e-05/0.4377, allocations: 51.41 kB / 1.366 GB, free: 11.48 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.526e-05/0.4378, allocations: 93.86 kB / 1.366 GB, free: 11.38 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/0.4378, allocations: 25.7 kB / 1.366 GB, free: 11.35 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.235e-05/0.4378, allocations: 84.14 kB / 1.366 GB, free: 11.27 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.381e-05/0.4378, allocations: 7.906 kB / 1.366 GB, free: 11.26 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.393e-05/0.4379, allocations: 21.7 kB / 1.366 GB, free: 11.23 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001707/0.4381, allocations: 319.2 kB / 1.366 GB, free: 10.91 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.895e-05/0.4381, allocations: 11.94 kB / 1.366 GB, free: 10.9 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.28e-05/0.4381, allocations: 21.7 kB / 1.366 GB, free: 10.87 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.322e-05/0.4382, allocations: 25.66 kB / 1.366 GB, free: 10.84 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.4382, allocations: 4 kB / 1.366 GB, free: 10.84 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001379/0.4383, allocations: 45.7 kB / 1.366 GB, free: 10.79 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.4383, allocations: 11.92 kB / 1.366 GB, free: 10.77 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.4383, allocations: 0 / 1.366 GB, free: 10.77 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.4383, allocations: 0 / 1.366 GB, free: 10.77 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.515e-05/0.4384, allocations: 16 kB / 1.366 GB, free: 10.76 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.4384, allocations: 3.984 kB / 1.366 GB, free: 10.75 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.078e-05/0.4384, allocations: 4 kB / 1.366 GB, free: 10.75 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.4384, allocations: 4 kB / 1.366 GB, free: 10.75 MB / 1.061 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 9.144e-05/0.4385, allocations: 110.5 kB / 1.367 GB, free: 10.63 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.593e-05/0.4386, allocations: 7.938 kB / 1.367 GB, free: 10.62 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001444/0.4387, allocations: 53.36 kB / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.4387, allocations: 0 / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.4387, allocations: 7.938 kB / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.4387, allocations: 0 / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001094/0.4388, allocations: 120.8 kB / 1.367 GB, free: 10.39 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.4388, allocations: 7.922 kB / 1.367 GB, free: 10.38 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.976e-05/0.4389, allocations: 4 kB / 1.367 GB, free: 10.38 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/0.4389, allocations: 7.938 kB / 1.367 GB, free: 10.37 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.4389, allocations: 0 / 1.367 GB, free: 10.37 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.4389, allocations: 0 / 1.367 GB, free: 10.37 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.72e-07/0.4389, allocations: 0 / 1.367 GB, free: 10.37 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001645/0.439, allocations: 77.08 kB / 1.367 GB, free: 10.27 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 7.223e-06/0.4391, allocations: 8.203 kB / 1.367 GB, free: 10.27 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.433e-05/0.4391, allocations: 8.047 kB / 1.367 GB, free: 10.26 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.478e-05/0.4391, allocations: 0 / 1.367 GB, free: 10.26 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.688e-05/0.4391, allocations: 7.984 kB / 1.367 GB, free: 10.25 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.564e-06/0.4391, allocations: 4 kB / 1.367 GB, free: 10.25 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.337e-05/0.4392, allocations: 75.28 kB / 1.367 GB, free: 10.17 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.4392, allocations: 4 kB / 1.367 GB, free: 10.17 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002124/0.4394, allocations: 23.92 kB / 1.367 GB, free: 10.14 MB / 1.061 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.000555/0.4399, allocations: 0.6397 MB / 1.368 GB, free: 9.473 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 9.7e-05/0.44, allocations: 28.09 kB / 1.368 GB, free: 9.445 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.44, allocations: 0 / 1.368 GB, free: 9.445 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.7e-05/0.4401, allocations: 7.984 kB / 1.368 GB, free: 9.438 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001466/0.4402, allocations: 9.875 kB / 1.368 GB, free: 9.43 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001071/0.4413, allocations: 1.131 MB / 1.369 GB, free: 8.211 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.734e-05/0.4413, allocations: 63.34 kB / 1.369 GB, free: 8.129 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.679e-05/0.4414, allocations: 0 / 1.369 GB, free: 8.129 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.38e-05/0.4414, allocations: 19.56 kB / 1.369 GB, free: 8.109 MB / 1.061 GB Notification: Performance of SimCode: time 3.1e-07/0.4414, allocations: 0 / 1.369 GB, free: 8.109 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03312/0.4745, allocations: 2.237 MB / 1.371 GB, free: 6.016 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.6, allocations: 15.25 kB / 1.371 GB, free: 6.004 MB / 1.061 GB " [Timeout remaining time 288] (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: 19.00114260101691]