Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,fileNamePrefix="Buildings_11_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.004827/0.004827, allocations: 99.98 kB / 15.73 MB, free: 6.043 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.001373/0.001373, allocations: 202.1 kB / 16.68 MB, free: 5.965 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.298/1.298, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.565/2.565, allocations: 469.8 MB / 0.7425 GB, free: 7.316 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001632/0.001632, allocations: 63.91 kB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.247/0.2487, allocations: 159.1 MB / 1.22 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.001357/0.2501, allocations: 0.5204 MB / 1.221 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0004128/0.2505, allocations: 189.1 kB / 1.221 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.744e-05/0.2505, allocations: 0 / 1.221 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.803e-05/0.2505, allocations: 4 kB / 1.221 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 2.952e-05/0.2506, allocations: 0 / 1.221 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003126/0.2509, allocations: 67.78 kB / 1.221 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 4.683e-05/0.251, allocations: 11.98 kB / 1.221 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 2.818e-05/0.251, allocations: 0 / 1.221 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.616e-05/0.251, allocations: 7.938 kB / 1.221 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 2.143e-05/0.251, allocations: 7.984 kB / 1.221 GB, free: 13.53 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.348e-06/0.2511, allocations: 4 kB / 1.221 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002078/0.2513, allocations: 131.8 kB / 1.221 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.2e-05/0.2513, allocations: 3.984 kB / 1.221 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.735e-05/0.2513, allocations: 7.938 kB / 1.221 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001429/0.2515, allocations: 75.7 kB / 1.221 GB, free: 13.31 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.2515, allocations: 8 kB / 1.221 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.122e-06/0.2515, allocations: 0 / 1.221 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.547e-06/0.2515, allocations: 0 / 1.221 GB, free: 13.3 MB / 0.9825 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.0003262/0.2518, allocations: 339.4 kB / 1.221 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 2.982e-05/0.2519, allocations: 8.031 kB / 1.221 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.792e-05/0.2519, allocations: 30.75 kB / 1.222 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.295e-05/0.2519, allocations: 8.938 kB / 1.222 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001116/0.2521, allocations: 172.3 kB / 1.222 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.2521, allocations: 4.375 kB / 1.222 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.084e-05/0.2521, allocations: 4.375 kB / 1.222 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.25e-05/0.2522, allocations: 42.14 kB / 1.222 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.2522, allocations: 7.922 kB / 1.222 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.482e-06/0.2522, allocations: 4 kB / 1.222 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.436e-06/0.2522, allocations: 0 / 1.222 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.288e-05/0.2522, allocations: 8 kB / 1.222 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001555/0.2524, allocations: 157.7 kB / 1.222 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 5.003e-05/0.2525, allocations: 30.56 kB / 1.222 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.852e-05/0.2525, allocations: 16.86 kB / 1.222 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.094e-05/0.2525, allocations: 4 kB / 1.222 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.311e-05/0.2525, allocations: 30.56 kB / 1.222 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.2526, allocations: 0 / 1.222 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0004641/0.253, allocations: 302.3 kB / 1.222 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.726e-05/0.2531, allocations: 55.62 kB / 1.222 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.459e-05/0.2531, allocations: 109.8 kB / 1.222 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.353e-05/0.2532, allocations: 25.7 kB / 1.222 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.222e-05/0.2532, allocations: 84.14 kB / 1.223 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.938e-05/0.2532, allocations: 15.89 kB / 1.223 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.853e-05/0.2533, allocations: 17.72 kB / 1.223 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.2534, allocations: 310.8 kB / 1.223 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.446e-05/0.2534, allocations: 15.98 kB / 1.223 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.179e-05/0.2535, allocations: 29.7 kB / 1.223 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.716e-05/0.2535, allocations: 37.66 kB / 1.223 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.2535, allocations: 0 / 1.223 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.77e-05/0.2536, allocations: 65.67 kB / 1.223 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.2536, allocations: 11.94 kB / 1.223 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-06/0.2536, allocations: 3.938 kB / 1.223 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.706e-06/0.2537, allocations: 64 / 1.223 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.772e-05/0.2537, allocations: 12 kB / 1.223 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.397e-06/0.2537, allocations: 0 / 1.223 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.425e-05/0.2537, allocations: 4 kB / 1.223 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.583e-06/0.2537, allocations: 4 kB / 1.223 GB, free: 11.08 MB / 0.9825 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.125e-05/0.2538, allocations: 113.8 kB / 1.223 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.432e-05/0.2538, allocations: 11.89 kB / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001199/0.254, allocations: 73.52 kB / 1.223 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.254, allocations: 8.062 kB / 1.223 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.254, allocations: 4 kB / 1.223 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.254, allocations: 3.984 kB / 1.223 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001146/0.2541, allocations: 169.7 kB / 1.223 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.2541, allocations: 0 / 1.223 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.251e-05/0.2542, allocations: 7.984 kB / 1.223 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.2542, allocations: 3.938 kB / 1.223 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.35e-06/0.2542, allocations: 0 / 1.223 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.2542, allocations: 4 kB / 1.223 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.2542, allocations: 0 / 1.223 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001359/0.2543, allocations: 105.1 kB / 1.224 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.906e-05/0.2544, allocations: 85 kB / 1.224 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.056e-05/0.2544, allocations: 4.031 kB / 1.224 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.084e-05/0.2545, allocations: 3.984 kB / 1.224 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.366e-06/0.2545, allocations: 0 / 1.224 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.2545, allocations: 4 kB / 1.224 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.542e-05/0.2545, allocations: 91.52 kB / 1.224 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.2545, allocations: 0 / 1.224 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001844/0.2547, allocations: 16 kB / 1.224 GB, free: 10.27 MB / 0.9825 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.2552, allocations: 0.6598 MB / 1.224 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.204e-05/0.2553, allocations: 31.92 kB / 1.224 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.2553, allocations: 0 / 1.224 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.637e-05/0.2553, allocations: 19.98 kB / 1.224 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001227/0.2554, allocations: 9.688 kB / 1.224 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009463/0.2564, allocations: 1.256 MB / 1.226 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002523/0.2567, allocations: 0.6768 MB / 1.226 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.214e-05/0.2567, allocations: 8.141 kB / 1.226 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.468e-05/0.2567, allocations: 15.44 kB / 1.226 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of SimCode: time 2.3e-07/0.2567, allocations: 0 / 1.226 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.177/1.433, allocations: 1.88 MB / 1.228 GB, free: 5.715 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.078/10.51, allocations: 11.86 kB / 1.228 GB, free: 5.703 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck_fmu --startTime=0 --stopTime=4 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck.fmu > Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches