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.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.001942/0.001942, allocations: 114.8 kB / 18.89 MB, free: 2.898 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.002094/0.002094, allocations: 197.6 kB / 22.17 MB, free: 5.211 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.48/1.48, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.93/2.93, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: translateModel(Buildings.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial") translateModel(Buildings.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00211/0.00211, allocations: 71.89 kB / 1.109 GB, free: 6.465 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8125/0.8146, allocations: 168.7 MB / 1.274 GB, free: 4.492 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.002163/0.8167, allocations: 0.5884 MB / 1.275 GB, free: 3.91 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0002854/0.817, allocations: 47.86 kB / 1.275 GB, free: 3.863 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.948e-05/0.817, allocations: 0 / 1.275 GB, free: 3.863 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.361e-05/0.8171, allocations: 4 kB / 1.275 GB, free: 3.859 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.184e-06/0.8171, allocations: 0 / 1.275 GB, free: 3.859 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003129/0.8174, allocations: 7.938 kB / 1.275 GB, free: 3.852 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 4.92e-05/0.8174, allocations: 4 kB / 1.275 GB, free: 3.848 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.409e-05/0.8175, allocations: 3.984 kB / 1.275 GB, free: 3.844 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.648e-05/0.8175, allocations: 4 kB / 1.275 GB, free: 3.84 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.372e-05/0.8176, allocations: 3.984 kB / 1.275 GB, free: 3.836 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.668e-06/0.8176, allocations: 0 / 1.275 GB, free: 3.836 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001096/0.8177, allocations: 15.98 kB / 1.275 GB, free: 3.82 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.042e-05/0.8177, allocations: 4 kB / 1.275 GB, free: 3.816 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.442e-05/0.8177, allocations: 4 kB / 1.275 GB, free: 3.812 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000109/0.8178, allocations: 15.91 kB / 1.275 GB, free: 3.797 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.8178, allocations: 4 kB / 1.275 GB, free: 3.793 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.983e-06/0.8178, allocations: 3.938 kB / 1.275 GB, free: 3.789 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.744e-06/0.8178, allocations: 4 kB / 1.275 GB, free: 3.785 MB / 0.9669 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.0004203/0.8183, allocations: 314.2 kB / 1.275 GB, free: 3.43 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.8183, allocations: 8.031 kB / 1.275 GB, free: 3.422 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.221e-05/0.8183, allocations: 0.9375 kB / 1.275 GB, free: 3.422 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001364/0.8185, allocations: 172.3 kB / 1.275 GB, free: 3.215 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.626e-06/0.8185, allocations: 384 / 1.275 GB, free: 3.215 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.415e-05/0.8185, allocations: 384 / 1.275 GB, free: 3.215 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001098/0.8186, allocations: 30.27 kB / 1.275 GB, free: 3.18 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.8186, allocations: 192 / 1.275 GB, free: 3.18 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.8186, allocations: 3.938 kB / 1.275 GB, free: 3.176 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.8186, allocations: 0 / 1.275 GB, free: 3.176 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.569e-05/0.8186, allocations: 4 kB / 1.275 GB, free: 3.172 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001925/0.8188, allocations: 149.7 kB / 1.275 GB, free: 2.977 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.404e-05/0.8189, allocations: 22.52 kB / 1.275 GB, free: 2.945 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.206e-05/0.8189, allocations: 8.953 kB / 1.275 GB, free: 2.934 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.427e-05/0.8189, allocations: 0 / 1.275 GB, free: 2.934 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/0.819, allocations: 30.56 kB / 1.276 GB, free: 2.895 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.819, allocations: 0 / 1.276 GB, free: 2.895 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001592/0.8191, allocations: 41.64 kB / 1.276 GB, free: 2.848 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.446e-05/0.8192, allocations: 55.53 kB / 1.276 GB, free: 2.781 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.233e-05/0.8192, allocations: 93.84 kB / 1.276 GB, free: 2.68 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.755e-05/0.8193, allocations: 29.64 kB / 1.276 GB, free: 2.645 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.707e-05/0.8193, allocations: 80.14 kB / 1.276 GB, free: 2.562 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.605e-05/0.8193, allocations: 3.938 kB / 1.276 GB, free: 2.559 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.708e-05/0.8194, allocations: 13.72 kB / 1.276 GB, free: 2.539 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002289/0.8196, allocations: 314.8 kB / 1.276 GB, free: 2.223 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.2e-05/0.8196, allocations: 0 / 1.276 GB, free: 2.223 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.108e-05/0.8196, allocations: 8 kB / 1.276 GB, free: 2.215 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.904e-05/0.8197, allocations: 4.859 kB / 1.276 GB, free: 2.207 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.8197, allocations: 0 / 1.276 GB, free: 2.207 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.213e-05/0.8197, allocations: 37.69 kB / 1.276 GB, free: 2.164 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.8197, allocations: 4 kB / 1.276 GB, free: 2.16 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.8197, allocations: 0 / 1.276 GB, free: 2.16 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.8198, allocations: 3.938 kB / 1.276 GB, free: 2.156 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.064e-05/0.8198, allocations: 11.88 kB / 1.276 GB, free: 2.145 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.8198, allocations: 0 / 1.276 GB, free: 2.145 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.731e-05/0.8199, allocations: 4.094 kB / 1.276 GB, free: 2.141 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.489e-05/0.8199, allocations: 0 / 1.276 GB, free: 2.141 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 0.0001049/0.82, allocations: 109.8 kB / 1.276 GB, free: 2.023 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.096e-05/0.82, allocations: 7.938 kB / 1.276 GB, free: 2.016 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001155/0.8201, allocations: 40.75 kB / 1.276 GB, free: 1.973 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.8201, allocations: 4 kB / 1.276 GB, free: 1.969 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.8201, allocations: 4.031 kB / 1.276 GB, free: 1.965 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.8201, allocations: 0 / 1.276 GB, free: 1.965 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000188/0.8203, allocations: 145.7 kB / 1.276 GB, free: 1.773 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.8203, allocations: 4 kB / 1.276 GB, free: 1.77 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.433e-05/0.8203, allocations: 4 kB / 1.276 GB, free: 1.766 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.8203, allocations: 0 / 1.276 GB, free: 1.766 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.8203, allocations: 3.938 kB / 1.276 GB, free: 1.762 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.8203, allocations: 0 / 1.276 GB, free: 1.762 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.8203, allocations: 3.938 kB / 1.276 GB, free: 1.758 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.456e-05/0.8204, allocations: 69.11 kB / 1.277 GB, free: 1.672 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.183e-05/0.8205, allocations: 77.11 kB / 1.277 GB, free: 1.578 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.116e-05/0.8205, allocations: 3.938 kB / 1.277 GB, free: 1.574 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.248e-05/0.8205, allocations: 0 / 1.277 GB, free: 1.574 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.708e-05/0.8205, allocations: 0 / 1.277 GB, free: 1.574 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/0.8206, allocations: 4 kB / 1.277 GB, free: 1.57 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.614e-05/0.8206, allocations: 75.28 kB / 1.277 GB, free: 1.496 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.8206, allocations: 0 / 1.277 GB, free: 1.496 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002024/0.8208, allocations: 8 kB / 1.277 GB, free: 1.488 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.0001802/0.821, allocations: 111.8 kB / 1.277 GB, free: 1.371 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 8.884e-05/0.8211, allocations: 7.938 kB / 1.277 GB, free: 1.363 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.8211, allocations: 0 / 1.277 GB, free: 1.363 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.459e-05/0.8211, allocations: 4 kB / 1.277 GB, free: 1.359 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001411/0.8212, allocations: 1.875 kB / 1.277 GB, free: 1.359 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002743/0.8215, allocations: 100.9 kB / 1.277 GB, free: 1.234 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003543/0.8218, allocations: 0.6769 MB / 1.278 GB, free: 0.5312 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.912e-05/0.8219, allocations: 4 kB / 1.278 GB, free: 0.5273 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.385e-05/0.8219, allocations: 11.44 kB / 1.278 GB, free: 0.5156 MB / 0.9669 GB Notification: Performance of SimCode: time 4.3e-07/0.8219, allocations: 3.938 kB / 1.278 GB, free: 0.5117 MB / 0.9669 GB Notification: Performance of Templates: time 0.003066/0.825, allocations: 290.3 kB / 1.278 GB, free: 236 kB / 0.9669 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) [Timeout 400] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 8.826818809378892]