Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,fileNamePrefix="Buildings_latest_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.001243/0.001243, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001252/0.001252, allocations: 197.9 kB / 16.54 MB, free: 6.672 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.244/1.244, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.524/2.524, allocations: 461.9 MB / 0.7346 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 65.19 kB / 0.8992 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.291/0.2922, allocations: 157.4 MB / 1.053 GB, free: 8.297 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.001774/0.294, allocations: 0.5213 MB / 1.053 GB, free: 7.773 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0004661/0.2945, allocations: 203.3 kB / 1.054 GB, free: 7.574 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.83e-05/0.2946, allocations: 0 / 1.054 GB, free: 7.574 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.523e-05/0.2946, allocations: 3.938 kB / 1.054 GB, free: 7.57 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.745e-05/0.2946, allocations: 0 / 1.054 GB, free: 7.57 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003742/0.295, allocations: 59.84 kB / 1.054 GB, free: 7.512 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.275e-05/0.2951, allocations: 19.92 kB / 1.054 GB, free: 7.492 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.456e-05/0.2951, allocations: 0 / 1.054 GB, free: 7.492 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.547e-05/0.2952, allocations: 11.92 kB / 1.054 GB, free: 7.48 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 2.24e-05/0.2952, allocations: 0 / 1.054 GB, free: 7.48 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.11e-05/0.2952, allocations: 4 kB / 1.054 GB, free: 7.477 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002068/0.2954, allocations: 123.8 kB / 1.054 GB, free: 7.355 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.116e-05/0.2955, allocations: 15.97 kB / 1.054 GB, free: 7.34 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.676e-05/0.2955, allocations: 7.938 kB / 1.054 GB, free: 7.332 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001448/0.2956, allocations: 75.77 kB / 1.054 GB, free: 7.258 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.2957, allocations: 0 / 1.054 GB, free: 7.258 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.213e-06/0.2957, allocations: 0 / 1.054 GB, free: 7.258 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.053e-06/0.2957, allocations: 0 / 1.054 GB, free: 7.258 MB / 0.8106 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.0003103/0.296, allocations: 339.7 kB / 1.054 GB, free: 6.875 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.296, allocations: 8.625 kB / 1.054 GB, free: 6.867 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.172e-05/0.2961, allocations: 38.75 kB / 1.054 GB, free: 6.82 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.496e-05/0.2961, allocations: 0.9375 kB / 1.054 GB, free: 6.82 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001042/0.2962, allocations: 172.3 kB / 1.054 GB, free: 6.613 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.2962, allocations: 4.359 kB / 1.054 GB, free: 6.609 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.839e-05/0.2962, allocations: 4.312 kB / 1.054 GB, free: 6.605 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.036e-05/0.2963, allocations: 38.27 kB / 1.054 GB, free: 6.562 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.2964, allocations: 3.938 kB / 1.054 GB, free: 6.559 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.765e-06/0.2964, allocations: 0 / 1.054 GB, free: 6.559 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.2964, allocations: 0 / 1.054 GB, free: 6.559 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.119e-05/0.2964, allocations: 19.92 kB / 1.054 GB, free: 6.539 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001465/0.2966, allocations: 161.6 kB / 1.055 GB, free: 6.332 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.047e-05/0.2966, allocations: 26.58 kB / 1.055 GB, free: 6.297 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.263e-05/0.2967, allocations: 16.91 kB / 1.055 GB, free: 6.277 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.431e-05/0.2967, allocations: 4 kB / 1.055 GB, free: 6.273 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.105e-05/0.2967, allocations: 30.56 kB / 1.055 GB, free: 6.234 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 2.314e-06/0.2967, allocations: 7.984 kB / 1.055 GB, free: 6.227 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0005179/0.2972, allocations: 302.2 kB / 1.055 GB, free: 5.879 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.227e-05/0.2973, allocations: 51.41 kB / 1.055 GB, free: 5.816 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.086e-05/0.2974, allocations: 109.8 kB / 1.055 GB, free: 5.699 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.218e-05/0.2974, allocations: 25.7 kB / 1.055 GB, free: 5.668 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.623e-05/0.2974, allocations: 84.14 kB / 1.055 GB, free: 5.582 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.384e-05/0.2975, allocations: 19.95 kB / 1.055 GB, free: 5.562 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.185e-05/0.2975, allocations: 21.72 kB / 1.055 GB, free: 5.535 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.787e-05/0.2976, allocations: 314.8 kB / 1.056 GB, free: 5.219 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.223e-05/0.2976, allocations: 11.98 kB / 1.056 GB, free: 5.207 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.054e-05/0.2976, allocations: 25.72 kB / 1.056 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.271e-05/0.2977, allocations: 37.7 kB / 1.056 GB, free: 5.133 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.2977, allocations: 4 kB / 1.056 GB, free: 5.129 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.711e-05/0.2978, allocations: 65.62 kB / 1.056 GB, free: 5.059 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.2978, allocations: 9.031 kB / 1.056 GB, free: 5.051 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.2978, allocations: 3.984 kB / 1.056 GB, free: 5.047 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.2979, allocations: 4 kB / 1.056 GB, free: 5.043 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.357e-05/0.2979, allocations: 4 kB / 1.056 GB, free: 5.039 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.2979, allocations: 4 kB / 1.056 GB, free: 5.035 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.627e-05/0.2979, allocations: 4 kB / 1.056 GB, free: 5.031 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.629e-06/0.298, allocations: 0 / 1.056 GB, free: 5.031 MB / 0.8106 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.827e-05/0.298, allocations: 123.4 kB / 1.056 GB, free: 4.902 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.336e-05/0.298, allocations: 3.938 kB / 1.056 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001241/0.2982, allocations: 73.52 kB / 1.056 GB, free: 4.816 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.2982, allocations: 0 / 1.056 GB, free: 4.816 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.2982, allocations: 0 / 1.056 GB, free: 4.816 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.2982, allocations: 3.984 kB / 1.056 GB, free: 4.812 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001083/0.2983, allocations: 165.7 kB / 1.056 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.2983, allocations: 0 / 1.056 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.325e-05/0.2984, allocations: 4 kB / 1.056 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.2984, allocations: 11.94 kB / 1.056 GB, free: 4.586 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.2984, allocations: 4 kB / 1.056 GB, free: 4.582 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.2984, allocations: 3.984 kB / 1.056 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2984, allocations: 0 / 1.056 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001354/0.2985, allocations: 109 kB / 1.056 GB, free: 4.453 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.347e-05/0.2986, allocations: 81.05 kB / 1.056 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.073e-05/0.2986, allocations: 0 / 1.056 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.302e-05/0.2987, allocations: 3.938 kB / 1.056 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.763e-05/0.2987, allocations: 12.08 kB / 1.056 GB, free: 4.34 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.2987, allocations: 0 / 1.056 GB, free: 4.34 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.944e-05/0.2987, allocations: 87.28 kB / 1.056 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.2987, allocations: 0 / 1.056 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002033/0.2989, allocations: 19.98 kB / 1.056 GB, free: 4.234 MB / 0.8106 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.0004103/0.2994, allocations: 0.6631 MB / 1.057 GB, free: 3.543 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 8.849e-05/0.2995, allocations: 32.27 kB / 1.057 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.2995, allocations: 0 / 1.057 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 2.423e-05/0.2995, allocations: 19.92 kB / 1.057 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001345/0.2996, allocations: 5.719 kB / 1.057 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009256/0.3006, allocations: 1.248 MB / 1.058 GB, free: 2.152 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002075/0.3008, allocations: 0.6846 MB / 1.059 GB, free: 1.441 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.401e-05/0.3008, allocations: 4 kB / 1.059 GB, free: 1.438 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.804e-05/0.3008, allocations: 15.42 kB / 1.059 GB, free: 1.422 MB / 0.8106 GB Notification: Performance of SimCode: time 2.21e-07/0.3008, allocations: 0 / 1.059 GB, free: 1.422 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05854/0.3594, allocations: 1.84 MB / 1.061 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.73/11.09, allocations: 20.67 kB / 1.061 GB, free: 15.68 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck.fmu > Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches