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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.007287/0.007287, allocations: 103.2 kB / 15.73 MB, free: 6.059 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.001747/0.001747, allocations: 190.5 kB / 16.67 MB, free: 5.977 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.306/1.306, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.055/2.055, allocations: 390.3 MB / 0.6648 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001139/0.001139, allocations: 71.89 kB / 0.9504 GB, free: 8.137 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6764/0.6776, allocations: 140.4 MB / 1.087 GB, free: 5.258 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.001339/0.6789, allocations: 0.5238 MB / 1.088 GB, free: 4.938 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0003832/0.6793, allocations: 194.1 kB / 1.088 GB, free: 4.82 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.66e-05/0.6794, allocations: 0 / 1.088 GB, free: 4.82 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.955e-05/0.6794, allocations: 0 / 1.088 GB, free: 4.82 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.653e-05/0.6794, allocations: 1.219 kB / 1.088 GB, free: 4.82 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003375/0.6798, allocations: 65.8 kB / 1.088 GB, free: 4.793 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 4.422e-05/0.6798, allocations: 15.81 kB / 1.088 GB, free: 4.785 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.173e-05/0.6799, allocations: 5.547 kB / 1.088 GB, free: 4.781 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.532e-05/0.6799, allocations: 3.875 kB / 1.088 GB, free: 4.781 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 2.122e-05/0.6799, allocations: 7.078 kB / 1.088 GB, free: 4.777 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.657e-06/0.6799, allocations: 1.25 kB / 1.088 GB, free: 4.777 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001938/0.6801, allocations: 136.8 kB / 1.088 GB, free: 4.734 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.396e-05/0.6802, allocations: 7.469 kB / 1.088 GB, free: 4.73 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.279e-05/0.6802, allocations: 6.891 kB / 1.088 GB, free: 4.727 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001518/0.6803, allocations: 76.86 kB / 1.088 GB, free: 4.699 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.6804, allocations: 0 / 1.088 GB, free: 4.699 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.142e-06/0.6804, allocations: 5.281 kB / 1.088 GB, free: 4.695 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.927e-06/0.6804, allocations: 0 / 1.088 GB, free: 4.695 MB / 0.8575 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.0002292/0.6806, allocations: 338.3 kB / 1.089 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.12e-05/0.6806, allocations: 9.594 kB / 1.089 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.074e-05/0.6807, allocations: 31.27 kB / 1.089 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.309e-05/0.6807, allocations: 3.281 kB / 1.089 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.699e-05/0.6808, allocations: 172.3 kB / 1.089 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.173e-06/0.6808, allocations: 8.375 kB / 1.089 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.796e-05/0.6808, allocations: 2.656 kB / 1.089 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.654e-05/0.6809, allocations: 39.75 kB / 1.089 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.952e-06/0.6809, allocations: 3.938 kB / 1.089 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.093e-06/0.6809, allocations: 1.094 kB / 1.089 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.326e-06/0.6809, allocations: 0 / 1.089 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.403e-05/0.6809, allocations: 10.42 kB / 1.089 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001039/0.6811, allocations: 159.1 kB / 1.089 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 3.401e-05/0.6811, allocations: 31.12 kB / 1.089 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.619e-05/0.6811, allocations: 15.48 kB / 1.089 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.755e-05/0.6811, allocations: 5.109 kB / 1.089 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.067e-05/0.6812, allocations: 32.44 kB / 1.089 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.6812, allocations: 0 / 1.089 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.000409/0.6816, allocations: 303.8 kB / 1.09 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.621e-05/0.6816, allocations: 52.75 kB / 1.09 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.905e-05/0.6817, allocations: 111.9 kB / 1.09 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.144e-06/0.6817, allocations: 26.73 kB / 1.09 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.793e-05/0.6817, allocations: 90.38 kB / 1.09 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.821e-05/0.6817, allocations: 10.67 kB / 1.09 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.542e-05/0.6818, allocations: 18.23 kB / 1.09 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.069e-05/0.6818, allocations: 317.7 kB / 1.09 GB, free: 2.867 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.36e-05/0.6818, allocations: 15.47 kB / 1.09 GB, free: 2.863 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.702e-05/0.6818, allocations: 27.11 kB / 1.09 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.791e-05/0.6819, allocations: 42.56 kB / 1.09 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/0.6819, allocations: 0 / 1.09 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.036e-05/0.682, allocations: 66.8 kB / 1.09 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.682, allocations: 9.281 kB / 1.09 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.682, allocations: 1.031 kB / 1.09 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.682, allocations: 1.609 kB / 1.09 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.193e-05/0.6821, allocations: 11.25 kB / 1.09 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.6821, allocations: 1.094 kB / 1.09 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.43e-05/0.6821, allocations: 4.516 kB / 1.09 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-06/0.6821, allocations: 6.062 kB / 1.09 GB, free: 2.766 MB / 0.8575 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 4.042e-05/0.6822, allocations: 110.6 kB / 1.09 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.165e-05/0.6822, allocations: 9.875 kB / 1.09 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001102/0.6823, allocations: 74.86 kB / 1.091 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.6823, allocations: 5.188 kB / 1.091 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.6823, allocations: 4.797 kB / 1.091 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.6823, allocations: 0 / 1.091 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.705e-05/0.6824, allocations: 164.2 kB / 1.091 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.6824, allocations: 0.9688 kB / 1.091 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.343e-05/0.6825, allocations: 5.328 kB / 1.091 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.6825, allocations: 5 kB / 1.091 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.741e-06/0.6825, allocations: 1.688 kB / 1.091 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.6825, allocations: 4 kB / 1.091 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.6825, allocations: 0 / 1.091 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001181/0.6826, allocations: 104.7 kB / 1.091 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.391e-05/0.6826, allocations: 87.78 kB / 1.091 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.091e-05/0.6826, allocations: 0.5625 kB / 1.091 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.115e-05/0.6827, allocations: 2.031 kB / 1.091 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.497e-05/0.6827, allocations: 2.391 kB / 1.091 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.6827, allocations: 1.344 kB / 1.091 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.718e-05/0.6827, allocations: 89.28 kB / 1.091 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.6828, allocations: 1.125 kB / 1.091 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002036/0.683, allocations: 15.83 kB / 1.091 GB, free: 2.129 MB / 0.8575 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.0003385/0.6833, allocations: 0.6693 MB / 1.092 GB, free: 17.51 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 8.779e-05/0.6834, allocations: 31.47 kB / 1.092 GB, free: 17.51 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.6834, allocations: 1.25 kB / 1.092 GB, free: 17.51 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 2.124e-05/0.6834, allocations: 17.08 kB / 1.092 GB, free: 17.5 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001313/0.6836, allocations: 10.88 kB / 1.092 GB, free: 17.5 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008584/0.6844, allocations: 1.24 MB / 1.093 GB, free: 16.35 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001797/0.6846, allocations: 0.6811 MB / 1.094 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 2.3e-05/0.6847, allocations: 7.812 kB / 1.094 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.385e-05/0.6847, allocations: 15.03 kB / 1.094 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of SimCode: time 3.11e-07/0.6847, allocations: 3.938 kB / 1.094 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.529/3.214, allocations: 1.876 MB / 1.095 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.441/11.66, allocations: 9.406 kB / 1.095 GB, free: 15.27 MB / 0.8731 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