Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00164/0.00164, allocations: 103.2 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001346/0.001346, allocations: 188.6 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.465/1.465, allocations: 225.6 MB / 247.8 MB, free: 3.746 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.647/2.647, allocations: 443.5 MB / 0.7287 GB, free: 14.67 MB / 0.5762 GB " [Timeout remaining time 177] 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.Functions.Examples.Polynomial,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002071/0.002071, allocations: 71.88 kB / 1.056 GB, free: 2.523 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3265/0.3286, allocations: 160.7 MB / 1.213 GB, free: 1.496 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.001771/0.3304, allocations: 0.5844 MB / 1.214 GB, free: 0.9062 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0002385/0.3306, allocations: 47.88 kB / 1.214 GB, free: 0.8594 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.201e-05/0.3306, allocations: 0 / 1.214 GB, free: 0.8594 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 1.492e-05/0.3306, allocations: 0 / 1.214 GB, free: 0.8594 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 5.36e-06/0.3307, allocations: 0 / 1.214 GB, free: 0.8594 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002582/0.3309, allocations: 15.92 kB / 1.214 GB, free: 0.8438 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 4.038e-05/0.331, allocations: 4 kB / 1.214 GB, free: 0.8398 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 3.896e-05/0.331, allocations: 0 / 1.214 GB, free: 0.8398 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 1.261e-05/0.331, allocations: 0 / 1.214 GB, free: 0.8398 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 3.682e-05/0.331, allocations: 0 / 1.214 GB, free: 0.8398 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 8.386e-06/0.331, allocations: 4 kB / 1.214 GB, free: 0.8359 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 9.065e-05/0.3311, allocations: 23.97 kB / 1.214 GB, free: 0.8125 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.004e-05/0.3311, allocations: 3.938 kB / 1.214 GB, free: 0.8086 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 1.526e-05/0.3312, allocations: 0 / 1.214 GB, free: 0.8086 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 8.885e-05/0.3313, allocations: 11.97 kB / 1.214 GB, free: 0.7969 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.3313, allocations: 8 kB / 1.214 GB, free: 0.7891 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3313, allocations: 0 / 1.214 GB, free: 0.7891 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.089e-06/0.3313, allocations: 0 / 1.214 GB, free: 0.7891 MB / 0.9512 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.0003372/0.3316, allocations: 319.8 kB / 1.214 GB, free: 436 kB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.3316, allocations: 8.031 kB / 1.214 GB, free: 428 kB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.471e-05/0.3317, allocations: 30.75 kB / 1.214 GB, free: 388 kB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.173e-05/0.3317, allocations: 4.875 kB / 1.214 GB, free: 384 kB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001045/0.3318, allocations: 160.4 kB / 1.214 GB, free: 184 kB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.3318, allocations: 4.375 kB / 1.214 GB, free: 180 kB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.663e-06/0.3318, allocations: 384 / 1.214 GB, free: 180 kB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.312e-05/0.3319, allocations: 34.25 kB / 1.214 GB, free: 140 kB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.3319, allocations: 3.938 kB / 1.214 GB, free: 136 kB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.612e-06/0.3319, allocations: 0 / 1.214 GB, free: 136 kB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.437e-06/0.3319, allocations: 0 / 1.214 GB, free: 136 kB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.727e-05/0.3319, allocations: 4 kB / 1.214 GB, free: 132 kB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001669/0.3321, allocations: 149.6 kB / 1.214 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 4.812e-05/0.3322, allocations: 22.55 kB / 1.214 GB, free: 15.9 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.486e-05/0.3322, allocations: 8.859 kB / 1.214 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.283e-05/0.3322, allocations: 3.984 kB / 1.214 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.051e-05/0.3322, allocations: 34.62 kB / 1.214 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 9.71e-07/0.3322, allocations: 3.938 kB / 1.214 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.000125/0.3324, allocations: 37.64 kB / 1.214 GB, free: 15.8 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.197e-05/0.3324, allocations: 55.34 kB / 1.214 GB, free: 15.73 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.276e-05/0.3325, allocations: 89.86 kB / 1.215 GB, free: 15.63 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/0.3325, allocations: 29.77 kB / 1.215 GB, free: 15.6 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.219e-05/0.3325, allocations: 84.14 kB / 1.215 GB, free: 15.51 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.608e-05/0.3325, allocations: 4 kB / 1.215 GB, free: 15.51 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.778e-05/0.3326, allocations: 13.7 kB / 1.215 GB, free: 15.49 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.3327, allocations: 310.8 kB / 1.215 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.535e-05/0.3327, allocations: 8 kB / 1.215 GB, free: 15.17 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.636e-06/0.3327, allocations: 4 kB / 1.215 GB, free: 15.16 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.615e-05/0.3327, allocations: 8.859 kB / 1.215 GB, free: 15.15 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.3327, allocations: 4.062 kB / 1.215 GB, free: 15.15 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.279e-05/0.3328, allocations: 29.7 kB / 1.215 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.3328, allocations: 4 kB / 1.215 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.3328, allocations: 11.92 kB / 1.215 GB, free: 15.1 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.3328, allocations: 3.938 kB / 1.215 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.902e-05/0.3329, allocations: 0 / 1.215 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.3329, allocations: 0 / 1.215 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.173e-05/0.3329, allocations: 0 / 1.215 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.369e-05/0.3329, allocations: 4 kB / 1.215 GB, free: 15.09 MB / 0.9669 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 7.406e-05/0.333, allocations: 109.9 kB / 1.215 GB, free: 14.97 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.642e-06/0.333, allocations: 0 / 1.215 GB, free: 14.97 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001003/0.3331, allocations: 48.75 kB / 1.215 GB, free: 14.92 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.3331, allocations: 0 / 1.215 GB, free: 14.92 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.3331, allocations: 3.984 kB / 1.215 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.3331, allocations: 0 / 1.215 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001017/0.3332, allocations: 141.7 kB / 1.215 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.3332, allocations: 4.031 kB / 1.215 GB, free: 14.72 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.827e-05/0.3332, allocations: 7.984 kB / 1.215 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.253e-06/0.3332, allocations: 0 / 1.215 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.3332, allocations: 3.938 kB / 1.215 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.3332, allocations: 3.938 kB / 1.215 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.3332, allocations: 0 / 1.215 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.807e-05/0.3333, allocations: 57.14 kB / 1.215 GB, free: 14.63 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.548e-05/0.3333, allocations: 81.09 kB / 1.216 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.168e-05/0.3334, allocations: 7.969 kB / 1.216 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.313e-05/0.3334, allocations: 4 kB / 1.216 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.268e-06/0.3334, allocations: 0 / 1.216 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.506e-06/0.3334, allocations: 0 / 1.216 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.278e-05/0.3334, allocations: 79.22 kB / 1.216 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.3334, allocations: 0 / 1.216 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000196/0.3336, allocations: 11.88 kB / 1.216 GB, free: 14.43 MB / 0.9669 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.0004237/0.334, allocations: 0.6085 MB / 1.216 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 6.072e-05/0.3341, allocations: 4 kB / 1.216 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.3341, allocations: 0 / 1.216 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.004e-05/0.3341, allocations: 4 kB / 1.216 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001256/0.3342, allocations: 2.062 kB / 1.216 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003036/0.3345, allocations: 121.8 kB / 1.216 GB, free: 13.63 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003055/0.3348, allocations: 0.6728 MB / 1.217 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.629e-05/0.3349, allocations: 8 kB / 1.217 GB, free: 12.92 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.173e-05/0.3349, allocations: 7.438 kB / 1.217 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of SimCode: time 3.1e-07/0.3349, allocations: 0 / 1.217 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02365/0.3585, allocations: 1.033 MB / 1.218 GB, free: 11.97 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.207/8.565, allocations: 7.375 kB / 1.218 GB, free: 11.97 MB / 0.9669 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.Polynomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Functions.Examples.Polynomial_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Functions_Examples_Polynomial_fmu --startTime=0 --stopTime=4 --stepSize=0.0016 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Functions_Examples_Polynomial.fmu > Buildings_10_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_Polynomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 14.742813915014267]