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) 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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|polynominal.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial") translateModel(Buildings.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|polynominal.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 119.1 kB / 16.37 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 193.5 kB / 17.31 MB, free: 5.602 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.34/1.34, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.471/2.471, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001739/0.001739, allocations: 59.97 kB / 0.8773 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2876/0.2894, allocations: 153 MB / 1.027 GB, free: 2.094 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.002579/0.292, allocations: 1.45 MB / 1.028 GB, free: 0.6406 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0002974/0.2923, allocations: 92.58 kB / 1.028 GB, free: 0.5469 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.374e-05/0.2924, allocations: 0 / 1.028 GB, free: 0.5469 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 5.384e-05/0.2924, allocations: 4 kB / 1.028 GB, free: 0.543 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 3.153e-05/0.2925, allocations: 7.938 kB / 1.028 GB, free: 0.5352 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002344/0.2927, allocations: 11.98 kB / 1.028 GB, free: 0.5234 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 6.629e-05/0.2928, allocations: 35.84 kB / 1.028 GB, free: 500 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 8.444e-05/0.2929, allocations: 4 kB / 1.028 GB, free: 496 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 4.55e-05/0.2929, allocations: 11.92 kB / 1.028 GB, free: 484 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 3.516e-05/0.293, allocations: 11.94 kB / 1.028 GB, free: 472 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.234e-05/0.293, allocations: 4 kB / 1.028 GB, free: 468 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 8.894e-05/0.2931, allocations: 23.91 kB / 1.028 GB, free: 444 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 3.76e-05/0.2931, allocations: 8 kB / 1.028 GB, free: 436 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.494e-05/0.2932, allocations: 7.938 kB / 1.028 GB, free: 428 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001084/0.2933, allocations: 39.88 kB / 1.028 GB, free: 388 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.2933, allocations: 0 / 1.028 GB, free: 388 kB / 0.795 GB Notification: Performance of FrontEnd: time 1.203e-06/0.2933, allocations: 0 / 1.028 GB, free: 388 kB / 0.795 GB Notification: Performance of Transformations before backend: time 5.169e-06/0.2933, allocations: 0 / 1.028 GB, free: 388 kB / 0.795 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.0004308/0.2937, allocations: 347.5 kB / 1.029 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.2938, allocations: 8.75 kB / 1.029 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.758e-05/0.2938, allocations: 4.938 kB / 1.029 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001078/0.2939, allocations: 164.3 kB / 1.029 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.294, allocations: 4.375 kB / 1.029 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.738e-05/0.294, allocations: 12.38 kB / 1.029 GB, free: 15.76 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001911/0.2942, allocations: 54.17 kB / 1.029 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.437e-06/0.2942, allocations: 192 / 1.029 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.2942, allocations: 3.938 kB / 1.029 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.2942, allocations: 3.938 kB / 1.029 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001658/0.2944, allocations: 39.95 kB / 1.029 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003336/0.2947, allocations: 252.9 kB / 1.029 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000152/0.2949, allocations: 46.47 kB / 1.029 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.666e-05/0.295, allocations: 28.84 kB / 1.029 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.274e-05/0.295, allocations: 4 kB / 1.029 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.074e-05/0.2951, allocations: 34.56 kB / 1.029 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.2951, allocations: 0 / 1.029 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003352/0.2954, allocations: 89.62 kB / 1.029 GB, free: 15.13 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.871e-05/0.2955, allocations: 51.41 kB / 1.029 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.004e-05/0.2955, allocations: 101.9 kB / 1.03 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.535e-05/0.2956, allocations: 25.7 kB / 1.03 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.367e-05/0.2956, allocations: 96.25 kB / 1.03 GB, free: 14.83 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.524e-05/0.2956, allocations: 3.906 kB / 1.03 GB, free: 14.83 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.013e-05/0.2957, allocations: 9.719 kB / 1.03 GB, free: 14.81 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.2958, allocations: 318.8 kB / 1.03 GB, free: 14.49 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.237e-05/0.2959, allocations: 19.91 kB / 1.03 GB, free: 14.47 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.997e-05/0.296, allocations: 19.98 kB / 1.03 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001428/0.2961, allocations: 40.89 kB / 1.03 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.2961, allocations: 0 / 1.03 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001916/0.2963, allocations: 77.59 kB / 1.03 GB, free: 14.33 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.2963, allocations: 4 kB / 1.03 GB, free: 14.32 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.2964, allocations: 0 / 1.03 GB, free: 14.32 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.2964, allocations: 3.938 kB / 1.03 GB, free: 14.32 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.178e-05/0.2965, allocations: 16.02 kB / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.2965, allocations: 0 / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.6e-05/0.2965, allocations: 11.92 kB / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.533e-06/0.2965, allocations: 0 / 1.03 GB, free: 14.29 MB / 0.8106 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.086e-05/0.2966, allocations: 121.7 kB / 1.03 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.488e-05/0.2967, allocations: 3.906 kB / 1.03 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002373/0.2969, allocations: 81.17 kB / 1.03 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.2969, allocations: 4 kB / 1.03 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.2969, allocations: 0 / 1.03 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.2969, allocations: 0 / 1.03 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001487/0.2971, allocations: 161.6 kB / 1.031 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.2971, allocations: 0 / 1.031 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.445e-05/0.2971, allocations: 12.17 kB / 1.031 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.2972, allocations: 0 / 1.031 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.285e-06/0.2972, allocations: 4 kB / 1.031 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.2972, allocations: 4 kB / 1.031 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2972, allocations: 0 / 1.031 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002191/0.2974, allocations: 171.4 kB / 1.031 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.159e-05/0.2975, allocations: 85.09 kB / 1.031 GB, free: 13.56 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.184e-05/0.2975, allocations: 0 / 1.031 GB, free: 13.56 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.077e-05/0.2976, allocations: 4 kB / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.754e-05/0.2976, allocations: 7.984 kB / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-06/0.2976, allocations: 4.031 kB / 1.031 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.046e-05/0.2976, allocations: 83.28 kB / 1.031 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2977, allocations: 0 / 1.031 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002265/0.2979, allocations: 15.91 kB / 1.031 GB, free: 13.45 MB / 0.8106 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.0001374/0.298, allocations: 99.23 kB / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002/0.2982, allocations: 39.91 kB / 1.031 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.2982, allocations: 4.062 kB / 1.031 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.128e-05/0.2983, allocations: 27.97 kB / 1.031 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002732/0.2986, allocations: 7.922 kB / 1.031 GB, free: 13.26 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002754/0.2989, allocations: 105.6 kB / 1.031 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002256/0.2991, allocations: 0.6768 MB / 1.032 GB, free: 12.42 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.082e-05/0.2992, allocations: 0 / 1.032 GB, free: 12.42 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2e-05/0.2992, allocations: 15.5 kB / 1.032 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of SimCode: time 2.5e-07/0.2992, allocations: 0 / 1.032 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of Templates: time 0.002607/0.3018, allocations: 0.5443 MB / 1.032 GB, free: 11.87 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.makefile (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 & ./Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.pipe 2>&1) 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/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches