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: "" <> 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008801/0.0008802, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005719/0.005719, allocations: 169 kB / 16.26 MB, free: 6.652 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.284/1.284, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.548/2.548, allocations: 462.6 MB / 0.7364 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003072/0.0003073, allocations: 14.47 kB / 0.9029 GB, free: 36.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2456/0.2459, allocations: 159.6 MB / 1.059 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.001449/0.2474, allocations: 1.167 MB / 1.06 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0003033/0.2477, allocations: 99.8 kB / 1.06 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.318e-05/0.2478, allocations: 4 kB / 1.06 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.238e-05/0.2478, allocations: 0 / 1.06 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.386e-05/0.2479, allocations: 11.92 kB / 1.06 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001843/0.2481, allocations: 8 kB / 1.06 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.462e-05/0.2481, allocations: 23.92 kB / 1.06 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.137e-05/0.2482, allocations: 4 kB / 1.06 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.985e-05/0.2483, allocations: 19.91 kB / 1.06 GB, free: 3.559 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.967e-05/0.2483, allocations: 7.984 kB / 1.06 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.06e-05/0.2483, allocations: 3.938 kB / 1.06 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.933e-05/0.2484, allocations: 19.98 kB / 1.06 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.356e-05/0.2484, allocations: 11.94 kB / 1.06 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.067e-05/0.2485, allocations: 29.64 kB / 1.06 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.896e-05/0.2486, allocations: 35.83 kB / 1.06 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.2486, allocations: 0 / 1.06 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.172e-06/0.2486, allocations: 0 / 1.06 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.656e-06/0.2486, allocations: 0 / 1.06 GB, free: 3.445 MB / 0.8106 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.0003813/0.249, allocations: 347.8 kB / 1.061 GB, free: 3.055 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.249, allocations: 19.95 kB / 1.061 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.199e-05/0.2491, allocations: 30.75 kB / 1.061 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.114e-05/0.2491, allocations: 4.844 kB / 1.061 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.783e-05/0.2492, allocations: 168.4 kB / 1.061 GB, free: 2.789 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.2492, allocations: 4.375 kB / 1.061 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.193e-06/0.2492, allocations: 384 / 1.061 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001703/0.2494, allocations: 58.23 kB / 1.061 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-06/0.2494, allocations: 7.938 kB / 1.061 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.554e-06/0.2494, allocations: 0 / 1.061 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.497e-06/0.2495, allocations: 0 / 1.061 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001829/0.2496, allocations: 51.89 kB / 1.061 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002951/0.2499, allocations: 253 kB / 1.061 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000126/0.2501, allocations: 46.5 kB / 1.061 GB, free: 2.312 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.203e-05/0.2502, allocations: 32.91 kB / 1.061 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.085e-05/0.2502, allocations: 11.97 kB / 1.061 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.118e-05/0.2503, allocations: 34.56 kB / 1.061 GB, free: 2.223 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.133e-06/0.2503, allocations: 0 / 1.061 GB, free: 2.223 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003535/0.2506, allocations: 109.5 kB / 1.061 GB, free: 2.109 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.99e-05/0.2507, allocations: 51.41 kB / 1.061 GB, free: 2.047 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.104e-05/0.2507, allocations: 105.8 kB / 1.061 GB, free: 1.934 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.052e-05/0.2508, allocations: 29.7 kB / 1.061 GB, free: 1.898 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.798e-05/0.2508, allocations: 84.14 kB / 1.062 GB, free: 1.812 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.676e-05/0.2508, allocations: 7.844 kB / 1.062 GB, free: 1.805 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.98e-05/0.2508, allocations: 9.719 kB / 1.062 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.408e-05/0.2509, allocations: 323 kB / 1.062 GB, free: 1.465 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.704e-05/0.251, allocations: 19.97 kB / 1.062 GB, free: 1.445 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.999e-05/0.2511, allocations: 23.98 kB / 1.062 GB, free: 1.422 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001646/0.2513, allocations: 64.75 kB / 1.062 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.2513, allocations: 3.938 kB / 1.062 GB, free: 1.352 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002058/0.2515, allocations: 77.67 kB / 1.062 GB, free: 1.27 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.2515, allocations: 7.984 kB / 1.062 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.2515, allocations: 4 kB / 1.062 GB, free: 1.258 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.338e-06/0.2516, allocations: 0 / 1.062 GB, free: 1.258 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.397e-05/0.2516, allocations: 15.94 kB / 1.062 GB, free: 1.242 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.469e-06/0.2517, allocations: 0 / 1.062 GB, free: 1.242 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.968e-05/0.2517, allocations: 12.02 kB / 1.062 GB, free: 1.23 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.139e-06/0.2517, allocations: 4 kB / 1.062 GB, free: 1.227 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 6.233e-05/0.2518, allocations: 109.8 kB / 1.062 GB, free: 1.109 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.366e-05/0.2518, allocations: 4 kB / 1.062 GB, free: 1.105 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002381/0.2521, allocations: 97.02 kB / 1.062 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.2521, allocations: 4 kB / 1.062 GB, free: 1 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.2521, allocations: 0 / 1.062 GB, free: 1 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.2521, allocations: 0 / 1.062 GB, free: 1 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001383/0.2522, allocations: 161.6 kB / 1.062 GB, free: 0.793 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.2522, allocations: 4 kB / 1.062 GB, free: 0.7891 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.699e-05/0.2523, allocations: 8 kB / 1.062 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.2523, allocations: 0 / 1.062 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.26e-06/0.2523, allocations: 0 / 1.062 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.2523, allocations: 4.031 kB / 1.062 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.073e-06/0.2523, allocations: 3.984 kB / 1.062 GB, free: 0.7734 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002349/0.2526, allocations: 179.4 kB / 1.063 GB, free: 0.582 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 2.771e-05/0.2526, allocations: 81.14 kB / 1.063 GB, free: 496 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.09e-05/0.2526, allocations: 4 kB / 1.063 GB, free: 492 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.34e-05/0.2527, allocations: 4.25 kB / 1.063 GB, free: 488 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.035e-05/0.2527, allocations: 7.984 kB / 1.063 GB, free: 480 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.04e-06/0.2528, allocations: 8 kB / 1.063 GB, free: 472 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.416e-05/0.2528, allocations: 79.28 kB / 1.063 GB, free: 392 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.2528, allocations: 0 / 1.063 GB, free: 392 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002171/0.253, allocations: 8 kB / 1.063 GB, free: 384 kB / 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.0004963/0.2535, allocations: 0.7202 MB / 1.064 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002149/0.2537, allocations: 55.89 kB / 1.064 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.2538, allocations: 4 kB / 1.064 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.887e-05/0.2539, allocations: 27.98 kB / 1.064 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002464/0.2541, allocations: 5.719 kB / 1.064 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003629/0.2545, allocations: 146.4 kB / 1.064 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001914/0.2547, allocations: 0.677 MB / 1.064 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.258e-05/0.2547, allocations: 4 kB / 1.064 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.922e-05/0.2548, allocations: 19.48 kB / 1.064 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of SimCode: time 2.51e-07/0.2548, allocations: 0 / 1.064 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.007/3.262, allocations: 1.169 MB / 1.066 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002328/3.262, allocations: 198.9 kB / 1.066 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.453/5.715, allocations: 7.938 kB / 1.066 GB, free: 13.32 MB / 0.8262 GB (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 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_Polynomial.fmu > 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