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.001266/0.001266, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001272/0.001272, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.8808/0.8808, allocations: 177.1 MB / 202.8 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.696/1.696, allocations: 377.8 MB / 0.6221 GB, free: 8.625 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.482e-06/1.482e-06, allocations: 0 / 0.981 GB, free: 2.496 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.37e-05/1.518e-05, allocations: 2.281 kB / 0.981 GB, free: 2.492 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.001135/0.00115, allocations: 0.6071 MB / 0.9816 GB, free: 1.887 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0002315/0.001382, allocations: 31.89 kB / 0.9816 GB, free: 1.855 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.415e-05/0.001396, allocations: 0 / 0.9816 GB, free: 1.855 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 1.719e-05/0.001413, allocations: 4 kB / 0.9816 GB, free: 1.852 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 7.985e-06/0.001421, allocations: 0 / 0.9816 GB, free: 1.852 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003567/0.001778, allocations: 15.97 kB / 0.9817 GB, free: 1.836 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 6.516e-05/0.001843, allocations: 4 kB / 0.9817 GB, free: 1.832 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 4.273e-05/0.001886, allocations: 0 / 0.9817 GB, free: 1.832 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 2.43e-05/0.00191, allocations: 0 / 0.9817 GB, free: 1.832 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 2.582e-05/0.001936, allocations: 4 kB / 0.9817 GB, free: 1.828 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.465e-05/0.00195, allocations: 0 / 0.9817 GB, free: 1.828 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 8.686e-05/0.002037, allocations: 23.91 kB / 0.9817 GB, free: 1.805 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 9.458e-06/0.002047, allocations: 0 / 0.9817 GB, free: 1.805 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.471e-05/0.002061, allocations: 4 kB / 0.9817 GB, free: 1.801 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 8.526e-05/0.002147, allocations: 19.92 kB / 0.9817 GB, free: 1.781 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.003e-06/0.002149, allocations: 3.938 kB / 0.9817 GB, free: 1.777 MB / 0.9323 GB Notification: Performance of FrontEnd: time 6.81e-07/0.002149, allocations: 0 / 0.9817 GB, free: 1.777 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.519e-06/0.002154, allocations: 0 / 0.9817 GB, free: 1.777 MB / 0.9323 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.0002453/0.002399, allocations: 238.5 kB / 0.9819 GB, free: 1.512 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.002437, allocations: 8.031 kB / 0.9819 GB, free: 1.504 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.494e-05/0.002461, allocations: 34.75 kB / 0.982 GB, free: 1.461 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.916e-05/0.002481, allocations: 0.9375 kB / 0.982 GB, free: 1.461 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.886e-05/0.00254, allocations: 101.8 kB / 0.9821 GB, free: 1.336 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.317e-06/0.002549, allocations: 384 / 0.9821 GB, free: 1.336 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.062e-06/0.002555, allocations: 4.375 kB / 0.9821 GB, free: 1.332 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.497e-05/0.00263, allocations: 34.25 kB / 0.9821 GB, free: 1.293 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.002637, allocations: 192 / 0.9821 GB, free: 1.293 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.362e-06/0.002643, allocations: 384 / 0.9821 GB, free: 1.293 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.002647, allocations: 4.125 kB / 0.9821 GB, free: 1.289 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.806e-05/0.002666, allocations: 7.938 kB / 0.9821 GB, free: 1.281 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001013/0.002767, allocations: 120.7 kB / 0.9822 GB, free: 1.121 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 3.174e-05/0.002799, allocations: 18.61 kB / 0.9823 GB, free: 1.094 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.366e-05/0.002812, allocations: 8.844 kB / 0.9823 GB, free: 1.082 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 2.833e-05/0.002841, allocations: 0 / 0.9823 GB, free: 1.082 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.755e-05/0.002858, allocations: 42.62 kB / 0.9823 GB, free: 1.031 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=1): time 4.61e-07/0.002859, allocations: 0 / 0.9823 GB, free: 1.031 MB / 0.9323 GB Notification: Performance of matching and sorting (n=1): time 0.0001017/0.00296, allocations: 37.64 kB / 0.9823 GB, free: 0.9883 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.707e-05/0.002987, allocations: 55.34 kB / 0.9824 GB, free: 0.9219 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.255e-05/0.00301, allocations: 89.86 kB / 0.9825 GB, free: 0.8242 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 8.746e-06/0.003019, allocations: 29.7 kB / 0.9825 GB, free: 0.7891 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 1.708e-05/0.003036, allocations: 84.12 kB / 0.9826 GB, free: 0.7031 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 2.147e-05/0.003057, allocations: 0 / 0.9826 GB, free: 0.7031 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.022e-05/0.003077, allocations: 13.7 kB / 0.9826 GB, free: 0.6836 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 6.629e-05/0.003144, allocations: 314.8 kB / 0.9829 GB, free: 376 kB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.843e-06/0.003151, allocations: 4.125 kB / 0.9829 GB, free: 372 kB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.657e-06/0.003154, allocations: 0 / 0.9829 GB, free: 372 kB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.995e-05/0.003174, allocations: 12.86 kB / 0.9829 GB, free: 356 kB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.003176, allocations: 0 / 0.9829 GB, free: 356 kB / 0.9323 GB Notification: Performance of matching and sorting (n=1) (initialization): time 2.803e-05/0.003204, allocations: 37.64 kB / 0.983 GB, free: 312 kB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 9.918e-06/0.003214, allocations: 4 kB / 0.983 GB, free: 308 kB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.003218, allocations: 7.922 kB / 0.983 GB, free: 300 kB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.995e-06/0.003226, allocations: 0 / 0.983 GB, free: 300 kB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.446e-05/0.003271, allocations: 4 kB / 0.983 GB, free: 296 kB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.003276, allocations: 4.031 kB / 0.983 GB, free: 292 kB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.282e-06/0.003282, allocations: 4 kB / 0.983 GB, free: 288 kB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.003293, allocations: 0 / 0.983 GB, free: 288 kB / 0.9323 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.241e-05/0.003335, allocations: 113.8 kB / 0.9831 GB, free: 164 kB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.555e-06/0.003338, allocations: 0 / 0.9831 GB, free: 164 kB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.536e-05/0.003403, allocations: 44.62 kB / 0.9831 GB, free: 116 kB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.003404, allocations: 0 / 0.9831 GB, free: 116 kB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.003409, allocations: 7.938 kB / 0.9831 GB, free: 108 kB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.003412, allocations: 4.031 kB / 0.9831 GB, free: 104 kB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.994e-05/0.003472, allocations: 112.8 kB / 0.9832 GB, free: 15.95 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-07/0.003472, allocations: 0 / 0.9832 GB, free: 15.95 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.365e-06/0.00348, allocations: 7.984 kB / 0.9833 GB, free: 15.94 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.72e-07/0.003481, allocations: 0 / 0.9833 GB, free: 15.94 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.258e-06/0.003485, allocations: 0 / 0.9833 GB, free: 15.94 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-07/0.003486, allocations: 0 / 0.9833 GB, free: 15.94 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.003488, allocations: 3.938 kB / 0.9833 GB, free: 15.94 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.677e-05/0.003524, allocations: 57.14 kB / 0.9833 GB, free: 15.86 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.178e-06/0.003529, allocations: 3.984 kB / 0.9833 GB, free: 15.86 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.654e-06/0.003536, allocations: 4.031 kB / 0.9833 GB, free: 15.86 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.217e-06/0.00354, allocations: 7.938 kB / 0.9833 GB, free: 15.85 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.192e-05/0.003552, allocations: 3.938 kB / 0.9833 GB, free: 15.84 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.003556, allocations: 7.938 kB / 0.9833 GB, free: 15.84 MB / 0.948 GB Notification: Performance of sorting global known variables: time 1.676e-05/0.003572, allocations: 75.28 kB / 0.9834 GB, free: 15.76 MB / 0.948 GB Notification: Performance of sort global known variables: time 4e-08/0.003572, allocations: 0 / 0.9834 GB, free: 15.76 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001272/0.003699, allocations: 4 kB / 0.9834 GB, free: 15.76 MB / 0.948 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.0002529/0.003952, allocations: 0.5968 MB / 0.984 GB, free: 15.13 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 5.044e-05/0.004003, allocations: 8.031 kB / 0.984 GB, free: 15.12 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.253e-06/0.004004, allocations: 0 / 0.984 GB, free: 15.12 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 5.009e-06/0.004009, allocations: 7.938 kB / 0.984 GB, free: 15.12 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.638e-05/0.004095, allocations: 3.938 kB / 0.984 GB, free: 15.11 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002356/0.004331, allocations: 106.7 kB / 0.9841 GB, free: 14.97 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.26e-05/0.004364, allocations: 67.14 kB / 0.9842 GB, free: 14.88 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 1.659e-05/0.00438, allocations: 0 / 0.9842 GB, free: 14.88 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.947e-05/0.0044, allocations: 16.62 kB / 0.9842 GB, free: 14.87 MB / 0.948 GB Notification: Performance of SimCode: time 3.91e-07/0.0044, allocations: 0 / 0.9842 GB, free: 14.87 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01322/0.01762, allocations: 1.658 MB / 0.9858 GB, free: 13.34 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.765/6.783, allocations: 5.234 kB / 0.9858 GB, free: 13.34 MB / 0.948 GB " [Timeout remaining time 293] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Functions.Examples.Polynomial_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Functions_Examples_Polynomial_fmu --startTime=0 --stopTime=4 --stepSize=0.0016 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Math_Functions_Examples_Polynomial.fmu > Buildings_12_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) [Timeout 420.0] 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/jenkins/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: 10.68452507071197]