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.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.001841/0.001841, allocations: 102.7 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.001968/0.001968, 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.448/1.448, allocations: 225.6 MB / 247.8 MB, free: 3.715 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.957/2.957, allocations: 497.2 MB / 0.7811 GB, free: 12.09 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_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 0.001977/0.001977, allocations: 63.89 kB / 1.134 GB, free: 13.16 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.165/1.167, allocations: 173.9 MB / 1.304 GB, free: 32.17 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.001614/1.168, allocations: 0.5853 MB / 1.305 GB, free: 31.81 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0002413/1.169, allocations: 37.81 kB / 1.305 GB, free: 31.79 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.393e-05/1.169, allocations: 0 / 1.305 GB, free: 31.79 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.436e-05/1.169, allocations: 0 / 1.305 GB, free: 31.79 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.943e-06/1.169, allocations: 0 / 1.305 GB, free: 31.79 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002867/1.169, allocations: 23.14 kB / 1.305 GB, free: 31.78 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 4.979e-05/1.169, allocations: 0 / 1.305 GB, free: 31.78 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.124e-05/1.169, allocations: 2.688 kB / 1.305 GB, free: 31.78 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 1.854e-05/1.169, allocations: 0 / 1.305 GB, free: 31.78 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.586e-05/1.169, allocations: 6.047 kB / 1.305 GB, free: 31.78 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 9.708e-06/1.169, allocations: 0 / 1.305 GB, free: 31.78 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.272e-05/1.169, allocations: 17.22 kB / 1.305 GB, free: 31.77 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 9.358e-06/1.169, allocations: 6.812 kB / 1.305 GB, free: 31.77 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.719e-05/1.169, allocations: 0 / 1.305 GB, free: 31.77 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 9.186e-05/1.169, allocations: 20.12 kB / 1.305 GB, free: 31.76 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/1.169, allocations: 0 / 1.305 GB, free: 31.76 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.522e-06/1.169, allocations: 0 / 1.305 GB, free: 31.76 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.809e-06/1.169, allocations: 3.938 kB / 1.305 GB, free: 31.75 MB / 1.061 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.0002691/1.17, allocations: 318 kB / 1.305 GB, free: 31.4 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/1.17, allocations: 10.78 kB / 1.305 GB, free: 31.4 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.309e-05/1.17, allocations: 30.75 kB / 1.305 GB, free: 31.36 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.17e-05/1.17, allocations: 4.938 kB / 1.305 GB, free: 31.36 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.205e-05/1.17, allocations: 164.4 kB / 1.305 GB, free: 31.16 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.041e-06/1.17, allocations: 384 / 1.305 GB, free: 31.16 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.228e-06/1.17, allocations: 384 / 1.305 GB, free: 31.16 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.431e-05/1.17, allocations: 32.33 kB / 1.305 GB, free: 31.13 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/1.17, allocations: 3.938 kB / 1.305 GB, free: 31.12 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.903e-06/1.17, allocations: 0 / 1.305 GB, free: 31.12 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/1.17, allocations: 0 / 1.305 GB, free: 31.12 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.922e-05/1.17, allocations: 2.938 kB / 1.305 GB, free: 31.12 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001028/1.17, allocations: 155.7 kB / 1.305 GB, free: 30.93 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 3.267e-05/1.17, allocations: 18.58 kB / 1.305 GB, free: 30.9 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.563e-05/1.17, allocations: 7.672 kB / 1.305 GB, free: 30.89 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.713e-05/1.17, allocations: 0 / 1.305 GB, free: 30.89 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.317e-05/1.17, allocations: 33.53 kB / 1.305 GB, free: 30.86 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 6.41e-07/1.17, allocations: 0 / 1.305 GB, free: 30.86 MB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.0001378/1.17, allocations: 46.52 kB / 1.305 GB, free: 30.81 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.118e-05/1.17, allocations: 55.53 kB / 1.306 GB, free: 30.75 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.658e-05/1.17, allocations: 93.8 kB / 1.306 GB, free: 30.64 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.534e-06/1.17, allocations: 25.7 kB / 1.306 GB, free: 30.61 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 1.216e-05/1.17, allocations: 84.14 kB / 1.306 GB, free: 30.53 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.769e-05/1.17, allocations: 0 / 1.306 GB, free: 30.53 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.098e-05/1.17, allocations: 12.56 kB / 1.306 GB, free: 30.51 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.229e-05/1.17, allocations: 310.8 kB / 1.306 GB, free: 30.2 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.427e-06/1.17, allocations: 2.812 kB / 1.306 GB, free: 30.2 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.029e-06/1.17, allocations: 4 kB / 1.306 GB, free: 30.2 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.304e-05/1.17, allocations: 11.3 kB / 1.306 GB, free: 30.19 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/1.17, allocations: 0 / 1.306 GB, free: 30.19 MB / 1.061 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.416e-05/1.17, allocations: 42.72 kB / 1.306 GB, free: 30.14 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/1.17, allocations: 5.688 kB / 1.306 GB, free: 30.14 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/1.17, allocations: 3.938 kB / 1.306 GB, free: 30.14 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/1.17, allocations: 2.812 kB / 1.306 GB, free: 30.14 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.078e-05/1.171, allocations: 0 / 1.306 GB, free: 30.14 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/1.171, allocations: 3.375 kB / 1.306 GB, free: 30.14 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.286e-05/1.171, allocations: 6.5 kB / 1.306 GB, free: 30.14 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.363e-05/1.171, allocations: 0 / 1.306 GB, free: 30.14 MB / 1.061 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.607e-05/1.171, allocations: 112.4 kB / 1.306 GB, free: 30.02 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.981e-06/1.171, allocations: 0 / 1.306 GB, free: 30.02 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.667e-05/1.171, allocations: 49.69 kB / 1.306 GB, free: 29.97 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-06/1.171, allocations: 4.031 kB / 1.306 GB, free: 29.97 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/1.171, allocations: 6.906 kB / 1.306 GB, free: 29.96 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/1.171, allocations: 3.938 kB / 1.306 GB, free: 29.96 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.034e-05/1.171, allocations: 145 kB / 1.306 GB, free: 29.77 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.82e-07/1.171, allocations: 0 / 1.306 GB, free: 29.77 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.529e-05/1.171, allocations: 2.562 kB / 1.306 GB, free: 29.77 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/1.171, allocations: 0 / 1.306 GB, free: 29.77 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.633e-06/1.171, allocations: 3.938 kB / 1.306 GB, free: 29.77 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/1.171, allocations: 2.875 kB / 1.306 GB, free: 29.77 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/1.171, allocations: 0 / 1.306 GB, free: 29.77 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.082e-05/1.171, allocations: 61.94 kB / 1.306 GB, free: 29.7 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.867e-05/1.171, allocations: 77.11 kB / 1.307 GB, free: 29.61 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.126e-05/1.171, allocations: 3.938 kB / 1.307 GB, free: 29.6 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.044e-05/1.171, allocations: 2.625 kB / 1.307 GB, free: 29.6 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.811e-05/1.171, allocations: 0 / 1.307 GB, free: 29.6 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-06/1.171, allocations: 3.938 kB / 1.307 GB, free: 29.6 MB / 1.061 GB Notification: Performance of sorting global known variables: time 1.596e-05/1.171, allocations: 78.72 kB / 1.307 GB, free: 29.52 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.171, allocations: 0 / 1.307 GB, free: 29.52 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002009/1.171, allocations: 10.38 kB / 1.307 GB, free: 29.52 MB / 1.061 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.0002755/1.171, allocations: 0.6026 MB / 1.307 GB, free: 28.91 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 8.755e-05/1.171, allocations: 5.156 kB / 1.307 GB, free: 28.91 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/1.171, allocations: 0 / 1.307 GB, free: 28.91 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 7.655e-06/1.171, allocations: 10.75 kB / 1.307 GB, free: 28.91 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001283/1.172, allocations: 10.22 kB / 1.307 GB, free: 28.9 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002659/1.172, allocations: 112.7 kB / 1.307 GB, free: 28.76 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001064/1.172, allocations: 0.6715 MB / 1.308 GB, free: 28.07 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.121e-05/1.172, allocations: 2.625 kB / 1.308 GB, free: 28.07 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.034e-05/1.172, allocations: 11.5 kB / 1.308 GB, free: 28.05 MB / 1.061 GB Notification: Performance of SimCode: time 3.01e-07/1.172, allocations: 0 / 1.308 GB, free: 28.05 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02171/1.194, allocations: 1.026 MB / 1.309 GB, free: 27.7 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.082/9.275, allocations: 9.391 kB / 1.309 GB, free: 27.7 MB / 1.061 GB " [Timeout remaining time 291] (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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 15.7935787034221]