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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.006662/0.006662, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001744/0.001744, allocations: 194.8 kB / 16.67 MB, free: 5.973 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.362/1.362, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.527/2.527, allocations: 437.1 MB / 0.7106 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001751/0.001751, allocations: 67.88 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2482/0.25, allocations: 151.6 MB / 1.166 GB, free: 7.301 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.001399/0.2514, allocations: 0.5152 MB / 1.167 GB, free: 6.781 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0004498/0.2519, allocations: 199.8 kB / 1.167 GB, free: 6.586 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.586e-05/0.2519, allocations: 3.938 kB / 1.167 GB, free: 6.582 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.287e-05/0.2519, allocations: 0 / 1.167 GB, free: 6.582 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 3.018e-05/0.252, allocations: 3.938 kB / 1.167 GB, free: 6.578 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003322/0.2523, allocations: 59.84 kB / 1.167 GB, free: 6.52 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 4.254e-05/0.2524, allocations: 4 kB / 1.167 GB, free: 6.516 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.833e-05/0.2524, allocations: 12 kB / 1.167 GB, free: 6.504 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 1.607e-05/0.2524, allocations: 3.984 kB / 1.167 GB, free: 6.5 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 2.307e-05/0.2524, allocations: 7.938 kB / 1.167 GB, free: 6.492 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 9.538e-06/0.2525, allocations: 3.938 kB / 1.167 GB, free: 6.488 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002142/0.2527, allocations: 131.8 kB / 1.167 GB, free: 6.359 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.719e-05/0.2527, allocations: 11.98 kB / 1.167 GB, free: 6.348 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 1.886e-05/0.2527, allocations: 3.938 kB / 1.167 GB, free: 6.344 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001423/0.2529, allocations: 72.06 kB / 1.167 GB, free: 6.273 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.2529, allocations: 3.984 kB / 1.167 GB, free: 6.27 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.493e-06/0.2529, allocations: 0 / 1.167 GB, free: 6.27 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.038e-06/0.2529, allocations: 0 / 1.167 GB, free: 6.27 MB / 0.92 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.0003424/0.2533, allocations: 347.3 kB / 1.168 GB, free: 5.879 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.274e-05/0.2533, allocations: 8.031 kB / 1.168 GB, free: 5.871 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.134e-05/0.2533, allocations: 30.75 kB / 1.168 GB, free: 5.832 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.274e-05/0.2534, allocations: 4.938 kB / 1.168 GB, free: 5.828 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.2535, allocations: 172.3 kB / 1.168 GB, free: 5.621 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.2535, allocations: 4.375 kB / 1.168 GB, free: 5.617 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.38e-05/0.2535, allocations: 384 / 1.168 GB, free: 5.617 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.105e-05/0.2536, allocations: 42.25 kB / 1.168 GB, free: 5.57 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.2536, allocations: 3.938 kB / 1.168 GB, free: 5.566 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.562e-06/0.2536, allocations: 4 kB / 1.168 GB, free: 5.562 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.316e-06/0.2537, allocations: 0 / 1.168 GB, free: 5.562 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.62e-05/0.2537, allocations: 15.98 kB / 1.168 GB, free: 5.547 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001604/0.2538, allocations: 157.7 kB / 1.168 GB, free: 5.344 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 4.722e-05/0.2539, allocations: 26.55 kB / 1.168 GB, free: 5.309 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.996e-05/0.2539, allocations: 12.92 kB / 1.168 GB, free: 5.293 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.962e-05/0.254, allocations: 7.984 kB / 1.168 GB, free: 5.285 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.022e-05/0.254, allocations: 38.56 kB / 1.168 GB, free: 5.238 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.363e-06/0.254, allocations: 0 / 1.168 GB, free: 5.238 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0004871/0.2545, allocations: 294.3 kB / 1.168 GB, free: 4.898 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.941e-05/0.2545, allocations: 51.41 kB / 1.168 GB, free: 4.836 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.788e-05/0.2546, allocations: 117.8 kB / 1.168 GB, free: 4.711 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/0.2547, allocations: 25.92 kB / 1.168 GB, free: 4.68 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.729e-05/0.2547, allocations: 88.14 kB / 1.169 GB, free: 4.59 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.389e-05/0.2547, allocations: 15.84 kB / 1.169 GB, free: 4.574 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.134e-05/0.2548, allocations: 17.7 kB / 1.169 GB, free: 4.551 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.2549, allocations: 314.8 kB / 1.169 GB, free: 4.234 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.426e-05/0.2549, allocations: 12 kB / 1.169 GB, free: 4.223 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.917e-05/0.255, allocations: 29.64 kB / 1.169 GB, free: 4.188 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.994e-05/0.255, allocations: 45.7 kB / 1.169 GB, free: 4.137 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.255, allocations: 0 / 1.169 GB, free: 4.137 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.667e-05/0.2551, allocations: 65.62 kB / 1.169 GB, free: 4.066 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.2552, allocations: 7.938 kB / 1.169 GB, free: 4.059 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-06/0.2552, allocations: 0 / 1.169 GB, free: 4.059 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.2552, allocations: 7.938 kB / 1.169 GB, free: 4.051 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.05e-05/0.2552, allocations: 7.984 kB / 1.169 GB, free: 4.043 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.2552, allocations: 0 / 1.169 GB, free: 4.043 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.387e-05/0.2553, allocations: 64 / 1.169 GB, free: 4.043 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.07e-06/0.2553, allocations: 8.312 kB / 1.169 GB, free: 4.035 MB / 0.92 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.014e-05/0.2553, allocations: 113.8 kB / 1.169 GB, free: 3.914 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.403e-05/0.2554, allocations: 7.891 kB / 1.169 GB, free: 3.906 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000128/0.2555, allocations: 73.5 kB / 1.169 GB, free: 3.82 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.2555, allocations: 4 kB / 1.169 GB, free: 3.816 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.2555, allocations: 192 / 1.169 GB, free: 3.816 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.2555, allocations: 0 / 1.169 GB, free: 3.816 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001217/0.2556, allocations: 169.6 kB / 1.169 GB, free: 3.602 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.2557, allocations: 4 kB / 1.169 GB, free: 3.598 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.113e-05/0.2557, allocations: 4 kB / 1.169 GB, free: 3.594 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.2557, allocations: 3.938 kB / 1.169 GB, free: 3.59 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.163e-06/0.2557, allocations: 4 kB / 1.169 GB, free: 3.586 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.2557, allocations: 0 / 1.169 GB, free: 3.586 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.2557, allocations: 0 / 1.169 GB, free: 3.586 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001367/0.2559, allocations: 105 kB / 1.17 GB, free: 3.465 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.727e-05/0.2559, allocations: 89.03 kB / 1.17 GB, free: 3.359 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.315e-05/0.2559, allocations: 12.06 kB / 1.17 GB, free: 3.348 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.903e-05/0.256, allocations: 0 / 1.17 GB, free: 3.348 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.583e-05/0.256, allocations: 4 kB / 1.17 GB, free: 3.344 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.087e-06/0.256, allocations: 3.938 kB / 1.17 GB, free: 3.34 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.684e-05/0.2561, allocations: 91.27 kB / 1.17 GB, free: 3.25 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2561, allocations: 0 / 1.17 GB, free: 3.25 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.000198/0.2563, allocations: 16 kB / 1.17 GB, free: 3.234 MB / 0.92 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.0004548/0.2567, allocations: 0.6631 MB / 1.17 GB, free: 2.543 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 8.604e-05/0.2568, allocations: 31.92 kB / 1.17 GB, free: 2.512 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2568, allocations: 4 kB / 1.17 GB, free: 2.508 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 2.362e-05/0.2569, allocations: 15.98 kB / 1.17 GB, free: 2.492 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001234/0.257, allocations: 4 kB / 1.17 GB, free: 2.488 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009885/0.258, allocations: 1.24 MB / 1.172 GB, free: 1.16 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000265/0.2583, allocations: 0.6846 MB / 1.172 GB, free: 460 kB / 0.92 GB Notification: Performance of simCode: alias equations: time 2.219e-05/0.2583, allocations: 11.92 kB / 1.172 GB, free: 448 kB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.609e-05/0.2583, allocations: 11.44 kB / 1.172 GB, free: 436 kB / 0.92 GB Notification: Performance of SimCode: time 2.21e-07/0.2583, allocations: 3.938 kB / 1.172 GB, free: 432 kB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.951/2.209, allocations: 1.876 MB / 1.174 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.61/16.81, allocations: 10.02 kB / 1.174 GB, free: 14.68 MB / 0.9356 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=400 --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