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.001402/0.001402, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.001323/0.001323, allocations: 186 kB / 20.78 MB, free: 1.547 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.423/1.423, allocations: 225.6 MB / 249.4 MB, free: 3.297 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.845/2.845, allocations: 496.2 MB / 0.7819 GB, free: 12.29 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: translateModel(Buildings.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x",fileNamePrefix="Buildings_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001998/0.001998, allocations: 67.88 kB / 1.136 GB, free: 12.42 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9382/0.9402, allocations: 173.6 MB / 1.305 GB, free: 33.46 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.001508/0.9417, allocations: 0.5869 MB / 1.306 GB, free: 33.11 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0002138/0.9419, allocations: 35.78 kB / 1.306 GB, free: 33.08 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.652e-05/0.9419, allocations: 2.906 kB / 1.306 GB, free: 33.08 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.214e-05/0.942, allocations: 0 / 1.306 GB, free: 33.08 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.721e-06/0.942, allocations: 0 / 1.306 GB, free: 33.08 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002609/0.9422, allocations: 13.77 kB / 1.306 GB, free: 33.08 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 3.791e-05/0.9423, allocations: 0 / 1.306 GB, free: 33.08 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.13e-05/0.9423, allocations: 6.188 kB / 1.306 GB, free: 33.08 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 1.262e-05/0.9423, allocations: 11.86 kB / 1.306 GB, free: 33.07 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 3.724e-05/0.9423, allocations: 0 / 1.306 GB, free: 33.07 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 8.667e-06/0.9424, allocations: 7.938 kB / 1.306 GB, free: 33.06 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 7.913e-05/0.9424, allocations: 19.33 kB / 1.306 GB, free: 33.05 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.694e-06/0.9424, allocations: 0 / 1.306 GB, free: 33.05 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.713e-05/0.9425, allocations: 0 / 1.306 GB, free: 33.05 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 8.409e-05/0.9425, allocations: 15.56 kB / 1.306 GB, free: 33.05 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.9426, allocations: 0 / 1.306 GB, free: 33.05 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.102e-06/0.9426, allocations: 0 / 1.306 GB, free: 33.05 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.538e-06/0.9426, allocations: 0 / 1.306 GB, free: 33.05 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.0002313/0.9428, allocations: 316.3 kB / 1.306 GB, free: 32.7 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.071e-05/0.9428, allocations: 8.812 kB / 1.306 GB, free: 32.7 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.443e-05/0.9429, allocations: 8.891 kB / 1.306 GB, free: 32.7 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.426e-05/0.9429, allocations: 167.5 kB / 1.307 GB, free: 32.5 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.9429, allocations: 384 / 1.307 GB, free: 32.5 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.083e-06/0.9429, allocations: 3.188 kB / 1.307 GB, free: 32.5 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.46e-05/0.943, allocations: 30.2 kB / 1.307 GB, free: 32.46 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.954e-06/0.943, allocations: 192 / 1.307 GB, free: 32.46 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.343e-06/0.943, allocations: 3.938 kB / 1.307 GB, free: 32.46 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.943, allocations: 2.75 kB / 1.307 GB, free: 32.46 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.713e-05/0.943, allocations: 0 / 1.307 GB, free: 32.46 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.307e-05/0.9431, allocations: 156.1 kB / 1.307 GB, free: 32.26 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 3.178e-05/0.9432, allocations: 18.58 kB / 1.307 GB, free: 32.23 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.277e-05/0.9432, allocations: 7.953 kB / 1.307 GB, free: 32.23 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.092e-05/0.9432, allocations: 0 / 1.307 GB, free: 32.23 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.57e-05/0.9432, allocations: 34.5 kB / 1.307 GB, free: 32.18 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 6.81e-07/0.9432, allocations: 3 kB / 1.307 GB, free: 32.18 MB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.0001086/0.9433, allocations: 40.02 kB / 1.307 GB, free: 32.14 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.333e-05/0.9434, allocations: 54.38 kB / 1.307 GB, free: 32.08 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.715e-05/0.9434, allocations: 89.86 kB / 1.307 GB, free: 31.98 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.751e-06/0.9434, allocations: 25.7 kB / 1.307 GB, free: 31.95 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 1.244e-05/0.9434, allocations: 88.12 kB / 1.307 GB, free: 31.86 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.677e-05/0.9434, allocations: 0 / 1.307 GB, free: 31.86 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.197e-05/0.9434, allocations: 12.88 kB / 1.307 GB, free: 31.85 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 3.582e-05/0.9435, allocations: 310.8 kB / 1.307 GB, free: 31.54 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.195e-05/0.9435, allocations: 11.41 kB / 1.307 GB, free: 31.53 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.264e-06/0.9435, allocations: 2.938 kB / 1.307 GB, free: 31.53 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.29e-05/0.9435, allocations: 11.73 kB / 1.307 GB, free: 31.52 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.9435, allocations: 0 / 1.307 GB, free: 31.52 MB / 1.061 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.071e-05/0.9436, allocations: 35.64 kB / 1.308 GB, free: 31.48 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.03e-05/0.9436, allocations: 6.031 kB / 1.308 GB, free: 31.48 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.9436, allocations: 0 / 1.308 GB, free: 31.48 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.9436, allocations: 7.875 kB / 1.308 GB, free: 31.47 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.308e-05/0.9437, allocations: 6.141 kB / 1.308 GB, free: 31.47 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.9437, allocations: 4.094 kB / 1.308 GB, free: 31.47 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.207e-05/0.9437, allocations: 0 / 1.308 GB, free: 31.47 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.162e-05/0.9437, allocations: 0 / 1.308 GB, free: 31.47 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.197e-05/0.9437, allocations: 109.1 kB / 1.308 GB, free: 31.36 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.801e-06/0.9437, allocations: 0 / 1.308 GB, free: 31.36 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.786e-05/0.9438, allocations: 50.06 kB / 1.308 GB, free: 31.31 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-06/0.9438, allocations: 4.031 kB / 1.308 GB, free: 31.3 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.9438, allocations: 0 / 1.308 GB, free: 31.3 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.9438, allocations: 0 / 1.308 GB, free: 31.3 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.062e-05/0.9439, allocations: 147.7 kB / 1.308 GB, free: 31.12 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.82e-07/0.9439, allocations: 0 / 1.308 GB, free: 31.12 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.536e-05/0.9439, allocations: 2.5 kB / 1.308 GB, free: 31.12 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.9439, allocations: 0 / 1.308 GB, free: 31.12 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.9439, allocations: 11.86 kB / 1.308 GB, free: 31.11 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.9439, allocations: 0 / 1.308 GB, free: 31.11 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.9439, allocations: 0 / 1.308 GB, free: 31.11 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.793e-05/0.944, allocations: 68.02 kB / 1.308 GB, free: 31.03 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.667e-05/0.944, allocations: 77.11 kB / 1.308 GB, free: 30.94 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.095e-05/0.944, allocations: 3.938 kB / 1.308 GB, free: 30.93 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.022e-05/0.944, allocations: 2.688 kB / 1.308 GB, free: 30.93 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.201e-05/0.944, allocations: 3.188 kB / 1.308 GB, free: 30.93 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.944, allocations: 0 / 1.308 GB, free: 30.93 MB / 1.061 GB Notification: Performance of sorting global known variables: time 1.303e-05/0.944, allocations: 78.03 kB / 1.308 GB, free: 30.86 MB / 1.061 GB Notification: Performance of sort global known variables: time 5e-08/0.944, allocations: 0 / 1.308 GB, free: 30.86 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002064/0.9442, allocations: 9.297 kB / 1.308 GB, free: 30.86 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.0001493/0.9444, allocations: 102.5 kB / 1.308 GB, free: 30.77 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 8.285e-05/0.9445, allocations: 7.016 kB / 1.308 GB, free: 30.77 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.9445, allocations: 0 / 1.308 GB, free: 30.77 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.005e-06/0.9445, allocations: 7.031 kB / 1.308 GB, free: 30.76 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000134/0.9446, allocations: 5.875 kB / 1.308 GB, free: 30.76 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000194/0.9448, allocations: 101.2 kB / 1.308 GB, free: 30.66 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001171/0.9449, allocations: 0.6718 MB / 1.309 GB, free: 29.96 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.238e-05/0.9449, allocations: 4 kB / 1.309 GB, free: 29.96 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.074e-05/0.945, allocations: 13.73 kB / 1.309 GB, free: 29.95 MB / 1.061 GB Notification: Performance of SimCode: time 3.2e-07/0.945, allocations: 0 / 1.309 GB, free: 29.95 MB / 1.061 GB Notification: Performance of Templates: time 0.002529/0.9475, allocations: 293 kB / 1.309 GB, free: 29.88 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) [Timeout 400] 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: 8.691446164622903]