Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Functions.Examples.Polynomial,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_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.0008582/0.0008582, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.005211/0.005211, allocations: 171.7 kB / 16.26 MB, free: 6.613 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.202/1.202, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.135/2.135, allocations: 390.9 MB / 0.6664 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003272/0.0003272, allocations: 12 kB / 0.8161 GB, free: 13.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.528/0.5283, allocations: 142.4 MB / 0.9552 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.0006054/0.529, allocations: 315.5 kB / 0.9555 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002155/0.5292, allocations: 37.91 kB / 0.9555 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.698e-06/0.5292, allocations: 0 / 0.9555 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.355e-05/0.5292, allocations: 0 / 0.9555 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.539e-06/0.5293, allocations: 4 kB / 0.9555 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000209/0.5295, allocations: 9.828 kB / 0.9555 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.154e-05/0.5295, allocations: 10.2 kB / 0.9555 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.576e-05/0.5295, allocations: 1.188 kB / 0.9555 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.571e-05/0.5296, allocations: 1.25 kB / 0.9555 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.765e-05/0.5296, allocations: 4.719 kB / 0.9555 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.106e-06/0.5296, allocations: 0 / 0.9555 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.598e-05/0.5297, allocations: 15.02 kB / 0.9556 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.985e-06/0.5297, allocations: 1.281 kB / 0.9556 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.01e-05/0.5297, allocations: 25.7 kB / 0.9556 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.296e-05/0.5298, allocations: 19 kB / 0.9556 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.5298, allocations: 0 / 0.9556 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.252e-06/0.5298, allocations: 0 / 0.9556 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.167e-06/0.5299, allocations: 1.312 kB / 0.9556 GB, free: 7.469 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001833/0.53, allocations: 318.2 kB / 0.9559 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.5301, allocations: 9.656 kB / 0.9559 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.115e-05/0.5301, allocations: 30.75 kB / 0.9559 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.777e-05/0.5301, allocations: 0.9375 kB / 0.9559 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.44e-05/0.5302, allocations: 164.4 kB / 0.9561 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.195e-06/0.5302, allocations: 5.5 kB / 0.9561 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.018e-05/0.5302, allocations: 4.312 kB / 0.9561 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.984e-05/0.5303, allocations: 29.02 kB / 0.9561 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.012e-06/0.5303, allocations: 3.938 kB / 0.9561 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.662e-06/0.5303, allocations: 0 / 0.9561 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.5303, allocations: 1.312 kB / 0.9561 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.761e-05/0.5303, allocations: 1.188 kB / 0.9561 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.718e-05/0.5304, allocations: 155.1 kB / 0.9563 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 2.683e-05/0.5305, allocations: 23.91 kB / 0.9563 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.245e-05/0.5305, allocations: 6.984 kB / 0.9563 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.842e-05/0.5305, allocations: 1.125 kB / 0.9563 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.229e-05/0.5305, allocations: 31.62 kB / 0.9564 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/0.5305, allocations: 3.938 kB / 0.9564 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 9.104e-05/0.5306, allocations: 47.44 kB / 0.9564 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.5e-05/0.5306, allocations: 52.75 kB / 0.9565 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.245e-05/0.5307, allocations: 93.98 kB / 0.9565 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.749e-06/0.5307, allocations: 25.7 kB / 0.9566 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.324e-06/0.5307, allocations: 84.12 kB / 0.9566 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.861e-05/0.5307, allocations: 5.406 kB / 0.9567 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.569e-05/0.5307, allocations: 9.719 kB / 0.9567 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.275e-05/0.5308, allocations: 310.8 kB / 0.957 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.993e-06/0.5308, allocations: 1.531 kB / 0.957 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.919e-06/0.5308, allocations: 1.25 kB / 0.957 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.287e-05/0.5308, allocations: 15.7 kB / 0.957 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.5308, allocations: 1.344 kB / 0.957 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.356e-05/0.5309, allocations: 38.41 kB / 0.957 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.042e-05/0.5309, allocations: 5.781 kB / 0.957 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.5309, allocations: 3.938 kB / 0.957 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.604e-06/0.5309, allocations: 0 / 0.957 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.957e-05/0.5309, allocations: 2.406 kB / 0.957 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.366e-06/0.531, allocations: 0 / 0.957 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.179e-05/0.531, allocations: 1.156 kB / 0.957 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.531, allocations: 1.281 kB / 0.957 GB, free: 5.828 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 (1): * Single equations (assignments): 1 * 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 3.425e-05/0.531, allocations: 111 kB / 0.9571 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.533e-06/0.531, allocations: 4 kB / 0.9571 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.986e-05/0.5311, allocations: 47.94 kB / 0.9572 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-06/0.5311, allocations: 0 / 0.9572 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.5311, allocations: 0 / 0.9572 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.5311, allocations: 1.406 kB / 0.9572 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.432e-05/0.5312, allocations: 153.6 kB / 0.9573 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.5312, allocations: 1.312 kB / 0.9573 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.504e-05/0.5312, allocations: 1.312 kB / 0.9573 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.5312, allocations: 1.5 kB / 0.9573 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.939e-06/0.5312, allocations: 7.875 kB / 0.9573 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.5312, allocations: 0 / 0.9573 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.5312, allocations: 1.031 kB / 0.9573 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.654e-05/0.5313, allocations: 63.06 kB / 0.9574 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.351e-05/0.5313, allocations: 78.58 kB / 0.9575 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.807e-06/0.5313, allocations: 7.875 kB / 0.9575 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.131e-05/0.5313, allocations: 1.281 kB / 0.9575 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.174e-05/0.5314, allocations: 0 / 0.9575 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.848e-06/0.5314, allocations: 1.031 kB / 0.9575 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.217e-06/0.5314, allocations: 76.78 kB / 0.9576 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9.1e-08/0.5314, allocations: 0 / 0.9576 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002183/0.5316, allocations: 4.625 kB / 0.9576 GB, free: 5.203 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 (1): * Single equations (assignments): 1 * 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.0002042/0.5318, allocations: 0.6063 MB / 0.9582 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 4.744e-05/0.5319, allocations: 12.17 kB / 0.9582 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.5319, allocations: 0 / 0.9582 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.464e-06/0.5319, allocations: 1.656 kB / 0.9582 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001158/0.532, allocations: 6.828 kB / 0.9582 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000203/0.5322, allocations: 99.33 kB / 0.9583 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.7e-05/0.5323, allocations: 0.6745 MB / 0.9589 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.194e-05/0.5323, allocations: 1.375 kB / 0.9589 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.808e-05/0.5323, allocations: 9.125 kB / 0.9589 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of SimCode: time 2.71e-07/0.5324, allocations: 4 kB / 0.9589 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009118/0.5415, allocations: 0.8299 MB / 0.9598 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001553/0.5416, allocations: 203.7 kB / 0.96 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.647/2.189, allocations: 0 / 0.96 GB, free: 3.105 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Functions_Examples_Polynomial_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Functions_Examples_Polynomial.fmu > Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_Polynomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches