Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Utilities.Math.Examples.Polynomial,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Polynomial,fileNamePrefix="Buildings_9_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.001043/0.001043, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001122/0.001122, allocations: 194.7 kB / 16.25 MB, free: 6.629 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.238/1.238, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.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.163/2.163, allocations: 390.2 MB / 0.6644 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 75.88 kB / 0.8122 GB, free: 14.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6244/0.6257, allocations: 140.4 MB / 0.9492 GB, free: 9.211 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.00217/0.6279, allocations: 1.479 MB / 0.9507 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002751/0.6282, allocations: 105.1 kB / 0.9508 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.284e-05/0.6282, allocations: 1.375 kB / 0.9508 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 6.607e-05/0.6283, allocations: 0 / 0.9508 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.478e-05/0.6284, allocations: 5.312 kB / 0.9508 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002477/0.6286, allocations: 13.48 kB / 0.9508 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.174e-05/0.6287, allocations: 26.92 kB / 0.9508 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.483e-05/0.6288, allocations: 2.75 kB / 0.9508 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.643e-05/0.6288, allocations: 6.75 kB / 0.9508 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.821e-05/0.6289, allocations: 16.03 kB / 0.9509 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.244e-05/0.6289, allocations: 6.75 kB / 0.9509 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.318e-05/0.629, allocations: 20.23 kB / 0.9509 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.793e-05/0.629, allocations: 6.734 kB / 0.9509 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.384e-05/0.629, allocations: 9.312 kB / 0.9509 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001064/0.6291, allocations: 38.89 kB / 0.9509 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.6292, allocations: 1.375 kB / 0.9509 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.372e-06/0.6292, allocations: 0 / 0.9509 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.6292, allocations: 0 / 0.9509 GB, free: 7.867 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003797/0.6296, allocations: 340.6 kB / 0.9513 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.6296, allocations: 13.38 kB / 0.9513 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.559e-05/0.6296, allocations: 35.72 kB / 0.9513 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.739e-05/0.6297, allocations: 6.875 kB / 0.9513 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.479e-05/0.6298, allocations: 170.2 kB / 0.9515 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.6298, allocations: 4.359 kB / 0.9515 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.102e-05/0.6298, allocations: 1.906 kB / 0.9515 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001683/0.63, allocations: 51.45 kB / 0.9515 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.63, allocations: 3.938 kB / 0.9515 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.534e-06/0.63, allocations: 3.938 kB / 0.9515 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.63, allocations: 5.25 kB / 0.9515 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001542/0.6302, allocations: 41.56 kB / 0.9516 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002579/0.6304, allocations: 256 kB / 0.9518 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001258/0.6306, allocations: 46.33 kB / 0.9519 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.384e-05/0.6306, allocations: 27.72 kB / 0.9519 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.595e-05/0.6307, allocations: 2.688 kB / 0.9519 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.841e-05/0.6307, allocations: 31.91 kB / 0.9519 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.6307, allocations: 0 / 0.9519 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003295/0.6311, allocations: 92.36 kB / 0.952 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.291e-05/0.6311, allocations: 56.41 kB / 0.9521 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.358e-05/0.6311, allocations: 105.6 kB / 0.9522 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.757e-06/0.6312, allocations: 26.77 kB / 0.9522 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.018e-05/0.6312, allocations: 85.08 kB / 0.9523 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.487e-05/0.6312, allocations: 5.875 kB / 0.9523 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.523e-05/0.6312, allocations: 15.36 kB / 0.9523 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.507e-05/0.6313, allocations: 315.9 kB / 0.9526 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.724e-05/0.6314, allocations: 17.95 kB / 0.9526 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.767e-05/0.6315, allocations: 23.16 kB / 0.9526 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001335/0.6316, allocations: 38.08 kB / 0.9527 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.6316, allocations: 5.281 kB / 0.9527 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001708/0.6318, allocations: 75.31 kB / 0.9528 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.6318, allocations: 4.312 kB / 0.9528 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.6318, allocations: 1.281 kB / 0.9528 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.6318, allocations: 0 / 0.9528 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.781e-05/0.6319, allocations: 11.02 kB / 0.9528 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.947e-06/0.6319, allocations: 0 / 0.9528 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.23e-05/0.632, allocations: 10.8 kB / 0.9528 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.448e-06/0.632, allocations: 1.344 kB / 0.9528 GB, free: 5.98 MB / 0.7169 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 4.267e-05/0.632, allocations: 116.5 kB / 0.9529 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.204e-05/0.632, allocations: 0.8438 kB / 0.9529 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001977/0.6322, allocations: 82.62 kB / 0.953 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.6322, allocations: 0 / 0.953 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.6323, allocations: 1.375 kB / 0.953 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.6323, allocations: 0 / 0.953 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001025/0.6324, allocations: 171.7 kB / 0.9531 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.6324, allocations: 1.25 kB / 0.9531 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.132e-05/0.6324, allocations: 13.23 kB / 0.9531 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.6324, allocations: 1.344 kB / 0.9531 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.6324, allocations: 256 / 0.9531 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.6325, allocations: 0 / 0.9531 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.6325, allocations: 5.219 kB / 0.9532 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001813/0.6326, allocations: 170 kB / 0.9533 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.408e-05/0.6327, allocations: 82.48 kB / 0.9534 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.045e-05/0.6327, allocations: 0 / 0.9534 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.822e-05/0.6328, allocations: 7.984 kB / 0.9534 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.029e-05/0.6328, allocations: 5.188 kB / 0.9534 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.967e-06/0.6328, allocations: 5.406 kB / 0.9534 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.336e-05/0.6328, allocations: 84.67 kB / 0.9535 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6328, allocations: 0 / 0.9535 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002099/0.633, allocations: 7.125 kB / 0.9535 GB, free: 5.227 MB / 0.7169 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.0003737/0.6334, allocations: 0.7067 MB / 0.9542 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001975/0.6336, allocations: 48.45 kB / 0.9542 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.6336, allocations: 4.094 kB / 0.9542 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.687e-05/0.6337, allocations: 16.67 kB / 0.9543 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002497/0.634, allocations: 10.83 kB / 0.9543 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003685/0.6344, allocations: 145.2 kB / 0.9544 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001073/0.6345, allocations: 0.682 MB / 0.9551 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.134e-05/0.6345, allocations: 5.469 kB / 0.9551 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.24e-05/0.6345, allocations: 12.88 kB / 0.9551 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of SimCode: time 2.61e-07/0.6345, allocations: 0 / 0.9551 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01138/0.6459, allocations: 1.273 MB / 0.9563 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001631/0.6461, allocations: 191.2 kB / 0.9565 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.554/2.2, allocations: 0 / 0.9565 GB, free: 2.703 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Math.Examples.Polynomial.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.Polynomial.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.Polynomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Examples.Polynomial_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Examples_Polynomial_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Examples_Polynomial.fmu > Buildings_9_Buildings.Utilities.Math.Examples.Polynomial.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_Polynomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.Polynomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches