Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) 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: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Polynomial,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Polynomial,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00131/0.001309, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001324/0.001324, allocations: 195.2 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.738/2.738, allocations: 469.8 MB / 0.7424 GB, free: 7.426 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002019/0.002019, allocations: 71.42 kB / 0.9087 GB, free: 34.22 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.293/0.295, allocations: 159.1 MB / 1.064 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.002894/0.298, allocations: 1.447 MB / 1.065 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0003294/0.2983, allocations: 95.73 kB / 1.066 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.74e-05/0.2984, allocations: 0 / 1.066 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 6.545e-05/0.2984, allocations: 3.938 kB / 1.066 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.299e-05/0.2985, allocations: 0 / 1.066 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002366/0.2987, allocations: 23.92 kB / 1.066 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.705e-05/0.2988, allocations: 23.92 kB / 1.066 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.542e-05/0.2989, allocations: 7.984 kB / 1.066 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.015e-05/0.2989, allocations: 15.92 kB / 1.066 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.697e-05/0.299, allocations: 11.98 kB / 1.066 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.304e-05/0.299, allocations: 0 / 1.066 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000104/0.2991, allocations: 23.92 kB / 1.066 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.614e-05/0.2992, allocations: 0 / 1.066 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.809e-05/0.2992, allocations: 11.94 kB / 1.066 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001161/0.2993, allocations: 35.88 kB / 1.066 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.2993, allocations: 8 kB / 1.066 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.032e-06/0.2993, allocations: 0 / 1.066 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.501e-06/0.2993, allocations: 0 / 1.066 GB, free: 12.49 MB / 0.8262 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.0004599/0.2998, allocations: 347.7 kB / 1.066 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.2999, allocations: 12.02 kB / 1.066 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.312e-05/0.2999, allocations: 30.75 kB / 1.066 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.244e-05/0.2999, allocations: 0.9375 kB / 1.066 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/0.3001, allocations: 176.2 kB / 1.066 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.798e-06/0.3001, allocations: 4.375 kB / 1.066 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.053e-06/0.3001, allocations: 384 / 1.066 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001731/0.3003, allocations: 54.23 kB / 1.066 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.3003, allocations: 3.938 kB / 1.066 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.218e-06/0.3003, allocations: 3.984 kB / 1.066 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.3003, allocations: 0 / 1.066 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001668/0.3005, allocations: 39.89 kB / 1.066 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003301/0.3008, allocations: 253 kB / 1.067 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001288/0.301, allocations: 46.44 kB / 1.067 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.527e-05/0.3011, allocations: 26.75 kB / 1.067 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.195e-05/0.3011, allocations: 3.984 kB / 1.067 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/0.3011, allocations: 38.56 kB / 1.067 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.3011, allocations: 0 / 1.067 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003423/0.3015, allocations: 85.64 kB / 1.067 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.898e-05/0.3015, allocations: 55.34 kB / 1.067 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.368e-05/0.3016, allocations: 105.8 kB / 1.067 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.521e-05/0.3017, allocations: 25.7 kB / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.953e-05/0.3017, allocations: 88.27 kB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.994e-05/0.3017, allocations: 11.84 kB / 1.067 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.795e-05/0.3018, allocations: 13.72 kB / 1.067 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.3019, allocations: 314.8 kB / 1.067 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.777e-05/0.302, allocations: 19.98 kB / 1.067 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.261e-05/0.3021, allocations: 19.92 kB / 1.067 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001532/0.3023, allocations: 44.88 kB / 1.067 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.3023, allocations: 3.938 kB / 1.067 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002034/0.3025, allocations: 77.59 kB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/0.3025, allocations: 4 kB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.858e-06/0.3025, allocations: 0 / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.3025, allocations: 0 / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.94e-05/0.3026, allocations: 8 kB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.3026, allocations: 4.031 kB / 1.068 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.92e-05/0.3027, allocations: 11.89 kB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.388e-06/0.3027, allocations: 0 / 1.068 GB, free: 10.36 MB / 0.8262 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 9.114e-05/0.3028, allocations: 113.8 kB / 1.068 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.242e-05/0.3028, allocations: 256 / 1.068 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002347/0.3031, allocations: 81.17 kB / 1.068 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.3031, allocations: 4.031 kB / 1.068 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.3031, allocations: 0 / 1.068 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.3031, allocations: 4 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001669/0.3033, allocations: 161.6 kB / 1.068 GB, free: 9.938 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.3033, allocations: 3.938 kB / 1.068 GB, free: 9.934 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.821e-05/0.3033, allocations: 12 kB / 1.068 GB, free: 9.922 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.3033, allocations: 0 / 1.068 GB, free: 9.922 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.3033, allocations: 3.984 kB / 1.068 GB, free: 9.918 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3034, allocations: 0 / 1.068 GB, free: 9.918 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.3034, allocations: 0 / 1.068 GB, free: 9.918 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002391/0.3036, allocations: 167.5 kB / 1.068 GB, free: 9.738 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.879e-05/0.3037, allocations: 81.02 kB / 1.068 GB, free: 9.641 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.548e-05/0.3037, allocations: 7.938 kB / 1.068 GB, free: 9.633 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.052e-05/0.3038, allocations: 7.984 kB / 1.068 GB, free: 9.625 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.459e-05/0.3038, allocations: 4 kB / 1.068 GB, free: 9.621 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.826e-06/0.3038, allocations: 4.031 kB / 1.068 GB, free: 9.617 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.244e-05/0.3039, allocations: 83.28 kB / 1.068 GB, free: 9.535 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3039, allocations: 0 / 1.068 GB, free: 9.535 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002202/0.3041, allocations: 11.98 kB / 1.068 GB, free: 9.523 MB / 0.8262 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.0006095/0.3047, allocations: 0.7046 MB / 1.069 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002137/0.3049, allocations: 39.95 kB / 1.069 GB, free: 8.754 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3049, allocations: 3.938 kB / 1.069 GB, free: 8.75 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.453e-05/0.305, allocations: 23.92 kB / 1.069 GB, free: 8.727 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002658/0.3053, allocations: 5.719 kB / 1.069 GB, free: 8.723 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004204/0.3057, allocations: 151.2 kB / 1.069 GB, free: 8.535 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003131/0.3061, allocations: 0.6768 MB / 1.07 GB, free: 7.832 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.991e-05/0.3061, allocations: 4 kB / 1.07 GB, free: 7.828 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.516e-05/0.3061, allocations: 7.438 kB / 1.07 GB, free: 7.824 MB / 0.8262 GB Notification: Performance of SimCode: time 2.11e-07/0.3061, allocations: 0 / 1.07 GB, free: 7.824 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.556/1.862, allocations: 1.401 MB / 1.071 GB, free: 6.477 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/12.79, allocations: 9.953 kB / 1.071 GB, free: 6.469 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Utilities.Math.Examples.Polynomial.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.Polynomial.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.Polynomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Examples.Polynomial_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Examples_Polynomial_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Examples_Polynomial.fmu > Buildings_11_Buildings.Utilities.Math.Examples.Polynomial.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_Polynomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.Polynomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches