Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.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.001367/0.001367, allocations: 110.4 kB / 17.96 MB, free: 4.039 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.001475/0.001475, allocations: 201.4 kB / 21.22 MB, free: 0.793 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.527/1.527, allocations: 225.6 MB / 249.9 MB, free: 13.32 MB / 206.1 MB " [Timeout remaining time 178] 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.982/2.982, allocations: 476.7 MB / 0.7635 GB, free: 10.12 MB / 0.6231 GB " [Timeout remaining time 176] 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.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001999/0.001999, allocations: 71.89 kB / 1.108 GB, free: 7.266 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.924/0.926, allocations: 168.7 MB / 1.272 GB, free: 4.418 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.001911/0.9279, allocations: 0.5304 MB / 1.273 GB, free: 3.895 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0005655/0.9285, allocations: 195.4 kB / 1.273 GB, free: 3.703 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.074e-05/0.9285, allocations: 3.938 kB / 1.273 GB, free: 3.699 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.064e-05/0.9285, allocations: 0 / 1.273 GB, free: 3.699 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.735e-05/0.9285, allocations: 3.938 kB / 1.273 GB, free: 3.695 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004458/0.929, allocations: 71.78 kB / 1.273 GB, free: 3.625 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 5.669e-05/0.929, allocations: 4 kB / 1.273 GB, free: 3.621 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.789e-05/0.9291, allocations: 11.98 kB / 1.273 GB, free: 3.609 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.966e-05/0.9291, allocations: 4 kB / 1.273 GB, free: 3.605 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 2.685e-05/0.9291, allocations: 7.938 kB / 1.273 GB, free: 3.598 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.245e-05/0.9292, allocations: 0 / 1.273 GB, free: 3.598 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002629/0.9294, allocations: 139.8 kB / 1.273 GB, free: 3.461 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.375e-05/0.9295, allocations: 7.984 kB / 1.273 GB, free: 3.453 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.419e-05/0.9295, allocations: 11.92 kB / 1.273 GB, free: 3.441 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001842/0.9297, allocations: 69.61 kB / 1.273 GB, free: 3.375 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.9297, allocations: 0 / 1.273 GB, free: 3.375 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.573e-06/0.9297, allocations: 0 / 1.273 GB, free: 3.375 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.067e-06/0.9297, allocations: 3.984 kB / 1.273 GB, free: 3.371 MB / 0.9669 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.0004345/0.9301, allocations: 343.4 kB / 1.274 GB, free: 2.984 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.9302, allocations: 12.03 kB / 1.274 GB, free: 2.973 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.887e-05/0.9302, allocations: 34.75 kB / 1.274 GB, free: 2.93 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.266e-05/0.9302, allocations: 0.9375 kB / 1.274 GB, free: 2.93 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001504/0.9304, allocations: 172.3 kB / 1.274 GB, free: 2.723 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.9304, allocations: 384 / 1.274 GB, free: 2.723 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.11e-05/0.9304, allocations: 384 / 1.274 GB, free: 2.723 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001173/0.9305, allocations: 50.12 kB / 1.274 GB, free: 2.668 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.9305, allocations: 7.938 kB / 1.274 GB, free: 2.66 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.155e-06/0.9306, allocations: 0 / 1.274 GB, free: 2.66 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/0.9306, allocations: 4 kB / 1.274 GB, free: 2.656 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.212e-05/0.9306, allocations: 11.98 kB / 1.274 GB, free: 2.645 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002129/0.9308, allocations: 157.7 kB / 1.274 GB, free: 2.441 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 6.184e-05/0.9309, allocations: 18.64 kB / 1.274 GB, free: 2.414 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.475e-05/0.9309, allocations: 16.86 kB / 1.274 GB, free: 2.395 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.32e-05/0.9309, allocations: 7.984 kB / 1.274 GB, free: 2.387 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.968e-05/0.931, allocations: 38.5 kB / 1.274 GB, free: 2.34 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.931, allocations: 0 / 1.274 GB, free: 2.34 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0006241/0.9316, allocations: 302.2 kB / 1.275 GB, free: 1.992 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.942e-05/0.9316, allocations: 51.41 kB / 1.275 GB, free: 1.93 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.968e-05/0.9317, allocations: 113.8 kB / 1.275 GB, free: 1.809 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.9318, allocations: 29.92 kB / 1.275 GB, free: 1.773 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.878e-05/0.9318, allocations: 84.14 kB / 1.275 GB, free: 1.688 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.643e-05/0.9318, allocations: 11.91 kB / 1.275 GB, free: 1.676 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.469e-05/0.9319, allocations: 13.72 kB / 1.275 GB, free: 1.656 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.932, allocations: 322.8 kB / 1.275 GB, free: 1.332 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.412e-05/0.932, allocations: 8 kB / 1.275 GB, free: 1.324 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.99e-05/0.9321, allocations: 33.64 kB / 1.275 GB, free: 1.285 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.635e-05/0.9321, allocations: 45.64 kB / 1.275 GB, free: 1.234 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.9321, allocations: 0 / 1.275 GB, free: 1.234 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001071/0.9323, allocations: 61.69 kB / 1.275 GB, free: 1.168 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.9323, allocations: 9.656 kB / 1.275 GB, free: 1.16 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.9323, allocations: 4 kB / 1.275 GB, free: 1.156 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.9323, allocations: 0 / 1.275 GB, free: 1.156 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.072e-05/0.9324, allocations: 11.92 kB / 1.275 GB, free: 1.145 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.9324, allocations: 4 kB / 1.275 GB, free: 1.141 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.535e-05/0.9324, allocations: 4.062 kB / 1.275 GB, free: 1.137 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.732e-06/0.9324, allocations: 0 / 1.275 GB, free: 1.137 MB / 0.9669 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.439e-05/0.9325, allocations: 117.8 kB / 1.275 GB, free: 1.012 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.443e-05/0.9325, allocations: 7.891 kB / 1.275 GB, free: 1.004 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001603/0.9327, allocations: 69.58 kB / 1.275 GB, free: 0.9258 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.9327, allocations: 3.938 kB / 1.275 GB, free: 0.9219 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.9327, allocations: 0 / 1.275 GB, free: 0.9219 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.9327, allocations: 0 / 1.275 GB, free: 0.9219 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001524/0.9328, allocations: 169.6 kB / 1.276 GB, free: 0.707 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.9328, allocations: 4 kB / 1.276 GB, free: 0.7031 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.096e-05/0.9329, allocations: 7.938 kB / 1.276 GB, free: 0.6953 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.9329, allocations: 7.938 kB / 1.276 GB, free: 0.6875 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.9329, allocations: 4 kB / 1.276 GB, free: 0.6836 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.9329, allocations: 0 / 1.276 GB, free: 0.6836 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.9329, allocations: 0 / 1.276 GB, free: 0.6836 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001717/0.9331, allocations: 105.1 kB / 1.276 GB, free: 0.5625 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.559e-05/0.9331, allocations: 85 kB / 1.276 GB, free: 472 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.56e-05/0.9331, allocations: 8.062 kB / 1.276 GB, free: 464 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.106e-05/0.9332, allocations: 0 / 1.276 GB, free: 464 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.706e-05/0.9332, allocations: 4.031 kB / 1.276 GB, free: 460 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.518e-06/0.9332, allocations: 0 / 1.276 GB, free: 460 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.752e-05/0.9332, allocations: 87.27 kB / 1.276 GB, free: 372 kB / 0.9669 GB Notification: Performance of sort global known variables: time 8.1e-08/0.9332, allocations: 0 / 1.276 GB, free: 372 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002273/0.9335, allocations: 20 kB / 1.276 GB, free: 352 kB / 0.9669 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.0007394/0.9342, allocations: 0.6636 MB / 1.277 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001526/0.9344, allocations: 31.98 kB / 1.277 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.9344, allocations: 0 / 1.277 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.707e-05/0.9344, allocations: 15.92 kB / 1.277 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002284/0.9346, allocations: 4.375 kB / 1.277 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001533/0.9362, allocations: 1.268 MB / 1.278 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000314/0.9365, allocations: 0.6768 MB / 1.279 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.207e-05/0.9365, allocations: 4 kB / 1.279 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.046e-05/0.9366, allocations: 19.42 kB / 1.279 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of SimCode: time 6.31e-07/0.9366, allocations: 0 / 1.279 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07765/1.014, allocations: 1.846 MB / 1.28 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.271/9.285, allocations: 9.891 kB / 1.28 GB, free: 11.75 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.csv --start-time 0 --stop-time 4 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 Buildings_11_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck.fmu > Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable x in file Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.csv. Warning: Get data of variable x from file Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.csv failed! Error: Could not read variable der(x) in file Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.csv. Warning: Get data of variable der(x) from file Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.csv failed! Error: Could not read variable der(y) in file Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.csv. Warning: Get data of variable der(y) from file Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.887826301972382]