Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007985/0.0007985, allocations: 80.44 kB / 19.17 MB, free: 0.7344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008681/0.0008681, allocations: 165.9 kB / 22.45 MB, free: 2.102 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8908/0.8908, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.662/1.662, allocations: 359 MB / 0.6037 GB, free: 11.08 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.9505 GB, free: 3.434 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.339e-05/1.495e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.43 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.001089/0.001104, allocations: 0.5988 MB / 0.9511 GB, free: 2.828 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0002038/0.001308, allocations: 35.83 kB / 0.9512 GB, free: 2.793 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.454e-05/0.001322, allocations: 0 / 0.9512 GB, free: 2.793 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 1.537e-05/0.001338, allocations: 0 / 0.9512 GB, free: 2.793 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.693e-06/0.001344, allocations: 0 / 0.9512 GB, free: 2.793 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003214/0.001666, allocations: 11.98 kB / 0.9512 GB, free: 2.781 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 4.631e-05/0.001712, allocations: 4 kB / 0.9512 GB, free: 2.777 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 4.528e-05/0.001757, allocations: 0 / 0.9512 GB, free: 2.777 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 3.028e-05/0.001788, allocations: 0 / 0.9512 GB, free: 2.777 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 3.044e-05/0.001818, allocations: 4 kB / 0.9512 GB, free: 2.773 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.418e-05/0.001832, allocations: 3.938 kB / 0.9512 GB, free: 2.77 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 8.85e-05/0.001921, allocations: 23.97 kB / 0.9512 GB, free: 2.746 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 9.017e-06/0.00193, allocations: 0 / 0.9512 GB, free: 2.746 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.375e-05/0.001944, allocations: 0 / 0.9512 GB, free: 2.746 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.000104/0.002048, allocations: 27.89 kB / 0.9512 GB, free: 2.719 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.823e-06/0.002049, allocations: 0 / 0.9512 GB, free: 2.719 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.122e-06/0.00205, allocations: 0 / 0.9512 GB, free: 2.719 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.002055, allocations: 0 / 0.9512 GB, free: 2.719 MB / 0.9011 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.0002515/0.002306, allocations: 238.4 kB / 0.9515 GB, free: 2.453 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.002346, allocations: 8.031 kB / 0.9515 GB, free: 2.445 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.808e-05/0.002374, allocations: 34.75 kB / 0.9515 GB, free: 2.402 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.124e-05/0.002395, allocations: 0.9375 kB / 0.9515 GB, free: 2.402 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.917e-05/0.002454, allocations: 113.8 kB / 0.9516 GB, free: 2.266 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.002464, allocations: 384 / 0.9516 GB, free: 2.266 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.274e-06/0.002472, allocations: 384 / 0.9516 GB, free: 2.266 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.805e-05/0.00256, allocations: 30.27 kB / 0.9516 GB, free: 2.23 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.002566, allocations: 192 / 0.9516 GB, free: 2.23 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.324e-06/0.002574, allocations: 384 / 0.9516 GB, free: 2.23 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.002579, allocations: 4.125 kB / 0.9516 GB, free: 2.227 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.046e-05/0.0026, allocations: 7.938 kB / 0.9517 GB, free: 2.219 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001093/0.002709, allocations: 116.7 kB / 0.9518 GB, free: 2.062 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 3.696e-05/0.002746, allocations: 26.59 kB / 0.9518 GB, free: 2.027 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.435e-05/0.00276, allocations: 8.859 kB / 0.9518 GB, free: 2.016 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 3.23e-05/0.002792, allocations: 0 / 0.9518 GB, free: 2.016 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.763e-05/0.00281, allocations: 34.62 kB / 0.9518 GB, free: 1.973 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=1): time 5.21e-07/0.002811, allocations: 0 / 0.9518 GB, free: 1.973 MB / 0.9011 GB Notification: Performance of matching and sorting (n=1): time 0.0001065/0.002917, allocations: 33.64 kB / 0.9519 GB, free: 1.934 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.911e-05/0.002946, allocations: 55.34 kB / 0.9519 GB, free: 1.867 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.356e-05/0.00297, allocations: 93.8 kB / 0.952 GB, free: 1.766 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.076e-05/0.00298, allocations: 29.7 kB / 0.952 GB, free: 1.73 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 1.731e-05/0.002998, allocations: 80.14 kB / 0.9521 GB, free: 1.648 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 2.37e-05/0.003022, allocations: 7.984 kB / 0.9521 GB, free: 1.641 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.077e-05/0.003042, allocations: 13.84 kB / 0.9521 GB, free: 1.621 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.193e-05/0.003114, allocations: 314.8 kB / 0.9524 GB, free: 1.305 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.864e-06/0.003122, allocations: 0 / 0.9524 GB, free: 1.305 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.14e-06/0.003127, allocations: 0 / 0.9524 GB, free: 1.305 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.273e-05/0.00315, allocations: 8.859 kB / 0.9524 GB, free: 1.293 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.003151, allocations: 0 / 0.9524 GB, free: 1.293 MB / 0.9011 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.842e-05/0.00319, allocations: 49.62 kB / 0.9525 GB, free: 1.238 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.055e-05/0.0032, allocations: 4 kB / 0.9525 GB, free: 1.234 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.003205, allocations: 0 / 0.9525 GB, free: 1.234 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.003216, allocations: 4.094 kB / 0.9525 GB, free: 1.23 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.04e-05/0.003266, allocations: 4 kB / 0.9525 GB, free: 1.227 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.003272, allocations: 3.938 kB / 0.9525 GB, free: 1.223 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.354e-06/0.003279, allocations: 0 / 0.9525 GB, free: 1.223 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.00329, allocations: 0 / 0.9525 GB, free: 1.223 MB / 0.9011 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 4.749e-05/0.003338, allocations: 109.8 kB / 0.9526 GB, free: 1.105 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.106e-06/0.003341, allocations: 0 / 0.9526 GB, free: 1.105 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.913e-05/0.00341, allocations: 40.69 kB / 0.9526 GB, free: 1.062 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.003412, allocations: 4.031 kB / 0.9527 GB, free: 1.059 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.003417, allocations: 11.88 kB / 0.9527 GB, free: 1.047 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.923e-06/0.003419, allocations: 0 / 0.9527 GB, free: 1.047 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.865e-05/0.003477, allocations: 120.7 kB / 0.9528 GB, free: 0.8867 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.003479, allocations: 3.984 kB / 0.9528 GB, free: 0.8828 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.568e-06/0.003488, allocations: 4 kB / 0.9528 GB, free: 0.8789 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.01e-07/0.003489, allocations: 0 / 0.9528 GB, free: 0.8789 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.689e-06/0.003494, allocations: 0 / 0.9528 GB, free: 0.8789 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.003495, allocations: 0 / 0.9528 GB, free: 0.8789 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.003497, allocations: 3.938 kB / 0.9528 GB, free: 0.875 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.087e-05/0.003537, allocations: 61.12 kB / 0.9528 GB, free: 0.7969 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 5.541e-06/0.003543, allocations: 4 kB / 0.9529 GB, free: 0.793 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001508/0.003694, allocations: 0 / 0.9529 GB, free: 0.793 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.873e-06/0.003701, allocations: 4 kB / 0.9529 GB, free: 0.7891 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.204e-05/0.003713, allocations: 3.938 kB / 0.9529 GB, free: 0.7852 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/0.003716, allocations: 3.938 kB / 0.9529 GB, free: 0.7812 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 1.857e-05/0.003734, allocations: 75.28 kB / 0.9529 GB, free: 0.707 MB / 0.9011 GB Notification: Performance of sort global known variables: time 5e-08/0.003734, allocations: 0 / 0.9529 GB, free: 0.707 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0001321/0.003866, allocations: 7.938 kB / 0.9529 GB, free: 0.6992 MB / 0.9011 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.0002551/0.004122, allocations: 0.6008 MB / 0.9535 GB, free: 68 kB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 5.642e-05/0.004178, allocations: 4 kB / 0.9535 GB, free: 64 kB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.004179, allocations: 0 / 0.9535 GB, free: 64 kB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 5.831e-06/0.004185, allocations: 7.984 kB / 0.9535 GB, free: 56 kB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.942e-05/0.004285, allocations: 13.53 kB / 0.9536 GB, free: 44 kB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002475/0.004532, allocations: 110.8 kB / 0.9537 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.564e-05/0.004568, allocations: 55.36 kB / 0.9537 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.03e-05/0.004588, allocations: 4.125 kB / 0.9537 GB, free: 15.81 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.385e-05/0.004612, allocations: 16.48 kB / 0.9537 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of SimCode: time 3.81e-07/0.004612, allocations: 0 / 0.9537 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01251/0.01712, allocations: 1.657 MB / 0.9553 GB, free: 14.27 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.55/6.567, allocations: 2.234 kB / 0.9554 GB, free: 14.27 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Functions_Examples_Polynomial_fmu --startTime=0 --stopTime=4 --stepSize=0.0016 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Functions_Examples_Polynomial.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_Polynomial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.47643281146884]