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.001407/0.001407, allocations: 112.2 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.001436/0.001436, allocations: 190.6 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.271/1.271, allocations: 225.6 MB / 249.3 MB, free: 3.172 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.457/2.457, allocations: 476.7 MB / 0.7628 GB, free: 15.12 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.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.001925/0.001925, allocations: 67.89 kB / 1.107 GB, free: 5.176 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7463/0.7482, allocations: 168.7 MB / 1.271 GB, free: 7.711 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.001384/0.7496, allocations: 0.5508 MB / 1.272 GB, free: 7.391 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0003927/0.75, allocations: 184.5 kB / 1.272 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.887e-05/0.75, allocations: 0.875 kB / 1.272 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.275e-05/0.75, allocations: 0 / 1.272 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.248e-05/0.75, allocations: 4.781 kB / 1.272 GB, free: 7.277 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003297/0.7504, allocations: 65.55 kB / 1.272 GB, free: 7.25 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 4.487e-05/0.7504, allocations: 11.94 kB / 1.272 GB, free: 7.246 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.253e-05/0.7505, allocations: 8.188 kB / 1.272 GB, free: 7.242 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.645e-05/0.7505, allocations: 7.875 kB / 1.272 GB, free: 7.238 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.534e-05/0.7505, allocations: 12 kB / 1.272 GB, free: 7.23 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.015e-05/0.7505, allocations: 0 / 1.272 GB, free: 7.23 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002215/0.7507, allocations: 133.2 kB / 1.272 GB, free: 7.195 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.544e-05/0.7508, allocations: 7.734 kB / 1.272 GB, free: 7.191 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 1.904e-05/0.7508, allocations: 6.75 kB / 1.272 GB, free: 7.188 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001449/0.7509, allocations: 78.89 kB / 1.272 GB, free: 7.16 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.7509, allocations: 0 / 1.272 GB, free: 7.16 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.522e-06/0.7509, allocations: 0.625 kB / 1.272 GB, free: 7.16 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.409e-06/0.7509, allocations: 0 / 1.272 GB, free: 7.16 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002359/0.7512, allocations: 335.5 kB / 1.273 GB, free: 6.797 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.7512, allocations: 14 kB / 1.273 GB, free: 6.793 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.253e-05/0.7512, allocations: 32.42 kB / 1.273 GB, free: 6.754 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.064e-05/0.7512, allocations: 2.562 kB / 1.273 GB, free: 6.754 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.572e-05/0.7513, allocations: 171.5 kB / 1.273 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.696e-06/0.7513, allocations: 1.188 kB / 1.273 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.507e-05/0.7513, allocations: 2.281 kB / 1.273 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.074e-05/0.7514, allocations: 40.06 kB / 1.273 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.7514, allocations: 4.828 kB / 1.273 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.372e-06/0.7514, allocations: 0.8125 kB / 1.273 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-06/0.7514, allocations: 4.844 kB / 1.273 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.547e-05/0.7514, allocations: 13.58 kB / 1.273 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001009/0.7515, allocations: 158.5 kB / 1.273 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.053e-05/0.7516, allocations: 23.16 kB / 1.273 GB, free: 6.289 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.818e-05/0.7516, allocations: 19.05 kB / 1.273 GB, free: 6.273 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.107e-05/0.7516, allocations: 12.8 kB / 1.273 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.356e-05/0.7517, allocations: 35.84 kB / 1.273 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.7517, allocations: 0 / 1.273 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0003972/0.7521, allocations: 296.3 kB / 1.274 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.929e-05/0.7521, allocations: 59.05 kB / 1.274 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.79e-05/0.7521, allocations: 109.5 kB / 1.274 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.301e-06/0.7521, allocations: 29.64 kB / 1.274 GB, free: 5.758 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.561e-05/0.7521, allocations: 81.83 kB / 1.274 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.639e-05/0.7522, allocations: 17.5 kB / 1.274 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.277e-05/0.7522, allocations: 13.91 kB / 1.274 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 2.968e-05/0.7522, allocations: 318.6 kB / 1.274 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.19e-05/0.7522, allocations: 10.86 kB / 1.274 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.71e-05/0.7523, allocations: 32.53 kB / 1.274 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.719e-05/0.7523, allocations: 40.52 kB / 1.274 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.91e-07/0.7523, allocations: 0 / 1.274 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.991e-05/0.7524, allocations: 66.78 kB / 1.274 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.7524, allocations: 11.06 kB / 1.274 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.7524, allocations: 1.734 kB / 1.274 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.7524, allocations: 1.156 kB / 1.274 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.978e-05/0.7525, allocations: 7.5 kB / 1.274 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.7525, allocations: 1.125 kB / 1.274 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.442e-05/0.7525, allocations: 0.875 kB / 1.274 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-06/0.7525, allocations: 1.125 kB / 1.274 GB, free: 5.238 MB / 0.9981 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 3.964e-05/0.7525, allocations: 126.4 kB / 1.274 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.1e-05/0.7525, allocations: 10.55 kB / 1.274 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001073/0.7526, allocations: 70.48 kB / 1.274 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.7526, allocations: 2.016 kB / 1.274 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.7526, allocations: 0 / 1.274 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.7526, allocations: 0.9375 kB / 1.274 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.259e-05/0.7527, allocations: 164.8 kB / 1.275 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.7527, allocations: 1.031 kB / 1.275 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.077e-05/0.7528, allocations: 8.562 kB / 1.275 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.7528, allocations: 4.844 kB / 1.275 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.06e-06/0.7528, allocations: 4.969 kB / 1.275 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.7528, allocations: 0 / 1.275 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.7528, allocations: 0.5625 kB / 1.275 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001109/0.7529, allocations: 108.5 kB / 1.275 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.412e-05/0.7529, allocations: 83.34 kB / 1.275 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.067e-05/0.7529, allocations: 6.016 kB / 1.275 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.967e-05/0.7529, allocations: 4.812 kB / 1.275 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.798e-06/0.7529, allocations: 4.75 kB / 1.275 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.488e-06/0.753, allocations: 1.594 kB / 1.275 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.554e-05/0.753, allocations: 94.83 kB / 1.275 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.753, allocations: 0 / 1.275 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002109/0.7532, allocations: 17.91 kB / 1.275 GB, free: 4.578 MB / 0.9981 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.000276/0.7535, allocations: 0.6621 MB / 1.276 GB, free: 3.969 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 8.71e-05/0.7536, allocations: 30.86 kB / 1.276 GB, free: 3.965 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.7536, allocations: 0 / 1.276 GB, free: 3.965 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 2.026e-05/0.7536, allocations: 18.47 kB / 1.276 GB, free: 3.961 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001232/0.7537, allocations: 5.75 kB / 1.276 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006882/0.7544, allocations: 1.247 MB / 1.277 GB, free: 18.8 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002559/0.7546, allocations: 0.6862 MB / 1.278 GB, free: 18.11 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.111e-05/0.7547, allocations: 8.094 kB / 1.278 GB, free: 18.1 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.29e-05/0.7547, allocations: 17.22 kB / 1.278 GB, free: 18.09 MB / 1.014 GB Notification: Performance of SimCode: time 2.8e-07/0.7547, allocations: 0 / 1.278 GB, free: 18.09 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02291/0.7776, allocations: 1.85 MB / 1.279 GB, free: 17.7 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.01/7.787, allocations: 4.922 kB / 1.279 GB, free: 17.7 MB / 1.014 GB " [Timeout remaining time 292] (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 --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] "Warning: Resultfile and Reference have different end time points! Reffile[502]=4.000000 File[237]=1.888000 " [Timeout remaining time 300] "" Variables in the reference:time,x,y,der(x),der(y) Variables in the result:c[1],c[2],c[3],c[4],c[5],der(x),der(y),time,x,xMax,xMin,y [Calling sys.exit(0), Time elapsed: 12.96689464100018]