Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 112.9 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 189.9 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.303/1.303, allocations: 225.6 MB / 249.3 MB, free: 3.059 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.522/2.522, allocations: 476.7 MB / 0.7628 GB, free: 15.18 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="Buildings_11_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_11_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001868/0.001868, allocations: 63.89 kB / 1.107 GB, free: 5.133 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7326/0.7344, allocations: 168.7 MB / 1.271 GB, free: 7.707 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001436/0.7359, allocations: 0.6336 MB / 1.272 GB, free: 7.348 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0005597/0.7364, allocations: 356.9 kB / 1.272 GB, free: 7.117 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.447e-05/0.7365, allocations: 0.75 kB / 1.272 GB, free: 7.117 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.116e-05/0.7365, allocations: 3.938 kB / 1.272 GB, free: 7.113 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 2.822e-05/0.7365, allocations: 3.938 kB / 1.272 GB, free: 7.109 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004071/0.7369, allocations: 123.5 kB / 1.273 GB, free: 7.062 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.502e-05/0.737, allocations: 23.05 kB / 1.273 GB, free: 7.055 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.418e-05/0.737, allocations: 2.938 kB / 1.273 GB, free: 7.055 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.534e-05/0.737, allocations: 10.38 kB / 1.273 GB, free: 7.051 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.958e-05/0.7371, allocations: 19.25 kB / 1.273 GB, free: 7.039 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.296e-05/0.7371, allocations: 2.125 kB / 1.273 GB, free: 7.039 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003876/0.7375, allocations: 274.8 kB / 1.273 GB, free: 6.973 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.137e-05/0.7375, allocations: 5.562 kB / 1.273 GB, free: 6.969 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.325e-05/0.7375, allocations: 9.906 kB / 1.273 GB, free: 6.965 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001599/0.7377, allocations: 109.5 kB / 1.273 GB, free: 6.926 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.7377, allocations: 5.875 kB / 1.273 GB, free: 6.922 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.282e-06/0.7377, allocations: 0.7812 kB / 1.273 GB, free: 6.922 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.056e-06/0.7377, allocations: 0 / 1.273 GB, free: 6.922 MB / 0.9981 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.0003037/0.738, allocations: 353.3 kB / 1.273 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.738, allocations: 9.312 kB / 1.273 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.53e-05/0.7381, allocations: 40.22 kB / 1.273 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.398e-05/0.7381, allocations: 7.828 kB / 1.273 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.778e-05/0.7382, allocations: 167.8 kB / 1.274 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.848e-06/0.7382, allocations: 5.875 kB / 1.274 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.791e-05/0.7382, allocations: 7.5 kB / 1.274 GB, free: 6.293 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.42e-05/0.7383, allocations: 55.08 kB / 1.274 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.7383, allocations: 4.844 kB / 1.274 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.316e-06/0.7383, allocations: 0.9062 kB / 1.274 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.7383, allocations: 0.8125 kB / 1.274 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.71e-05/0.7383, allocations: 17.84 kB / 1.274 GB, free: 6.242 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000108/0.7385, allocations: 167.5 kB / 1.274 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.021e-05/0.7385, allocations: 64.75 kB / 1.274 GB, free: 6 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.749e-05/0.7386, allocations: 26.19 kB / 1.274 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005329/0.7391, allocations: 462.9 kB / 1.274 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.621e-05/0.7391, allocations: 33.59 kB / 1.274 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.7391, allocations: 0.75 kB / 1.274 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11): time 0.001028/0.7402, allocations: 0.5961 MB / 1.275 GB, free: 4.941 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.348e-05/0.7402, allocations: 58.52 kB / 1.275 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.349e-05/0.7402, allocations: 96.77 kB / 1.275 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.618e-06/0.7402, allocations: 30.89 kB / 1.275 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.265e-05/0.7402, allocations: 84.58 kB / 1.275 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.749e-05/0.7403, allocations: 40.34 kB / 1.275 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.334e-05/0.7403, allocations: 26.56 kB / 1.275 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.461e-05/0.7403, allocations: 318.9 kB / 1.276 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.674e-05/0.7404, allocations: 17.23 kB / 1.276 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.455e-05/0.7404, allocations: 30.47 kB / 1.276 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.893e-05/0.7405, allocations: 60.67 kB / 1.276 GB, free: 4.238 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.7405, allocations: 0 / 1.276 GB, free: 4.238 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001327/0.7406, allocations: 100.8 kB / 1.276 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.7406, allocations: 5.719 kB / 1.276 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.417e-06/0.7406, allocations: 0 / 1.276 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.7406, allocations: 0.9375 kB / 1.276 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.354e-05/0.7407, allocations: 20.7 kB / 1.276 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.137e-06/0.7407, allocations: 0.9062 kB / 1.276 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.173e-05/0.7408, allocations: 5.062 kB / 1.276 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.7408, allocations: 15.92 kB / 1.276 GB, free: 4.164 MB / 0.9981 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 4.063e-05/0.7408, allocations: 117.5 kB / 1.276 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.531e-05/0.7408, allocations: 6.969 kB / 1.276 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001591/0.741, allocations: 105.9 kB / 1.276 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.741, allocations: 1.531 kB / 1.276 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.741, allocations: 0.75 kB / 1.276 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.741, allocations: 0.7031 kB / 1.276 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002705/0.7413, allocations: 357 kB / 1.276 GB, free: 3.637 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.7413, allocations: 5.172 kB / 1.276 GB, free: 3.633 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.98e-05/0.7414, allocations: 19.72 kB / 1.276 GB, free: 3.633 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.7414, allocations: 0.9062 kB / 1.276 GB, free: 3.633 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.7414, allocations: 1.531 kB / 1.276 GB, free: 3.633 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.7414, allocations: 0.875 kB / 1.276 GB, free: 3.633 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.7414, allocations: 3.938 kB / 1.276 GB, free: 3.629 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001963/0.7416, allocations: 216.2 kB / 1.277 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.081e-05/0.7416, allocations: 88.55 kB / 1.277 GB, free: 3.367 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.276e-05/0.7416, allocations: 5.438 kB / 1.277 GB, free: 3.363 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.705e-05/0.7417, allocations: 6.25 kB / 1.277 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.65e-05/0.7417, allocations: 7.391 kB / 1.277 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/0.7417, allocations: 3.281 kB / 1.277 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 1.63e-05/0.7417, allocations: 82.45 kB / 1.277 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.7417, allocations: 0 / 1.277 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002534/0.742, allocations: 44.08 kB / 1.277 GB, free: 3.273 MB / 0.9981 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.0004219/0.7424, allocations: 0.7963 MB / 1.278 GB, free: 2.562 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001347/0.7426, allocations: 69.41 kB / 1.278 GB, free: 2.539 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.7426, allocations: 0.75 kB / 1.278 GB, free: 2.539 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 4.949e-05/0.7426, allocations: 34.42 kB / 1.278 GB, free: 2.527 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002006/0.7428, allocations: 6.438 kB / 1.278 GB, free: 2.527 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001242/0.7441, allocations: 1.403 MB / 1.279 GB, free: 17.26 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002965/0.7444, allocations: 0.6898 MB / 1.28 GB, free: 16.56 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.487e-05/0.7444, allocations: 12.2 kB / 1.28 GB, free: 16.55 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.511e-05/0.7444, allocations: 23 kB / 1.28 GB, free: 16.54 MB / 1.014 GB Notification: Performance of SimCode: time 4.21e-07/0.7444, allocations: 0 / 1.28 GB, free: 16.54 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02513/0.7696, allocations: 2.455 MB / 1.282 GB, free: 16.12 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.094/7.863, allocations: 8.734 kB / 1.282 GB, free: 16.12 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.csv. Warning: Get data of variable x from file Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.csv failed! Error: Could not read variable y in file Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.csv. Warning: Get data of variable y from file Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.csv failed! Error: Could not read variable der(x) in file Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.csv. Warning: Get data of variable der(x) from file Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.csv failed! Error: Could not read variable der(y) in file Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.csv. Warning: Get data of variable der(y) from file Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.268209820002085]