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.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.001838/0.001838, allocations: 113 kB / 18.94 MB, free: 2.934 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.002908/0.002908, allocations: 208.9 kB / 22.25 MB, free: 5.086 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.578/1.578, allocations: 230.6 MB / 256 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 3.008/3.008, allocations: 476.7 MB / 0.7707 GB, free: 4.305 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_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: 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.002411/0.002411, allocations: 67.8 kB / 1.117 GB, free: 9.008 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4252/0.4276, allocations: 169.9 MB / 1.283 GB, free: 3.844 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.001991/0.4296, allocations: 0.5368 MB / 1.284 GB, free: 3.309 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0005449/0.4301, allocations: 191.8 kB / 1.284 GB, free: 3.121 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.019e-05/0.4302, allocations: 0 / 1.284 GB, free: 3.121 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.833e-05/0.4302, allocations: 4 kB / 1.284 GB, free: 3.117 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.199e-05/0.4302, allocations: 4 kB / 1.284 GB, free: 3.113 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004836/0.4307, allocations: 75.75 kB / 1.284 GB, free: 3.039 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 5.423e-05/0.4308, allocations: 4 kB / 1.284 GB, free: 3.035 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.255e-05/0.4308, allocations: 4 kB / 1.284 GB, free: 3.031 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.09e-05/0.4308, allocations: 7.938 kB / 1.284 GB, free: 3.023 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.288e-05/0.4309, allocations: 7.984 kB / 1.284 GB, free: 3.016 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.129e-05/0.4309, allocations: 0 / 1.284 GB, free: 3.016 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003537/0.4312, allocations: 175.7 kB / 1.284 GB, free: 2.844 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.713e-05/0.4313, allocations: 0 / 1.284 GB, free: 2.844 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.544e-05/0.4313, allocations: 15.92 kB / 1.284 GB, free: 2.828 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001685/0.4315, allocations: 64.06 kB / 1.284 GB, free: 2.766 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.4315, allocations: 7.938 kB / 1.284 GB, free: 2.758 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.333e-06/0.4315, allocations: 0 / 1.284 GB, free: 2.758 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.4315, allocations: 0 / 1.284 GB, free: 2.758 MB / 0.9825 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.0003638/0.4319, allocations: 262.2 kB / 1.285 GB, free: 2.469 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.4319, allocations: 16.02 kB / 1.285 GB, free: 2.453 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.633e-05/0.432, allocations: 34.75 kB / 1.285 GB, free: 2.41 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.561e-05/0.432, allocations: 4.891 kB / 1.285 GB, free: 2.406 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001147/0.4321, allocations: 106.5 kB / 1.285 GB, free: 2.277 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.4321, allocations: 4.312 kB / 1.285 GB, free: 2.273 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.001e-05/0.4321, allocations: 12.31 kB / 1.285 GB, free: 2.262 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001078/0.4322, allocations: 42.25 kB / 1.285 GB, free: 2.215 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.4322, allocations: 3.938 kB / 1.285 GB, free: 2.211 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.075e-06/0.4323, allocations: 0 / 1.285 GB, free: 2.211 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.4323, allocations: 0 / 1.285 GB, free: 2.211 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.924e-05/0.4323, allocations: 8 kB / 1.285 GB, free: 2.203 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001812/0.4325, allocations: 132.8 kB / 1.285 GB, free: 2.031 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.151e-05/0.4325, allocations: 30.56 kB / 1.285 GB, free: 1.992 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.138e-05/0.4326, allocations: 12.86 kB / 1.285 GB, free: 1.977 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.169e-05/0.4326, allocations: 11.98 kB / 1.285 GB, free: 1.965 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.253e-05/0.4326, allocations: 34.55 kB / 1.285 GB, free: 1.922 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/0.4326, allocations: 0 / 1.285 GB, free: 1.922 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.000547/0.4332, allocations: 225.1 kB / 1.285 GB, free: 1.668 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.042e-05/0.4332, allocations: 55.62 kB / 1.285 GB, free: 1.602 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.296e-05/0.4333, allocations: 113.8 kB / 1.285 GB, free: 1.48 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.4333, allocations: 25.7 kB / 1.285 GB, free: 1.449 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.032e-05/0.4334, allocations: 84.12 kB / 1.286 GB, free: 1.363 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.557e-05/0.4334, allocations: 11.95 kB / 1.286 GB, free: 1.352 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.314e-05/0.4334, allocations: 13.72 kB / 1.286 GB, free: 1.332 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.4336, allocations: 318.8 kB / 1.286 GB, free: 1.012 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.343e-05/0.4336, allocations: 8 kB / 1.286 GB, free: 1.004 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.075e-05/0.4336, allocations: 33.7 kB / 1.286 GB, free: 0.9648 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.272e-05/0.4337, allocations: 41.64 kB / 1.286 GB, free: 0.918 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.4337, allocations: 4 kB / 1.286 GB, free: 0.9141 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001055/0.4338, allocations: 69.58 kB / 1.286 GB, free: 0.8398 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.4338, allocations: 7.938 kB / 1.286 GB, free: 0.832 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.4338, allocations: 0 / 1.286 GB, free: 0.832 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.4338, allocations: 4.062 kB / 1.286 GB, free: 0.8281 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.367e-05/0.4339, allocations: 8 kB / 1.286 GB, free: 0.8203 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.4339, allocations: 0 / 1.286 GB, free: 0.8203 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.525e-05/0.4339, allocations: 0 / 1.286 GB, free: 0.8203 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.738e-06/0.4339, allocations: 8 kB / 1.286 GB, free: 0.8125 MB / 0.9825 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.582e-05/0.434, allocations: 113.8 kB / 1.286 GB, free: 0.6914 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.259e-05/0.434, allocations: 15.81 kB / 1.286 GB, free: 0.6758 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001352/0.4342, allocations: 69.61 kB / 1.286 GB, free: 0.5977 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.4342, allocations: 4 kB / 1.286 GB, free: 0.5938 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.4342, allocations: 4 kB / 1.286 GB, free: 0.5898 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.4342, allocations: 0 / 1.286 GB, free: 0.5898 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001344/0.4343, allocations: 132.8 kB / 1.286 GB, free: 428 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.4343, allocations: 3.984 kB / 1.286 GB, free: 424 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.44e-05/0.4344, allocations: 4 kB / 1.286 GB, free: 420 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.4344, allocations: 3.938 kB / 1.286 GB, free: 416 kB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-06/0.4344, allocations: 4 kB / 1.286 GB, free: 412 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.4344, allocations: 0 / 1.286 GB, free: 412 kB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.4344, allocations: 0 / 1.286 GB, free: 412 kB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001597/0.4345, allocations: 105.1 kB / 1.287 GB, free: 288 kB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.133e-05/0.4345, allocations: 7.969 kB / 1.287 GB, free: 280 kB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.976e-05/0.4346, allocations: 7.984 kB / 1.287 GB, free: 272 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.585e-05/0.4346, allocations: 0 / 1.287 GB, free: 272 kB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.862e-05/0.4346, allocations: 7.938 kB / 1.287 GB, free: 264 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.4346, allocations: 0 / 1.287 GB, free: 264 kB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.884e-05/0.4347, allocations: 91.27 kB / 1.287 GB, free: 172 kB / 0.9825 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4347, allocations: 0 / 1.287 GB, free: 172 kB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000217/0.4349, allocations: 24 kB / 1.287 GB, free: 148 kB / 0.9825 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.0005662/0.4355, allocations: 0.6517 MB / 1.287 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001123/0.4356, allocations: 39.91 kB / 1.287 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.4356, allocations: 0 / 1.287 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 2.609e-05/0.4356, allocations: 15.98 kB / 1.287 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001512/0.4358, allocations: 8.188 kB / 1.287 GB, free: 15.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001227/0.437, allocations: 1.249 MB / 1.289 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003283/0.4373, allocations: 0.6807 MB / 1.289 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.156e-05/0.4374, allocations: 8.141 kB / 1.289 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.482e-05/0.4374, allocations: 15.44 kB / 1.289 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of SimCode: time 4.3e-07/0.4374, allocations: 0 / 1.289 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03649/0.4739, allocations: 1.991 MB / 1.291 GB, free: 11.48 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.69, allocations: 11.61 kB / 1.291 GB, free: 11.47 MB / 0.9981 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck_fmu --startTime=0 --stopTime=4 --stepSize=0.0016 --timeout=400 --tolerance=1e-06 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.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.913661431055516]