Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Examples.Polynomial.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.Utilities.Math.Examples.Polynomial,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Polynomial,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_Polynomial",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.006935/0.006936, allocations: 101 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.001805/0.001806, allocations: 195.7 kB / 16.68 MB, free: 5.969 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.43/1.43, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.325/2.325, allocations: 437.1 MB / 0.7105 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001835/0.001835, allocations: 67.89 kB / 1.018 GB, free: 9.875 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6929/0.6948, allocations: 151.6 MB / 1.166 GB, free: 3.75 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.002383/0.6972, allocations: 1.433 MB / 1.168 GB, free: 2.305 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0003328/0.6975, allocations: 99.08 kB / 1.168 GB, free: 2.207 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.515e-05/0.6976, allocations: 0 / 1.168 GB, free: 2.207 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 6.481e-05/0.6977, allocations: 3.938 kB / 1.168 GB, free: 2.203 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 3.582e-05/0.6977, allocations: 11.92 kB / 1.168 GB, free: 2.191 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002421/0.698, allocations: 15.98 kB / 1.168 GB, free: 2.176 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 7.155e-05/0.698, allocations: 23.92 kB / 1.168 GB, free: 2.152 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001274/0.6982, allocations: 4 kB / 1.168 GB, free: 2.148 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 5.234e-05/0.6982, allocations: 15.92 kB / 1.168 GB, free: 2.133 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.306e-05/0.6983, allocations: 7.984 kB / 1.168 GB, free: 2.125 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.294e-05/0.6983, allocations: 0 / 1.168 GB, free: 2.125 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001063/0.6984, allocations: 23.98 kB / 1.168 GB, free: 2.102 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.369e-05/0.6985, allocations: 11.92 kB / 1.168 GB, free: 2.09 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.594e-05/0.6985, allocations: 7.938 kB / 1.168 GB, free: 2.082 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001344/0.6986, allocations: 47.81 kB / 1.168 GB, free: 2.035 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.6986, allocations: 0 / 1.168 GB, free: 2.035 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.523e-06/0.6986, allocations: 0 / 1.168 GB, free: 2.035 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.6987, allocations: 4 kB / 1.168 GB, free: 2.031 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000491/0.6991, allocations: 347 kB / 1.168 GB, free: 1.645 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.6992, allocations: 16.86 kB / 1.168 GB, free: 1.629 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.452e-05/0.6992, allocations: 30.75 kB / 1.168 GB, free: 1.59 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.284e-05/0.6993, allocations: 4.938 kB / 1.168 GB, free: 1.586 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001514/0.6994, allocations: 168.4 kB / 1.168 GB, free: 1.383 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.437e-06/0.6994, allocations: 384 / 1.168 GB, free: 1.383 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.441e-05/0.6995, allocations: 384 / 1.168 GB, free: 1.383 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001771/0.6996, allocations: 50.23 kB / 1.168 GB, free: 1.328 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.978e-06/0.6997, allocations: 7.938 kB / 1.168 GB, free: 1.32 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.223e-06/0.6997, allocations: 0 / 1.168 GB, free: 1.32 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.6997, allocations: 0 / 1.168 GB, free: 1.32 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001759/0.6999, allocations: 43.91 kB / 1.168 GB, free: 1.277 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000333/0.7002, allocations: 252.9 kB / 1.169 GB, free: 0.9805 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001306/0.7003, allocations: 46.48 kB / 1.169 GB, free: 0.9258 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.719e-05/0.7004, allocations: 24.91 kB / 1.169 GB, free: 0.8984 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.572e-05/0.7005, allocations: 0 / 1.169 GB, free: 0.8984 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.636e-05/0.7005, allocations: 38.56 kB / 1.169 GB, free: 0.8516 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.7005, allocations: 3.938 kB / 1.169 GB, free: 0.8477 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0003415/0.7009, allocations: 81.64 kB / 1.169 GB, free: 0.7617 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.802e-05/0.7009, allocations: 55.41 kB / 1.169 GB, free: 0.6953 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.737e-05/0.701, allocations: 109.8 kB / 1.169 GB, free: 0.5781 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.596e-05/0.701, allocations: 29.83 kB / 1.169 GB, free: 0.543 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.008e-05/0.7011, allocations: 84.14 kB / 1.169 GB, free: 468 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.547e-05/0.7011, allocations: 7.938 kB / 1.169 GB, free: 460 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.172e-05/0.7011, allocations: 13.72 kB / 1.169 GB, free: 440 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.7013, allocations: 314.8 kB / 1.17 GB, free: 116 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.388e-05/0.7014, allocations: 15.98 kB / 1.17 GB, free: 100 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.955e-05/0.7015, allocations: 23.97 kB / 1.17 GB, free: 76 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001556/0.7016, allocations: 44.83 kB / 1.17 GB, free: 28 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.7016, allocations: 7.875 kB / 1.17 GB, free: 20 kB / 0.8887 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.00021/0.7018, allocations: 65.72 kB / 1.17 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.7019, allocations: 8 kB / 1.17 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.908e-06/0.7019, allocations: 0 / 1.17 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.7019, allocations: 4.031 kB / 1.17 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.063e-05/0.702, allocations: 11.98 kB / 1.17 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.702, allocations: 0 / 1.17 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.674e-05/0.702, allocations: 15.88 kB / 1.17 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.679e-06/0.7021, allocations: 0 / 1.17 GB, free: 15.91 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * 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 8.124e-05/0.7021, allocations: 109.8 kB / 1.17 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.311e-05/0.7022, allocations: 4 kB / 1.17 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000237/0.7024, allocations: 81.12 kB / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.7024, allocations: 3.984 kB / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.7024, allocations: 0 / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.7024, allocations: 7.922 kB / 1.17 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001766/0.7026, allocations: 165.5 kB / 1.17 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.7026, allocations: 0 / 1.17 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.63e-05/0.7027, allocations: 11.98 kB / 1.17 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.7027, allocations: 0 / 1.17 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.7027, allocations: 0 / 1.17 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.7027, allocations: 32 / 1.17 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.7027, allocations: 4 kB / 1.17 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002579/0.703, allocations: 171.4 kB / 1.17 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.417e-05/0.703, allocations: 81.06 kB / 1.17 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.164e-05/0.7031, allocations: 0 / 1.17 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.355e-05/0.7031, allocations: 8.234 kB / 1.17 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.999e-05/0.7032, allocations: 12.03 kB / 1.17 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-06/0.7032, allocations: 4 kB / 1.17 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.9e-05/0.7032, allocations: 83.27 kB / 1.17 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7032, allocations: 0 / 1.17 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002185/0.7035, allocations: 8 kB / 1.17 GB, free: 15.07 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (2): * Single equations (assignments): 2 * 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.0005929/0.7041, allocations: 0.7046 MB / 1.171 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002125/0.7043, allocations: 43.89 kB / 1.171 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.7043, allocations: 0 / 1.171 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 8.761e-05/0.7044, allocations: 19.97 kB / 1.171 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000255/0.7047, allocations: 16.09 kB / 1.171 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003797/0.705, allocations: 131.1 kB / 1.171 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002824/0.7053, allocations: 0.6807 MB / 1.172 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.011e-05/0.7054, allocations: 0 / 1.172 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.971e-05/0.7054, allocations: 15.42 kB / 1.172 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of SimCode: time 2.11e-07/0.7054, allocations: 0 / 1.172 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2159/0.9213, allocations: 1.427 MB / 1.173 GB, free: 12.01 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.357/10.28, allocations: 6.891 kB / 1.173 GB, free: 12.01 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Utilities.Math.Examples.Polynomial.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.Polynomial.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.Polynomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Examples.Polynomial_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Examples_Polynomial_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Examples_Polynomial.fmu > Buildings_10_Buildings.Utilities.Math.Examples.Polynomial.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_Polynomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.Polynomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches