Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.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.001927/0.001927, allocations: 104.6 kB / 16.45 MB, free: 6.504 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.00212/0.00212, allocations: 191.7 kB / 19.41 MB, free: 3.68 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.517/1.517, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.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 3.184/3.184, allocations: 497.2 MB / 0.7811 GB, free: 33.59 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.Examples.Polynomial,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Polynomial,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 69.08 kB / 1.134 GB, free: 33.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3184/0.3203, allocations: 173.9 MB / 1.304 GB, free: 1.543 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.002918/0.3233, allocations: 1.438 MB / 1.305 GB, free: 96 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0003708/0.3236, allocations: 100.2 kB / 1.305 GB, free: 15.99 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.675e-05/0.3237, allocations: 0 / 1.305 GB, free: 15.99 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 7.148e-05/0.3237, allocations: 0 / 1.305 GB, free: 15.99 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.612e-05/0.3238, allocations: 3.938 kB / 1.305 GB, free: 15.99 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002722/0.3241, allocations: 19.88 kB / 1.305 GB, free: 15.97 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.98e-05/0.3241, allocations: 23.97 kB / 1.306 GB, free: 15.95 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 9.03e-05/0.3242, allocations: 7.938 kB / 1.306 GB, free: 15.94 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 6.57e-05/0.3243, allocations: 15.92 kB / 1.306 GB, free: 15.93 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.822e-05/0.3243, allocations: 11.98 kB / 1.306 GB, free: 15.91 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.416e-05/0.3244, allocations: 4 kB / 1.306 GB, free: 15.91 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 9.831e-05/0.3244, allocations: 15.98 kB / 1.306 GB, free: 15.89 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.279e-05/0.3245, allocations: 7.938 kB / 1.306 GB, free: 15.89 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.937e-05/0.3245, allocations: 11.92 kB / 1.306 GB, free: 15.88 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001407/0.3247, allocations: 44.05 kB / 1.306 GB, free: 15.83 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3247, allocations: 0 / 1.306 GB, free: 15.83 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.124e-06/0.3247, allocations: 0 / 1.306 GB, free: 15.83 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.091e-05/0.3247, allocations: 0 / 1.306 GB, free: 15.83 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005276/0.3252, allocations: 351.4 kB / 1.306 GB, free: 15.44 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/0.3253, allocations: 8.922 kB / 1.306 GB, free: 15.43 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.034e-05/0.3253, allocations: 34.75 kB / 1.306 GB, free: 15.39 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.607e-05/0.3253, allocations: 0.9375 kB / 1.306 GB, free: 15.39 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001696/0.3255, allocations: 176.3 kB / 1.306 GB, free: 15.18 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.3255, allocations: 384 / 1.306 GB, free: 15.18 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.148e-05/0.3255, allocations: 384 / 1.306 GB, free: 15.18 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001954/0.3257, allocations: 50.23 kB / 1.306 GB, free: 15.12 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.3257, allocations: 3.938 kB / 1.306 GB, free: 15.12 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.3257, allocations: 4 kB / 1.306 GB, free: 15.11 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/0.3257, allocations: 4 kB / 1.306 GB, free: 15.11 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001735/0.3259, allocations: 35.95 kB / 1.306 GB, free: 15.07 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003728/0.3263, allocations: 249 kB / 1.307 GB, free: 14.78 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001468/0.3264, allocations: 46.44 kB / 1.307 GB, free: 14.73 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.188e-05/0.3265, allocations: 32.89 kB / 1.307 GB, free: 14.69 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.984e-05/0.3266, allocations: 4 kB / 1.307 GB, free: 14.69 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/0.3266, allocations: 30.56 kB / 1.307 GB, free: 14.65 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.3266, allocations: 0 / 1.307 GB, free: 14.65 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.000371/0.327, allocations: 89.58 kB / 1.307 GB, free: 14.55 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.589e-05/0.327, allocations: 55.53 kB / 1.307 GB, free: 14.49 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.831e-05/0.3271, allocations: 105.8 kB / 1.307 GB, free: 14.38 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.3271, allocations: 25.7 kB / 1.307 GB, free: 14.34 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 6.214e-05/0.3272, allocations: 92.09 kB / 1.307 GB, free: 14.25 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.944e-05/0.3272, allocations: 7.891 kB / 1.307 GB, free: 14.24 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.76e-05/0.3272, allocations: 17.72 kB / 1.307 GB, free: 14.22 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.3274, allocations: 314.8 kB / 1.307 GB, free: 13.9 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.602e-05/0.3275, allocations: 19.98 kB / 1.307 GB, free: 13.88 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.781e-05/0.3275, allocations: 15.98 kB / 1.307 GB, free: 13.87 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001516/0.3277, allocations: 44.81 kB / 1.307 GB, free: 13.82 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.3277, allocations: 3.938 kB / 1.307 GB, free: 13.82 MB / 1.014 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002053/0.3279, allocations: 81.59 kB / 1.307 GB, free: 13.73 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.3279, allocations: 5.25 kB / 1.307 GB, free: 13.73 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.3279, allocations: 0 / 1.307 GB, free: 13.73 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.3279, allocations: 4 kB / 1.307 GB, free: 13.72 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/0.328, allocations: 7.984 kB / 1.307 GB, free: 13.71 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.328, allocations: 0 / 1.307 GB, free: 13.71 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.078e-05/0.3281, allocations: 4 kB / 1.307 GB, free: 13.71 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/0.3281, allocations: 0 / 1.307 GB, free: 13.71 MB / 1.014 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 (2): * Single equations (assignments): 2 * 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.645e-05/0.3282, allocations: 121.7 kB / 1.308 GB, free: 13.58 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.66e-05/0.3282, allocations: 7.984 kB / 1.308 GB, free: 13.57 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002444/0.3284, allocations: 77.19 kB / 1.308 GB, free: 13.49 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.3284, allocations: 0 / 1.308 GB, free: 13.49 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-06/0.3285, allocations: 0 / 1.308 GB, free: 13.49 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.3285, allocations: 7.922 kB / 1.308 GB, free: 13.48 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001908/0.3286, allocations: 165.6 kB / 1.308 GB, free: 13.27 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3286, allocations: 0 / 1.308 GB, free: 13.27 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.669e-05/0.3287, allocations: 12.02 kB / 1.308 GB, free: 13.26 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.3287, allocations: 0 / 1.308 GB, free: 13.26 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.3287, allocations: 8 kB / 1.308 GB, free: 13.25 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3287, allocations: 0 / 1.308 GB, free: 13.25 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3287, allocations: 256 / 1.308 GB, free: 13.25 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002469/0.329, allocations: 163.4 kB / 1.308 GB, free: 13.07 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 5.786e-05/0.329, allocations: 81.14 kB / 1.308 GB, free: 12.98 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.498e-05/0.329, allocations: 8 kB / 1.308 GB, free: 12.97 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.439e-05/0.3291, allocations: 11.98 kB / 1.308 GB, free: 12.96 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.585e-05/0.3291, allocations: 0 / 1.308 GB, free: 12.96 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.457e-06/0.3292, allocations: 0 / 1.308 GB, free: 12.96 MB / 1.014 GB Notification: Performance of sorting global known variables: time 6.255e-05/0.3292, allocations: 91.27 kB / 1.308 GB, free: 12.87 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.3292, allocations: 0 / 1.308 GB, free: 12.87 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002383/0.3295, allocations: 8 kB / 1.308 GB, free: 12.86 MB / 1.014 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 (2): * Single equations (assignments): 2 * 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.0006409/0.3301, allocations: 0.7045 MB / 1.309 GB, free: 12.13 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002256/0.3303, allocations: 39.95 kB / 1.309 GB, free: 12.09 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3303, allocations: 96 / 1.309 GB, free: 12.09 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 8.818e-05/0.3304, allocations: 27.92 kB / 1.309 GB, free: 12.06 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003066/0.3307, allocations: 11.92 kB / 1.309 GB, free: 12.05 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005096/0.3312, allocations: 147 kB / 1.309 GB, free: 11.86 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003347/0.3316, allocations: 0.6807 MB / 1.31 GB, free: 11.16 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.295e-05/0.3316, allocations: 0 / 1.31 GB, free: 11.16 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.662e-05/0.3316, allocations: 11.44 kB / 1.31 GB, free: 11.14 MB / 1.014 GB Notification: Performance of SimCode: time 4.41e-07/0.3316, allocations: 4.062 kB / 1.31 GB, free: 11.14 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02485/0.3565, allocations: 1.433 MB / 1.311 GB, free: 9.793 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.064/8.421, allocations: 5.172 kB / 1.311 GB, free: 9.789 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_Polynomial_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_Polynomial.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_Polynomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.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.197764440905303]