Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.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.001134/0.001134, allocations: 80.55 kB / 19.96 MB, free: 4.602 MB / 18.57 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.001184/0.001184, allocations: 173.2 kB / 23.24 MB, free: 1.324 MB / 18.57 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.046/1.046, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 2.123/2.123, allocations: 389.6 MB / 0.6343 GB, free: 12.58 MB / 0.6042 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,fileNamePrefix="Buildings_13_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,fileNamePrefix="Buildings_13_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.655e-06/2.655e-06, allocations: 0 / 1.001 GB, free: 13.57 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.448e-05/2.713e-05, allocations: 14.16 kB / 1.001 GB, free: 13.56 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.001992/0.002019, allocations: 0.5207 MB / 1.001 GB, free: 13.04 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.00056/0.002579, allocations: 175.4 kB / 1.001 GB, free: 12.87 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.802e-05/0.002607, allocations: 0 / 1.001 GB, free: 12.87 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.993e-05/0.002637, allocations: 7.938 kB / 1.001 GB, free: 12.86 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.457e-05/0.002682, allocations: 3.938 kB / 1.001 GB, free: 12.86 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005517/0.003234, allocations: 71.75 kB / 1.001 GB, free: 12.79 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6.926e-05/0.003303, allocations: 8 kB / 1.001 GB, free: 12.78 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 5.031e-05/0.003353, allocations: 7.984 kB / 1.001 GB, free: 12.77 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 4.103e-05/0.003394, allocations: 7.938 kB / 1.001 GB, free: 12.76 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.343e-05/0.003438, allocations: 3.984 kB / 1.001 GB, free: 12.76 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.624e-05/0.003454, allocations: 0 / 1.001 GB, free: 12.76 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003176/0.003772, allocations: 159.6 kB / 1.002 GB, free: 12.6 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 5.106e-05/0.003823, allocations: 4 kB / 1.002 GB, free: 12.6 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.804e-05/0.003851, allocations: 15.91 kB / 1.002 GB, free: 12.58 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002148/0.004065, allocations: 79.81 kB / 1.002 GB, free: 12.5 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.004069, allocations: 0 / 1.002 GB, free: 12.5 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.783e-06/0.004071, allocations: 4 kB / 1.002 GB, free: 12.5 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.004075, allocations: 0 / 1.002 GB, free: 12.5 MB / 0.9636 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.0003695/0.004445, allocations: 262.2 kB / 1.002 GB, free: 12.21 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/0.004493, allocations: 13.34 kB / 1.002 GB, free: 12.2 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.491e-05/0.004537, allocations: 34.75 kB / 1.002 GB, free: 12.16 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.098e-05/0.004568, allocations: 4.891 kB / 1.002 GB, free: 12.15 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001049/0.004673, allocations: 117.7 kB / 1.002 GB, free: 12.01 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.004687, allocations: 384 / 1.002 GB, free: 12.01 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.225e-05/0.004709, allocations: 384 / 1.002 GB, free: 12.01 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001277/0.004837, allocations: 59.97 kB / 1.002 GB, free: 11.94 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.004849, allocations: 8.172 kB / 1.002 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.004862, allocations: 8.375 kB / 1.002 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/0.004868, allocations: 4.125 kB / 1.002 GB, free: 11.92 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.359e-05/0.004902, allocations: 15.88 kB / 1.002 GB, free: 11.91 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001725/0.005074, allocations: 128.8 kB / 1.002 GB, free: 11.74 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 6.696e-05/0.005141, allocations: 22.58 kB / 1.002 GB, free: 11.71 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.659e-05/0.005168, allocations: 12.91 kB / 1.002 GB, free: 11.69 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 4.076e-05/0.005209, allocations: 4 kB / 1.002 GB, free: 11.69 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.961e-05/0.005238, allocations: 34.55 kB / 1.002 GB, free: 11.64 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 1.533e-06/0.00524, allocations: 4 kB / 1.002 GB, free: 11.64 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3): time 0.0005951/0.005835, allocations: 233.1 kB / 1.003 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.843e-05/0.005863, allocations: 59.34 kB / 1.003 GB, free: 11.31 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.401e-05/0.005927, allocations: 105.8 kB / 1.003 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.317e-06/0.005937, allocations: 25.7 kB / 1.003 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.043e-05/0.005967, allocations: 88.14 kB / 1.003 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.994e-05/0.005987, allocations: 3.953 kB / 1.003 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.15e-05/0.006018, allocations: 21.7 kB / 1.003 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.104e-05/0.006089, allocations: 318.8 kB / 1.003 GB, free: 10.72 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.867e-05/0.006108, allocations: 16.14 kB / 1.003 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.508e-05/0.006133, allocations: 25.72 kB / 1.003 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.877e-05/0.006182, allocations: 41.7 kB / 1.003 GB, free: 10.63 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.006183, allocations: 0 / 1.003 GB, free: 10.63 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.217e-05/0.006255, allocations: 73.58 kB / 1.003 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.006269, allocations: 8 kB / 1.003 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.006274, allocations: 0 / 1.003 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.006288, allocations: 3.938 kB / 1.003 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.584e-05/0.006344, allocations: 11.98 kB / 1.003 GB, free: 10.53 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.00635, allocations: 4.062 kB / 1.003 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.578e-06/0.006359, allocations: 0 / 1.003 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.006365, allocations: 0 / 1.003 GB, free: 10.52 MB / 0.9636 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 5.579e-05/0.00642, allocations: 117.8 kB / 1.003 GB, free: 10.4 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.942e-06/0.006426, allocations: 4 kB / 1.003 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001047/0.006531, allocations: 69.67 kB / 1.004 GB, free: 10.31 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.006534, allocations: 3.938 kB / 1.004 GB, free: 10.31 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.006538, allocations: 0 / 1.004 GB, free: 10.31 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.006541, allocations: 0 / 1.004 GB, free: 10.31 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.958e-05/0.006621, allocations: 136.8 kB / 1.004 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.006623, allocations: 11.92 kB / 1.004 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.565e-05/0.006658, allocations: 4 kB / 1.004 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.00666, allocations: 0 / 1.004 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.689e-06/0.006665, allocations: 0 / 1.004 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.006666, allocations: 3.938 kB / 1.004 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.006668, allocations: 4 kB / 1.004 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001082/0.006776, allocations: 105 kB / 1.004 GB, free: 9.988 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 5.28e-06/0.006781, allocations: 4.031 kB / 1.004 GB, free: 9.984 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.046e-05/0.006792, allocations: 3.984 kB / 1.004 GB, free: 9.98 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.175e-05/0.006824, allocations: 3.938 kB / 1.004 GB, free: 9.977 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.196e-05/0.006836, allocations: 4.062 kB / 1.004 GB, free: 9.973 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-06/0.006839, allocations: 4 kB / 1.004 GB, free: 9.969 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.19e-05/0.006871, allocations: 91.27 kB / 1.004 GB, free: 9.879 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.006871, allocations: 0 / 1.004 GB, free: 9.879 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001553/0.007026, allocations: 19.94 kB / 1.004 GB, free: 9.859 MB / 0.9636 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.0003429/0.007369, allocations: 0.6673 MB / 1.005 GB, free: 9.164 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 7.434e-05/0.007443, allocations: 23.98 kB / 1.005 GB, free: 9.141 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.007445, allocations: 0 / 1.005 GB, free: 9.141 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 1.563e-05/0.007461, allocations: 23.92 kB / 1.005 GB, free: 9.117 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001132/0.007574, allocations: 12.12 kB / 1.005 GB, free: 9.105 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000893/0.008467, allocations: 1.252 MB / 1.006 GB, free: 7.762 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.106e-05/0.008508, allocations: 67.28 kB / 1.006 GB, free: 7.676 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.17e-05/0.00853, allocations: 8 kB / 1.006 GB, free: 7.668 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.798e-05/0.008558, allocations: 16.48 kB / 1.006 GB, free: 7.652 MB / 0.9636 GB Notification: Performance of SimCode: time 5.91e-07/0.008558, allocations: 0 / 1.006 GB, free: 7.652 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07576/0.08432, allocations: 2.51 MB / 1.008 GB, free: 5.281 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.749/6.833, allocations: 4 kB / 1.008 GB, free: 5.277 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_13_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; mkfifo Buildings_13_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe >> ../files/Buildings_13_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck_fmu --startTime=0 --stopTime=4 --stepSize=0.0016 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck.fmu) > Buildings_13_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_fmpy.pipe ; mkfifo Buildings_13_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_fmpy_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 ../Buildings_13_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck.fmu) > Buildings_13_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.065931528806686]