Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00132/0.00132, allocations: 104.3 kB / 19.7 MB, free: 2.156 MB / 14.72 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.001538/0.001538, allocations: 209.6 kB / 22.99 MB, free: 4.984 MB / 14.72 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 1.528/1.528, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.285/3.285, allocations: 0.49 GB / 0.7959 GB, free: 35.53 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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: translateModel(Buildings.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x",fileNamePrefix="Buildings_12_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_12_Buildings.Utilities.Math.Functions.Examples.Polynomial") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002798/0.002798, allocations: 70.97 kB / 1.155 GB, free: 25.17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4124/0.4152, allocations: 176.1 MB / 1.327 GB, free: 0.9336 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.002868/0.4181, allocations: 0.5907 MB / 1.328 GB, free: 356 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0004756/0.4185, allocations: 35.83 kB / 1.328 GB, free: 320 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.132e-05/0.4186, allocations: 4 kB / 1.328 GB, free: 316 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.702e-05/0.4186, allocations: 3.938 kB / 1.328 GB, free: 312 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 1.094e-05/0.4186, allocations: 0 / 1.328 GB, free: 312 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005222/0.4191, allocations: 11.98 kB / 1.328 GB, free: 300 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 6.727e-05/0.4192, allocations: 8 kB / 1.328 GB, free: 292 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.99e-05/0.4192, allocations: 0 / 1.328 GB, free: 292 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.421e-05/0.4193, allocations: 3.984 kB / 1.328 GB, free: 288 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 3.871e-05/0.4193, allocations: 0 / 1.328 GB, free: 288 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.689e-05/0.4193, allocations: 0 / 1.328 GB, free: 288 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001327/0.4195, allocations: 19.97 kB / 1.328 GB, free: 268 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.264e-05/0.4195, allocations: 3.938 kB / 1.328 GB, free: 264 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.125e-05/0.4195, allocations: 4 kB / 1.328 GB, free: 260 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001371/0.4196, allocations: 11.98 kB / 1.328 GB, free: 248 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.4197, allocations: 0 / 1.328 GB, free: 248 kB / 1.014 GB Notification: Performance of FrontEnd: time 2.935e-06/0.4197, allocations: 4 kB / 1.328 GB, free: 244 kB / 1.014 GB Notification: Performance of Transformations before backend: time 7.103e-06/0.4197, allocations: 0 / 1.328 GB, free: 244 kB / 1.014 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.0006011/0.4203, allocations: 242.8 kB / 1.328 GB, free: 15.97 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/0.4203, allocations: 8.031 kB / 1.328 GB, free: 15.96 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.036e-05/0.4204, allocations: 0.9375 kB / 1.328 GB, free: 15.96 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001334/0.4205, allocations: 106.5 kB / 1.328 GB, free: 15.83 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.4205, allocations: 4.375 kB / 1.328 GB, free: 15.83 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.361e-05/0.4205, allocations: 384 / 1.328 GB, free: 15.83 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/0.4206, allocations: 34.19 kB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.4206, allocations: 192 / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.4207, allocations: 7.938 kB / 1.328 GB, free: 15.78 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.4207, allocations: 4 kB / 1.328 GB, free: 15.78 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.551e-05/0.4207, allocations: 3.938 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001545/0.4208, allocations: 97.36 kB / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 6.64e-05/0.4209, allocations: 22.58 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.388e-05/0.4209, allocations: 8.844 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.344e-05/0.421, allocations: 4.062 kB / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.166e-05/0.421, allocations: 30.56 kB / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of pre-optimization done (n=1): time 8.82e-07/0.421, allocations: 0 / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of matching and sorting (n=1): time 0.0001727/0.4212, allocations: 45.56 kB / 1.328 GB, free: 15.51 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.563e-05/0.4212, allocations: 55.53 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.889e-05/0.4213, allocations: 93.8 kB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.4213, allocations: 25.7 kB / 1.329 GB, free: 15.31 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 3.795e-05/0.4213, allocations: 80.14 kB / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.502e-05/0.4214, allocations: 7.953 kB / 1.329 GB, free: 15.22 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.549e-05/0.4214, allocations: 13.72 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001611/0.4216, allocations: 310.8 kB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.367e-05/0.4216, allocations: 3.984 kB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.388e-06/0.4216, allocations: 4 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.392e-05/0.4216, allocations: 4.922 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.4216, allocations: 8 kB / 1.329 GB, free: 14.87 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.968e-05/0.4217, allocations: 37.64 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.4217, allocations: 4 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.4217, allocations: 0 / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.4217, allocations: 4 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.687e-05/0.4218, allocations: 3.938 kB / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.924e-06/0.4218, allocations: 3.984 kB / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.73e-05/0.4218, allocations: 4 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.7e-05/0.4219, allocations: 4 kB / 1.329 GB, free: 14.8 MB / 1.029 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 8.583e-05/0.4219, allocations: 110.4 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.145e-06/0.4219, allocations: 0 / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001329/0.4221, allocations: 48.62 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.231e-06/0.4221, allocations: 3.938 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.4221, allocations: 0 / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.4221, allocations: 3.938 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.658e-05/0.4222, allocations: 97.31 kB / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.4222, allocations: 4 kB / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.123e-05/0.4222, allocations: 4.031 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.4222, allocations: 0 / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.001e-06/0.4222, allocations: 0 / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.4222, allocations: 0 / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.4222, allocations: 7.938 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.412e-05/0.4223, allocations: 57.12 kB / 1.329 GB, free: 14.4 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.004e-05/0.4223, allocations: 8 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.11e-05/0.4223, allocations: 0 / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.169e-05/0.4223, allocations: 0 / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.968e-05/0.4224, allocations: 3.938 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.194e-05/0.4224, allocations: 12.02 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.905e-05/0.4224, allocations: 79.22 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4224, allocations: 0 / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002257/0.4226, allocations: 7.938 kB / 1.329 GB, free: 14.29 MB / 1.029 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.0001771/0.4228, allocations: 95.25 kB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 7.671e-05/0.4229, allocations: 4 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4229, allocations: 3.938 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.001e-05/0.4229, allocations: 4 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001349/0.423, allocations: 5.938 kB / 1.33 GB, free: 14.17 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002717/0.4233, allocations: 92.86 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.451e-05/0.4234, allocations: 55.36 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.137e-05/0.4234, allocations: 0 / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.443e-05/0.4234, allocations: 7.438 kB / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of SimCode: time 6.01e-07/0.4234, allocations: 0 / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of Templates: time 0.002797/0.4262, allocations: 300.6 kB / 1.33 GB, free: 13.68 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.Polynomial.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.Polynomial.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_Polynomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.288575148006203]