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.0008112/0.0008112, allocations: 104.3 kB / 19.72 MB, free: 428 kB / 13.93 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.001599/0.001599, allocations: 214.9 kB / 23.03 MB, free: 2.961 MB / 13.93 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.03/1.03, allocations: 230.6 MB / 256.8 MB, free: 9.645 MB / 202.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.002/2.002, allocations: 0.5046 GB / 0.8104 GB, free: 2.742 MB / 0.6511 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 0.0009603/0.0009603, allocations: 63.91 kB / 1.177 GB, free: 12 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7344/0.7353, allocations: 180 MB / 1.352 GB, free: 1.664 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.001247/0.7366, allocations: 0.5292 MB / 1.353 GB, free: 1.137 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.0003858/0.737, allocations: 182.5 kB / 1.353 GB, free: 0.9609 MB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.012e-05/0.737, allocations: 3.938 kB / 1.353 GB, free: 0.957 MB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 2.79e-05/0.737, allocations: 0 / 1.353 GB, free: 0.957 MB / 1.026 GB Notification: Performance of NFTyping.typeBindings: time 3.857e-05/0.7371, allocations: 0 / 1.353 GB, free: 0.957 MB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003959/0.7375, allocations: 71.77 kB / 1.353 GB, free: 0.8867 MB / 1.026 GB Notification: Performance of NFFlatten.flatten: time 4.891e-05/0.7375, allocations: 11.98 kB / 1.353 GB, free: 0.875 MB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 4.095e-05/0.7375, allocations: 4 kB / 1.353 GB, free: 0.8711 MB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 1.912e-05/0.7376, allocations: 7.938 kB / 1.353 GB, free: 0.8633 MB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 2.756e-05/0.7376, allocations: 4 kB / 1.353 GB, free: 0.8594 MB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 1.123e-05/0.7376, allocations: 0 / 1.353 GB, free: 0.8594 MB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002112/0.7378, allocations: 163.7 kB / 1.353 GB, free: 0.6992 MB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 4.204e-05/0.7379, allocations: 3.984 kB / 1.353 GB, free: 0.6953 MB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 2.111e-05/0.7379, allocations: 11.94 kB / 1.353 GB, free: 0.6836 MB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 0.0001367/0.738, allocations: 62.09 kB / 1.353 GB, free: 0.625 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.738, allocations: 3.984 kB / 1.353 GB, free: 0.6211 MB / 1.026 GB Notification: Performance of FrontEnd: time 1.673e-06/0.738, allocations: 0 / 1.353 GB, free: 0.6211 MB / 1.026 GB Notification: Performance of Transformations before backend: time 5.461e-06/0.738, allocations: 4 kB / 1.353 GB, free: 0.6172 MB / 1.026 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.0002815/0.7383, allocations: 266.2 kB / 1.354 GB, free: 332 kB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.7383, allocations: 8.922 kB / 1.354 GB, free: 324 kB / 1.026 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.82e-05/0.7384, allocations: 30.75 kB / 1.354 GB, free: 284 kB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.438e-05/0.7384, allocations: 4.938 kB / 1.354 GB, free: 280 kB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.018e-05/0.7385, allocations: 118.4 kB / 1.354 GB, free: 136 kB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.7385, allocations: 4.375 kB / 1.354 GB, free: 132 kB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.858e-05/0.7385, allocations: 4.375 kB / 1.354 GB, free: 128 kB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000109/0.7386, allocations: 63.95 kB / 1.354 GB, free: 52 kB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.7386, allocations: 11.86 kB / 1.354 GB, free: 40 kB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.856e-06/0.7386, allocations: 7.938 kB / 1.354 GB, free: 32 kB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.7386, allocations: 0 / 1.354 GB, free: 32 kB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.165e-05/0.7387, allocations: 15.94 kB / 1.354 GB, free: 16 kB / 1.026 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001466/0.7388, allocations: 128.8 kB / 1.354 GB, free: 15.85 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 5.003e-05/0.7389, allocations: 26.59 kB / 1.354 GB, free: 15.81 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.629e-05/0.7389, allocations: 8.922 kB / 1.354 GB, free: 15.8 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.856e-05/0.7389, allocations: 4 kB / 1.354 GB, free: 15.8 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/0.7389, allocations: 38.56 kB / 1.354 GB, free: 15.75 MB / 1.042 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.7389, allocations: 0 / 1.354 GB, free: 15.75 MB / 1.042 GB Notification: Performance of matching and sorting (n=3): time 0.000468/0.7394, allocations: 229.1 kB / 1.354 GB, free: 15.49 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.582e-05/0.7394, allocations: 51.41 kB / 1.354 GB, free: 15.43 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.849e-05/0.7395, allocations: 109.8 kB / 1.355 GB, free: 15.31 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 8.947e-06/0.7395, allocations: 25.7 kB / 1.355 GB, free: 15.28 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 3.461e-05/0.7395, allocations: 88.12 kB / 1.355 GB, free: 15.19 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 2.247e-05/0.7396, allocations: 11.91 kB / 1.355 GB, free: 15.18 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.576e-05/0.7396, allocations: 17.72 kB / 1.355 GB, free: 15.16 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 7.321e-05/0.7397, allocations: 318.8 kB / 1.355 GB, free: 14.84 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.838e-05/0.7397, allocations: 8 kB / 1.355 GB, free: 14.83 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.67e-05/0.7397, allocations: 25.92 kB / 1.355 GB, free: 14.8 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.64e-05/0.7397, allocations: 45.72 kB / 1.355 GB, free: 14.75 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.7398, allocations: 3.938 kB / 1.355 GB, free: 14.74 MB / 1.042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.993e-05/0.7398, allocations: 69.62 kB / 1.355 GB, free: 14.67 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.7398, allocations: 7.938 kB / 1.355 GB, free: 14.66 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.7398, allocations: 0 / 1.355 GB, free: 14.66 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.7399, allocations: 0 / 1.355 GB, free: 14.66 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.519e-05/0.7399, allocations: 8 kB / 1.355 GB, free: 14.65 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.7399, allocations: 3.938 kB / 1.355 GB, free: 14.65 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.024e-05/0.7399, allocations: 4.062 kB / 1.355 GB, free: 14.64 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.792e-06/0.7399, allocations: 4 kB / 1.355 GB, free: 14.64 MB / 1.042 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.219e-05/0.74, allocations: 114.4 kB / 1.355 GB, free: 14.52 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.941e-06/0.74, allocations: 3.938 kB / 1.355 GB, free: 14.52 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00011/0.7401, allocations: 73.61 kB / 1.355 GB, free: 14.43 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.7401, allocations: 4 kB / 1.355 GB, free: 14.43 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.7401, allocations: 0 / 1.355 GB, free: 14.43 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.7401, allocations: 3.938 kB / 1.355 GB, free: 14.43 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.718e-05/0.7402, allocations: 132.8 kB / 1.355 GB, free: 14.25 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.7402, allocations: 0 / 1.355 GB, free: 14.25 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.044e-05/0.7402, allocations: 8 kB / 1.355 GB, free: 14.25 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.7402, allocations: 3.938 kB / 1.355 GB, free: 14.24 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.4e-06/0.7402, allocations: 7.938 kB / 1.355 GB, free: 14.23 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.7402, allocations: 0 / 1.355 GB, free: 14.23 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.7402, allocations: 4 kB / 1.355 GB, free: 14.23 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000115/0.7404, allocations: 109.3 kB / 1.356 GB, free: 14.11 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.004e-06/0.7404, allocations: 7.938 kB / 1.356 GB, free: 14.1 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.004e-05/0.7404, allocations: 7.922 kB / 1.356 GB, free: 14.09 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.507e-05/0.7404, allocations: 4.031 kB / 1.356 GB, free: 14.09 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.21e-05/0.7404, allocations: 4 kB / 1.356 GB, free: 14.08 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.005e-06/0.7404, allocations: 4.047 kB / 1.356 GB, free: 14.08 MB / 1.042 GB Notification: Performance of sorting global known variables: time 2.815e-05/0.7405, allocations: 87.28 kB / 1.356 GB, free: 13.99 MB / 1.042 GB Notification: Performance of sort global known variables: time 5e-08/0.7405, allocations: 0 / 1.356 GB, free: 13.99 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0001579/0.7406, allocations: 20 kB / 1.356 GB, free: 13.97 MB / 1.042 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.0003264/0.7409, allocations: 0.6669 MB / 1.356 GB, free: 13.28 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 8.694e-05/0.741, allocations: 31.98 kB / 1.356 GB, free: 13.25 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.741, allocations: 0 / 1.356 GB, free: 13.25 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 1.56e-05/0.741, allocations: 19.92 kB / 1.356 GB, free: 13.23 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001162/0.7412, allocations: 0 / 1.356 GB, free: 13.23 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008214/0.742, allocations: 1.237 MB / 1.358 GB, free: 11.9 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.137e-05/0.742, allocations: 75.23 kB / 1.358 GB, free: 11.81 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 2.387e-05/0.742, allocations: 4.656 kB / 1.358 GB, free: 11.8 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.802e-05/0.7421, allocations: 15.44 kB / 1.358 GB, free: 11.79 MB / 1.042 GB Notification: Performance of SimCode: time 4.8e-07/0.7421, allocations: 0 / 1.358 GB, free: 11.79 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08572/0.8278, allocations: 2.367 MB / 1.36 GB, free: 9.547 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.631/7.459, allocations: 7.375 kB / 1.36 GB, free: 9.547 MB / 1.042 GB " [Timeout remaining time 292] (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.425144931301475]