Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,fileNamePrefix="Buildings_9_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.0008344/0.0008345, allocations: 89.89 kB / 15.36 MB, free: 0.7383 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.005211/0.005211, allocations: 171.4 kB / 16.26 MB, free: 6.613 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.283/1.283, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.222/2.222, allocations: 390.9 MB / 0.6664 GB, free: 2.32 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003033/0.0003033, allocations: 8 kB / 0.8161 GB, free: 13.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5341/0.5345, allocations: 142.4 MB / 0.9552 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.00049/0.535, allocations: 254.5 kB / 0.9554 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003926/0.5354, allocations: 198.2 kB / 0.9556 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.258e-05/0.5354, allocations: 0 / 0.9556 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.794e-05/0.5354, allocations: 4 kB / 0.9556 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.579e-05/0.5355, allocations: 4.969 kB / 0.9556 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000244/0.5357, allocations: 43.47 kB / 0.9556 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.695e-05/0.5358, allocations: 10.45 kB / 0.9556 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.267e-05/0.5358, allocations: 1.219 kB / 0.9557 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.848e-05/0.5358, allocations: 2.281 kB / 0.9557 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.432e-05/0.5359, allocations: 18.08 kB / 0.9557 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.007e-06/0.5359, allocations: 0.9688 kB / 0.9557 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001672/0.5361, allocations: 118.9 kB / 0.9558 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.112e-05/0.5361, allocations: 2.438 kB / 0.9558 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.257e-05/0.5361, allocations: 40.42 kB / 0.9558 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001128/0.5362, allocations: 67.42 kB / 0.9559 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.5363, allocations: 0 / 0.9559 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.563e-06/0.5363, allocations: 1.188 kB / 0.9559 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.206e-06/0.5363, allocations: 0 / 0.9559 GB, free: 7.199 MB / 0.7169 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.000196/0.5365, allocations: 334 kB / 0.9562 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.5365, allocations: 13.53 kB / 0.9562 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.181e-05/0.5365, allocations: 30.75 kB / 0.9563 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.004e-05/0.5366, allocations: 7.312 kB / 0.9563 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.751e-05/0.5366, allocations: 167 kB / 0.9564 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.524e-06/0.5366, allocations: 4.375 kB / 0.9564 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.389e-05/0.5367, allocations: 1.875 kB / 0.9564 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.578e-05/0.5367, allocations: 41.31 kB / 0.9565 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.741e-06/0.5367, allocations: 3.938 kB / 0.9565 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.773e-06/0.5368, allocations: 1.375 kB / 0.9565 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.336e-06/0.5368, allocations: 0 / 0.9565 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.368e-05/0.5368, allocations: 8.438 kB / 0.9565 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001002/0.5369, allocations: 166.8 kB / 0.9566 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.69e-05/0.5369, allocations: 33.88 kB / 0.9567 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.781e-05/0.537, allocations: 21.94 kB / 0.9567 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.674e-05/0.537, allocations: 2.906 kB / 0.9567 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.382e-05/0.537, allocations: 32.03 kB / 0.9567 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.537, allocations: 0 / 0.9567 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.00039/0.5374, allocations: 304.9 kB / 0.957 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.928e-05/0.5374, allocations: 56.81 kB / 0.9571 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.602e-05/0.5375, allocations: 108.1 kB / 0.9572 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.642e-06/0.5375, allocations: 25.7 kB / 0.9572 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.68e-05/0.5375, allocations: 89.34 kB / 0.9573 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.777e-05/0.5376, allocations: 14.16 kB / 0.9573 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.75e-05/0.5376, allocations: 10.53 kB / 0.9573 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.111e-05/0.5376, allocations: 316.3 kB / 0.9576 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.09e-05/0.5376, allocations: 20.7 kB / 0.9576 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.348e-05/0.5377, allocations: 25.08 kB / 0.9576 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.521e-05/0.5377, allocations: 34.44 kB / 0.9577 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.5377, allocations: 1.281 kB / 0.9577 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.027e-05/0.5378, allocations: 73.14 kB / 0.9578 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.978e-06/0.5378, allocations: 9.25 kB / 0.9578 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-06/0.5378, allocations: 5.062 kB / 0.9578 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.805e-06/0.5378, allocations: 0 / 0.9578 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.793e-05/0.5379, allocations: 6.688 kB / 0.9578 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.5379, allocations: 1 kB / 0.9578 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.374e-05/0.5379, allocations: 0 / 0.9578 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.5379, allocations: 1.938 kB / 0.9578 GB, free: 5.211 MB / 0.7169 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.983e-05/0.538, allocations: 113 kB / 0.9579 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.848e-06/0.538, allocations: 10.81 kB / 0.9579 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001036/0.5381, allocations: 82.09 kB / 0.958 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.5381, allocations: 1.156 kB / 0.958 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.5381, allocations: 0 / 0.958 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.5381, allocations: 0.9688 kB / 0.958 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.344e-05/0.5382, allocations: 162 kB / 0.9581 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.5382, allocations: 0 / 0.9581 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.052e-05/0.5382, allocations: 12.64 kB / 0.9581 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.5382, allocations: 4.75 kB / 0.9581 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.501e-06/0.5383, allocations: 1 kB / 0.9581 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.5383, allocations: 0 / 0.9581 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.5383, allocations: 1.219 kB / 0.9581 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001111/0.5384, allocations: 110.1 kB / 0.9583 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.384e-05/0.5384, allocations: 84.95 kB / 0.9583 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.909e-06/0.5384, allocations: 0 / 0.9583 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.014e-05/0.5385, allocations: 3.984 kB / 0.9583 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.908e-06/0.5385, allocations: 1.344 kB / 0.9583 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.5385, allocations: 5.406 kB / 0.9583 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.447e-05/0.5385, allocations: 86.14 kB / 0.9584 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5385, allocations: 4.062 kB / 0.9584 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002049/0.5387, allocations: 20.81 kB / 0.9584 GB, free: 4.527 MB / 0.7169 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.0002824/0.539, allocations: 0.6596 MB / 0.9591 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.153e-05/0.5391, allocations: 33.45 kB / 0.9591 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.5391, allocations: 9.906 kB / 0.9591 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.792e-05/0.5391, allocations: 14.83 kB / 0.9591 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001284/0.5393, allocations: 2.094 kB / 0.9592 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006482/0.5399, allocations: 1.258 MB / 0.9604 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.438e-05/0.54, allocations: 0.6802 MB / 0.961 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.173e-05/0.54, allocations: 6.594 kB / 0.961 GB, free: 1.973 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.239e-05/0.5401, allocations: 21.89 kB / 0.9611 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of SimCode: time 3e-07/0.5401, allocations: 0 / 0.9611 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.106/1.646, allocations: 1.656 MB / 0.9627 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002174/1.646, allocations: 215.3 kB / 0.9629 GB, free: 0.9648 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.875/3.522, allocations: 6.531 kB / 0.9629 GB, free: 0.9609 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck.fmu > Buildings_9_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches