Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,fileNamePrefix="Buildings_10_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 107.4 kB / 15.22 MB, free: 0.6562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001392/0.001392, allocations: 198.2 kB / 16.14 MB, free: 6.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.32/1.32, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.368/2.368, allocations: 437 MB / 0.7099 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 55.91 kB / 0.8686 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4893/0.4905, allocations: 151.6 MB / 1.017 GB, free: 2.82 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.001732/0.4923, allocations: 0.5997 MB / 1.017 GB, free: 2.223 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0004708/0.4928, allocations: 195.5 kB / 1.017 GB, free: 2.031 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.429e-05/0.4928, allocations: 0 / 1.017 GB, free: 2.031 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.26e-05/0.4928, allocations: 0 / 1.017 GB, free: 2.031 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.697e-05/0.4929, allocations: 3.938 kB / 1.017 GB, free: 2.027 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.00028/0.4932, allocations: 39.94 kB / 1.018 GB, free: 1.988 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.484e-05/0.4932, allocations: 19.92 kB / 1.018 GB, free: 1.969 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.157e-05/0.4932, allocations: 0 / 1.018 GB, free: 1.969 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.763e-05/0.4933, allocations: 11.94 kB / 1.018 GB, free: 1.957 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.169e-05/0.4933, allocations: 15.97 kB / 1.018 GB, free: 1.941 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.05e-05/0.4933, allocations: 0 / 1.018 GB, free: 1.941 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001964/0.4935, allocations: 107.9 kB / 1.018 GB, free: 1.836 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.8e-05/0.4936, allocations: 7.938 kB / 1.018 GB, free: 1.828 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.469e-05/0.4936, allocations: 15.92 kB / 1.018 GB, free: 1.812 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001327/0.4937, allocations: 63.89 kB / 1.018 GB, free: 1.75 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.4938, allocations: 0 / 1.018 GB, free: 1.75 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.021e-06/0.4938, allocations: 3.938 kB / 1.018 GB, free: 1.746 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.4938, allocations: 0 / 1.018 GB, free: 1.746 MB / 0.7637 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.0003389/0.4941, allocations: 349.6 kB / 1.018 GB, free: 1.355 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.4942, allocations: 8.031 kB / 1.018 GB, free: 1.348 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.465e-05/0.4942, allocations: 34.73 kB / 1.018 GB, free: 1.305 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.636e-05/0.4942, allocations: 4.938 kB / 1.018 GB, free: 1.301 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/0.4943, allocations: 164.3 kB / 1.018 GB, free: 1.102 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.264e-06/0.4944, allocations: 384 / 1.018 GB, free: 1.102 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.91e-05/0.4944, allocations: 4.375 kB / 1.018 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.983e-05/0.4945, allocations: 42.25 kB / 1.018 GB, free: 1.051 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.4945, allocations: 3.938 kB / 1.018 GB, free: 1.047 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.564e-06/0.4945, allocations: 4 kB / 1.018 GB, free: 1.043 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-06/0.4945, allocations: 0 / 1.018 GB, free: 1.043 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.73e-05/0.4945, allocations: 11.94 kB / 1.018 GB, free: 1.031 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001577/0.4947, allocations: 157.7 kB / 1.019 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 5.024e-05/0.4948, allocations: 34.5 kB / 1.019 GB, free: 0.7852 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.656e-05/0.4948, allocations: 8.922 kB / 1.019 GB, free: 0.7734 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 3.233e-05/0.4948, allocations: 4 kB / 1.019 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.4949, allocations: 38.55 kB / 1.019 GB, free: 0.7227 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.4949, allocations: 4 kB / 1.019 GB, free: 0.7188 MB / 0.7637 GB Notification: Performance of matching and sorting (n=3): time 0.0005067/0.4954, allocations: 302.2 kB / 1.019 GB, free: 380 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.876e-05/0.4954, allocations: 55.39 kB / 1.019 GB, free: 312 kB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.912e-05/0.4955, allocations: 109.8 kB / 1.019 GB, free: 192 kB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 1.326e-05/0.4955, allocations: 25.7 kB / 1.019 GB, free: 160 kB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 4.137e-05/0.4956, allocations: 88.36 kB / 1.019 GB, free: 68 kB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 2.079e-05/0.4956, allocations: 11.84 kB / 1.019 GB, free: 56 kB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.986e-05/0.4956, allocations: 17.72 kB / 1.019 GB, free: 32 kB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.000172/0.4958, allocations: 314.8 kB / 1.019 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.256e-05/0.4959, allocations: 8 kB / 1.019 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.275e-05/0.4959, allocations: 29.7 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.477e-05/0.496, allocations: 41.7 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.496, allocations: 8 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.378e-05/0.4961, allocations: 69.53 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.4961, allocations: 7.938 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.4961, allocations: 3.938 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/0.4961, allocations: 0 / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.436e-05/0.4962, allocations: 8 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.4962, allocations: 0 / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.494e-05/0.4962, allocations: 64 / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.246e-06/0.4962, allocations: 11.98 kB / 1.02 GB, free: 15.51 MB / 0.7794 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 6.224e-05/0.4963, allocations: 110.4 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.481e-05/0.4963, allocations: 7.938 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001688/0.4965, allocations: 69.52 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.592e-06/0.4965, allocations: 0 / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.4965, allocations: 0 / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.4965, allocations: 4 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001018/0.4966, allocations: 165.7 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.4966, allocations: 4 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.444e-05/0.4967, allocations: 4 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.4967, allocations: 3.938 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.4967, allocations: 4 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.4967, allocations: 0 / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.4967, allocations: 4 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001299/0.4968, allocations: 105 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.032e-05/0.4969, allocations: 85.03 kB / 1.02 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.161e-05/0.4969, allocations: 8.094 kB / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.306e-05/0.4969, allocations: 0 / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.051e-05/0.4969, allocations: 3.938 kB / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.497, allocations: 4 kB / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.848e-05/0.497, allocations: 87.27 kB / 1.02 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.51e-07/0.497, allocations: 0 / 1.02 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002058/0.4972, allocations: 24 kB / 1.02 GB, free: 14.73 MB / 0.7794 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.0004202/0.4976, allocations: 0.6669 MB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.667e-05/0.4977, allocations: 31.98 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.4977, allocations: 0 / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.978e-05/0.4978, allocations: 12 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001425/0.4979, allocations: 8.938 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008823/0.4988, allocations: 1.262 MB / 1.022 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001906/0.499, allocations: 0.681 MB / 1.023 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.798e-05/0.499, allocations: 16.12 kB / 1.023 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.442e-05/0.4991, allocations: 11.44 kB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of SimCode: time 1.303e-06/0.4991, allocations: 0 / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7123/1.211, allocations: 1.729 MB / 1.025 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002813/1.212, allocations: 219.3 kB / 1.025 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.828/3.04, allocations: 0 / 1.025 GB, free: 10.05 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck.fmu > Buildings_10_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches