Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0007971/0.0007971, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008582/0.0008582, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8945/0.8945, allocations: 177.1 MB / 202.8 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.843/1.843, allocations: 389 MB / 0.633 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Utilities_Math_Functions_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 0.9997 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.534e-05/1.721e-05, allocations: 5.094 kB / 0.9997 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.001042/0.001059, allocations: 0.5876 MB / 1 GB, free: 12.87 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0001698/0.001229, allocations: 19.97 kB / 1 GB, free: 12.85 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.166e-05/0.00124, allocations: 7.938 kB / 1 GB, free: 12.84 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.474e-05/0.001255, allocations: 0 / 1 GB, free: 12.84 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.184e-06/0.001262, allocations: 0 / 1 GB, free: 12.84 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002586/0.001521, allocations: 15.91 kB / 1 GB, free: 12.82 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 4.161e-05/0.001562, allocations: 4 kB / 1 GB, free: 12.82 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.695e-05/0.001599, allocations: 3.938 kB / 1 GB, free: 12.82 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 2.429e-05/0.001624, allocations: 0 / 1 GB, free: 12.82 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 1.865e-05/0.001642, allocations: 4 kB / 1 GB, free: 12.81 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.337e-05/0.001656, allocations: 4 kB / 1 GB, free: 12.81 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 6.449e-05/0.00172, allocations: 11.97 kB / 1 GB, free: 12.8 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 8.065e-06/0.001728, allocations: 4 kB / 1 GB, free: 12.79 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.323e-05/0.001741, allocations: 4 kB / 1 GB, free: 12.79 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 8.311e-05/0.001824, allocations: 15.92 kB / 1 GB, free: 12.77 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.001827, allocations: 0 / 1 GB, free: 12.77 MB / 0.9636 GB Notification: Performance of FrontEnd: time 7.52e-07/0.001828, allocations: 0 / 1 GB, free: 12.77 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.416e-06/0.001831, allocations: 0 / 1 GB, free: 12.77 MB / 0.9636 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.0002311/0.002062, allocations: 234.5 kB / 1.001 GB, free: 12.51 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.002098, allocations: 12.75 kB / 1.001 GB, free: 12.5 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.651e-05/0.002124, allocations: 30.75 kB / 1.001 GB, free: 12.46 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.958e-05/0.002144, allocations: 0.9375 kB / 1.001 GB, free: 12.46 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.602e-05/0.0022, allocations: 105.8 kB / 1.001 GB, free: 12.33 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.002211, allocations: 8.375 kB / 1.001 GB, free: 12.32 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.292e-06/0.002217, allocations: 384 / 1.001 GB, free: 12.32 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.88e-05/0.002296, allocations: 34.19 kB / 1.001 GB, free: 12.29 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.002303, allocations: 192 / 1.001 GB, free: 12.29 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.492e-06/0.00231, allocations: 384 / 1.001 GB, free: 12.29 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.002317, allocations: 12.12 kB / 1.001 GB, free: 12.27 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.683e-05/0.002334, allocations: 0 / 1.001 GB, free: 12.27 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.914e-05/0.002433, allocations: 112.8 kB / 1.001 GB, free: 12.12 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 3.484e-05/0.002468, allocations: 22.61 kB / 1.001 GB, free: 12.09 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.402e-05/0.002482, allocations: 4.859 kB / 1.001 GB, free: 12.08 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 3.386e-05/0.002516, allocations: 8.062 kB / 1.001 GB, free: 12.07 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.986e-05/0.002536, allocations: 38.48 kB / 1.001 GB, free: 12.03 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=1): time 5.21e-07/0.002536, allocations: 0 / 1.001 GB, free: 12.03 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1): time 0.0001107/0.002647, allocations: 37.64 kB / 1.001 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.025e-05/0.002677, allocations: 55.34 kB / 1.001 GB, free: 11.92 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.464e-05/0.002702, allocations: 89.86 kB / 1.001 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.386e-06/0.00271, allocations: 25.7 kB / 1.001 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 1.761e-05/0.002728, allocations: 80.14 kB / 1.001 GB, free: 11.71 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.283e-05/0.002751, allocations: 4 kB / 1.001 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.212e-05/0.002773, allocations: 13.72 kB / 1.001 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.147e-05/0.002844, allocations: 315 kB / 1.002 GB, free: 11.37 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.201e-05/0.002856, allocations: 7.938 kB / 1.002 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.212e-06/0.002862, allocations: 4 kB / 1.002 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.077e-05/0.002883, allocations: 8.797 kB / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.002886, allocations: 4 kB / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.584e-05/0.002922, allocations: 37.66 kB / 1.002 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.048e-05/0.002933, allocations: 4 kB / 1.002 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.319e-06/0.002937, allocations: 0 / 1.002 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.016e-05/0.002947, allocations: 0 / 1.002 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.216e-05/0.002999, allocations: 7.984 kB / 1.002 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.003004, allocations: 8.031 kB / 1.002 GB, free: 11.28 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.455e-06/0.003011, allocations: 0 / 1.002 GB, free: 11.28 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.273e-05/0.003024, allocations: 7.984 kB / 1.002 GB, free: 11.27 MB / 0.9636 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.668e-05/0.003071, allocations: 105.8 kB / 1.002 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.116e-06/0.003074, allocations: 0 / 1.002 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.207e-05/0.003146, allocations: 48.62 kB / 1.002 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.003148, allocations: 0 / 1.002 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.003153, allocations: 7.969 kB / 1.002 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.003155, allocations: 0 / 1.002 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.263e-05/0.003208, allocations: 112.8 kB / 1.002 GB, free: 10.94 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.003208, allocations: 0 / 1.002 GB, free: 10.94 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.384e-06/0.003216, allocations: 4 kB / 1.002 GB, free: 10.94 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.31e-07/0.003216, allocations: 0 / 1.002 GB, free: 10.94 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.05e-06/0.003222, allocations: 0 / 1.002 GB, free: 10.94 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.003223, allocations: 3.984 kB / 1.002 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.003224, allocations: 3.938 kB / 1.002 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.903e-05/0.003263, allocations: 61.06 kB / 1.002 GB, free: 10.85 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 5.209e-06/0.003269, allocations: 12.03 kB / 1.002 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.726e-06/0.003277, allocations: 4 kB / 1.002 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.268e-06/0.003282, allocations: 3.938 kB / 1.002 GB, free: 10.83 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.23e-05/0.003294, allocations: 7.922 kB / 1.002 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-06/0.003296, allocations: 0 / 1.002 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 1.795e-05/0.003314, allocations: 79.28 kB / 1.002 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.003315, allocations: 0 / 1.002 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001251/0.00344, allocations: 0 / 1.002 GB, free: 10.75 MB / 0.9636 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.0002352/0.003675, allocations: 0.5929 MB / 1.003 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 5.688e-05/0.003732, allocations: 11.97 kB / 1.003 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.003733, allocations: 0 / 1.003 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 3.466e-06/0.003737, allocations: 4 kB / 1.003 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.951e-05/0.003836, allocations: 5.656 kB / 1.003 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002186/0.004055, allocations: 110.6 kB / 1.003 GB, free: 9.957 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.787e-05/0.004083, allocations: 55.36 kB / 1.003 GB, free: 9.883 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 1.942e-05/0.004102, allocations: 12.06 kB / 1.003 GB, free: 9.871 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.992e-05/0.004122, allocations: 8.5 kB / 1.003 GB, free: 9.863 MB / 0.9636 GB Notification: Performance of SimCode: time 4.41e-07/0.004122, allocations: 0 / 1.003 GB, free: 9.863 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01362/0.01774, allocations: 1.643 MB / 1.004 GB, free: 8.352 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.797/6.815, allocations: 7.922 kB / 1.004 GB, free: 8.344 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_Polynomial_fmu --startTime=0 --stopTime=4 --stepSize=0.0016 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_Polynomial.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_Polynomial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.936360523104668]