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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001427/0.001427, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001667/0.001667, allocations: 194.5 kB / 16.14 MB, free: 6.711 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.241/1.241, allocations: 222.9 MB / 239.8 MB, free: 4.641 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.542/2.542, allocations: 461.8 MB / 0.7342 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001429/0.001429, allocations: 64.41 kB / 0.8985 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.255/0.2564, allocations: 157.4 MB / 1.052 GB, free: 8.25 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.002371/0.2588, allocations: 0.5839 MB / 1.053 GB, free: 7.66 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000606/0.2595, allocations: 199.5 kB / 1.053 GB, free: 7.465 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.29e-05/0.2595, allocations: 0 / 1.053 GB, free: 7.465 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.647e-05/0.2596, allocations: 4 kB / 1.053 GB, free: 7.461 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.232e-05/0.2596, allocations: 11.94 kB / 1.053 GB, free: 7.449 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004359/0.2601, allocations: 43.92 kB / 1.053 GB, free: 7.406 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.854e-05/0.2601, allocations: 15.88 kB / 1.053 GB, free: 7.391 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.623e-05/0.2602, allocations: 0 / 1.053 GB, free: 7.391 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.952e-05/0.2602, allocations: 7.984 kB / 1.053 GB, free: 7.383 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.529e-05/0.2603, allocations: 4 kB / 1.053 GB, free: 7.379 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.194e-05/0.2603, allocations: 0 / 1.053 GB, free: 7.379 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002475/0.2606, allocations: 119.8 kB / 1.053 GB, free: 7.262 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.967e-05/0.2606, allocations: 15.92 kB / 1.053 GB, free: 7.246 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.769e-05/0.2606, allocations: 7.938 kB / 1.053 GB, free: 7.238 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001704/0.2608, allocations: 71.77 kB / 1.053 GB, free: 7.168 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 8.215e-06/0.2608, allocations: 4 kB / 1.053 GB, free: 7.164 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.032e-06/0.2608, allocations: 0 / 1.053 GB, free: 7.164 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.937e-06/0.2609, allocations: 0 / 1.053 GB, free: 7.164 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.000388/0.2613, allocations: 339.7 kB / 1.054 GB, free: 6.781 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.2613, allocations: 11.97 kB / 1.054 GB, free: 6.77 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.252e-05/0.2613, allocations: 30.75 kB / 1.054 GB, free: 6.73 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.767e-05/0.2614, allocations: 4.938 kB / 1.054 GB, free: 6.727 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001263/0.2615, allocations: 172.3 kB / 1.054 GB, free: 6.52 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.517e-06/0.2615, allocations: 4.375 kB / 1.054 GB, free: 6.516 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.32e-05/0.2616, allocations: 4.359 kB / 1.054 GB, free: 6.512 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001052/0.2617, allocations: 42.2 kB / 1.054 GB, free: 6.465 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.2617, allocations: 3.938 kB / 1.054 GB, free: 6.461 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.737e-06/0.2617, allocations: 0 / 1.054 GB, free: 6.461 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.2617, allocations: 0 / 1.054 GB, free: 6.461 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.087e-05/0.2617, allocations: 15.92 kB / 1.054 GB, free: 6.445 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001736/0.2619, allocations: 161.7 kB / 1.054 GB, free: 6.238 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.097e-05/0.262, allocations: 26.61 kB / 1.054 GB, free: 6.203 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.218e-05/0.262, allocations: 12.91 kB / 1.054 GB, free: 6.188 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.567e-05/0.2621, allocations: 4 kB / 1.054 GB, free: 6.184 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/0.2621, allocations: 38.56 kB / 1.054 GB, free: 6.137 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.2621, allocations: 0 / 1.054 GB, free: 6.137 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0006292/0.2627, allocations: 298.4 kB / 1.054 GB, free: 5.793 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.267e-05/0.2628, allocations: 51.41 kB / 1.054 GB, free: 5.73 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.711e-05/0.2629, allocations: 109.8 kB / 1.055 GB, free: 5.613 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.628e-05/0.2629, allocations: 33.64 kB / 1.055 GB, free: 5.574 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.096e-05/0.2629, allocations: 84.14 kB / 1.055 GB, free: 5.488 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.761e-05/0.263, allocations: 15.75 kB / 1.055 GB, free: 5.473 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.495e-05/0.263, allocations: 17.7 kB / 1.055 GB, free: 5.449 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.2631, allocations: 318.9 kB / 1.055 GB, free: 5.129 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.666e-05/0.2631, allocations: 15.98 kB / 1.055 GB, free: 5.113 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.207e-05/0.2632, allocations: 17.72 kB / 1.055 GB, free: 5.09 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.708e-05/0.2632, allocations: 49.64 kB / 1.055 GB, free: 5.035 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.2632, allocations: 0 / 1.055 GB, free: 5.035 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.46e-05/0.2633, allocations: 65.62 kB / 1.055 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.2634, allocations: 12 kB / 1.055 GB, free: 4.953 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.2634, allocations: 0 / 1.055 GB, free: 4.953 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.2634, allocations: 3.984 kB / 1.055 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.645e-05/0.2635, allocations: 8 kB / 1.055 GB, free: 4.941 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.72e-06/0.2635, allocations: 0 / 1.055 GB, free: 4.941 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.487e-05/0.2635, allocations: 0 / 1.055 GB, free: 4.941 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.664e-06/0.2635, allocations: 4 kB / 1.055 GB, free: 4.938 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 7.15e-05/0.2636, allocations: 113.8 kB / 1.055 GB, free: 4.816 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.397e-05/0.2636, allocations: 7.938 kB / 1.055 GB, free: 4.809 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001262/0.2637, allocations: 69.58 kB / 1.055 GB, free: 4.73 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.2637, allocations: 4 kB / 1.055 GB, free: 4.727 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.2637, allocations: 0 / 1.055 GB, free: 4.727 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.2637, allocations: 3.984 kB / 1.055 GB, free: 4.723 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000159/0.2639, allocations: 161.7 kB / 1.055 GB, free: 4.516 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.2639, allocations: 4 kB / 1.055 GB, free: 4.512 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.859e-05/0.264, allocations: 4 kB / 1.055 GB, free: 4.508 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.264, allocations: 3.938 kB / 1.055 GB, free: 4.504 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.264, allocations: 4 kB / 1.056 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.264, allocations: 7.922 kB / 1.056 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.264, allocations: 4.312 kB / 1.056 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001488/0.2642, allocations: 109.1 kB / 1.056 GB, free: 4.363 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.071e-05/0.2642, allocations: 85.08 kB / 1.056 GB, free: 4.262 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.226e-05/0.2642, allocations: 0 / 1.056 GB, free: 4.262 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.529e-05/0.2643, allocations: 0 / 1.056 GB, free: 4.262 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.88e-05/0.2643, allocations: 11.98 kB / 1.056 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/0.2643, allocations: 0 / 1.056 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.568e-05/0.2644, allocations: 91.33 kB / 1.056 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2644, allocations: 0 / 1.056 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002084/0.2646, allocations: 23.98 kB / 1.056 GB, free: 4.137 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.0004403/0.265, allocations: 0.6631 MB / 1.056 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 8.818e-05/0.2651, allocations: 27.98 kB / 1.056 GB, free: 3.418 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2651, allocations: 8.125 kB / 1.057 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 2.383e-05/0.2652, allocations: 15.98 kB / 1.057 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001428/0.2653, allocations: 7.938 kB / 1.057 GB, free: 3.387 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009624/0.2663, allocations: 1.242 MB / 1.058 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000223/0.2665, allocations: 0.6809 MB / 1.058 GB, free: 1.348 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.182e-05/0.2666, allocations: 11.94 kB / 1.058 GB, free: 1.336 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.096e-05/0.2666, allocations: 15.42 kB / 1.058 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of SimCode: time 2.61e-07/0.2666, allocations: 4 kB / 1.058 GB, free: 1.316 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01215/0.2787, allocations: 1.731 MB / 1.06 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000228/0.279, allocations: 222.4 kB / 1.06 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.698/1.977, allocations: 1.25 kB / 1.06 GB, free: 15.48 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