Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Utilities_Math_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Polynomial,fileNamePrefix="Buildings_9_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.007921/0.007921, allocations: 101.8 kB / 15.73 MB, free: 5.996 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.001931/0.001931, allocations: 190.4 kB / 16.67 MB, free: 5.914 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.327/1.327, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.279/2.279, allocations: 390.2 MB / 0.6648 GB, free: 220 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 64.12 kB / 0.9504 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.249/0.2502, allocations: 140.4 MB / 1.087 GB, free: 1.996 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.002514/0.2528, allocations: 1.435 MB / 1.089 GB, free: 0.5469 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0002947/0.2531, allocations: 96.59 kB / 1.089 GB, free: 460 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.78e-05/0.2531, allocations: 0 / 1.089 GB, free: 460 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 6.041e-05/0.2532, allocations: 3.984 kB / 1.089 GB, free: 456 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 3.298e-05/0.2532, allocations: 3.938 kB / 1.089 GB, free: 452 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002243/0.2535, allocations: 27.91 kB / 1.089 GB, free: 424 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 6.317e-05/0.2535, allocations: 19.98 kB / 1.089 GB, free: 404 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 8.494e-05/0.2536, allocations: 4 kB / 1.089 GB, free: 400 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 4.295e-05/0.2537, allocations: 23.86 kB / 1.089 GB, free: 376 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 3.696e-05/0.2537, allocations: 8 kB / 1.089 GB, free: 368 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.06e-05/0.2537, allocations: 3.938 kB / 1.089 GB, free: 364 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 8.673e-05/0.2538, allocations: 23.97 kB / 1.089 GB, free: 340 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.451e-05/0.2539, allocations: 0 / 1.089 GB, free: 340 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.751e-05/0.2539, allocations: 11.94 kB / 1.089 GB, free: 328 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001135/0.254, allocations: 35.88 kB / 1.089 GB, free: 292 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.254, allocations: 4 kB / 1.089 GB, free: 288 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.373e-06/0.254, allocations: 0 / 1.089 GB, free: 288 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.648e-06/0.2541, allocations: 0 / 1.089 GB, free: 288 kB / 0.8419 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.0004743/0.2545, allocations: 346.8 kB / 1.089 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.2546, allocations: 12.03 kB / 1.089 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.868e-05/0.2546, allocations: 30.75 kB / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.271e-05/0.2546, allocations: 0.9375 kB / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001185/0.2548, allocations: 176.2 kB / 1.09 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.849e-06/0.2548, allocations: 384 / 1.09 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.169e-05/0.2548, allocations: 4.375 kB / 1.09 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001722/0.255, allocations: 54.23 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.255, allocations: 7.938 kB / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.485e-06/0.255, allocations: 0 / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.255, allocations: 0 / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00017/0.2552, allocations: 35.95 kB / 1.09 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003182/0.2555, allocations: 245 kB / 1.09 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001359/0.2557, allocations: 54.42 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.307e-05/0.2558, allocations: 28.89 kB / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.171e-05/0.2558, allocations: 0 / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.445e-05/0.2558, allocations: 34.56 kB / 1.09 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 7.91e-07/0.2558, allocations: 0 / 1.09 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003825/0.2562, allocations: 93.72 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.324e-05/0.2563, allocations: 55.34 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/0.2564, allocations: 101.9 kB / 1.09 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.345e-05/0.2564, allocations: 25.7 kB / 1.09 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.388e-05/0.2565, allocations: 92.34 kB / 1.09 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.732e-05/0.2565, allocations: 11.78 kB / 1.09 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.898e-05/0.2565, allocations: 13.72 kB / 1.09 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.2567, allocations: 314.8 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.924e-05/0.2568, allocations: 24 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.903e-05/0.2568, allocations: 20.23 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001565/0.257, allocations: 36.83 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.257, allocations: 7.938 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002066/0.2572, allocations: 81.66 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.2573, allocations: 4 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.2573, allocations: 0 / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.2573, allocations: 0 / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.704e-05/0.2574, allocations: 11.98 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.2574, allocations: 0 / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.114e-05/0.2574, allocations: 11.89 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-06/0.2575, allocations: 0 / 1.091 GB, free: 14.15 MB / 0.8575 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.266e-05/0.2575, allocations: 115.8 kB / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.397e-05/0.2576, allocations: 4 kB / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002355/0.2578, allocations: 77.17 kB / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.2578, allocations: 0 / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.2578, allocations: 0 / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.2578, allocations: 0 / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001737/0.258, allocations: 161.6 kB / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.258, allocations: 3.938 kB / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.943e-05/0.2581, allocations: 16.02 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.2581, allocations: 0 / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.222e-06/0.2581, allocations: 0 / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.2581, allocations: 0 / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.2581, allocations: 0 / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002518/0.2584, allocations: 167.5 kB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.125e-05/0.2584, allocations: 89.03 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.114e-05/0.2585, allocations: 0 / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.445e-05/0.2585, allocations: 4 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.984e-05/0.2586, allocations: 11.98 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.476e-06/0.2586, allocations: 0 / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.178e-05/0.2586, allocations: 83.28 kB / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.583e-06/0.2586, allocations: 0 / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002362/0.2589, allocations: 15.94 kB / 1.092 GB, free: 13.32 MB / 0.8575 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.0005693/0.2595, allocations: 0.7123 MB / 1.092 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000216/0.2597, allocations: 35.97 kB / 1.092 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2597, allocations: 8.031 kB / 1.092 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.192e-05/0.2598, allocations: 27.91 kB / 1.092 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002834/0.2601, allocations: 4 kB / 1.092 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004429/0.2605, allocations: 143.2 kB / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003071/0.2609, allocations: 0.6729 MB / 1.093 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.681e-05/0.2609, allocations: 7.984 kB / 1.093 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.207e-05/0.2609, allocations: 15.5 kB / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of SimCode: time 3.61e-07/0.2609, allocations: 0 / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01786/0.2788, allocations: 1.419 MB / 1.095 GB, free: 10.26 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.403/7.682, allocations: 11.94 kB / 1.095 GB, free: 10.25 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Utilities.Math.Examples.Polynomial.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.Polynomial.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.Polynomial.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Utilities.Math.Examples.Polynomial_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Utilities_Math_Examples_Polynomial.fmu > Buildings_9_Buildings.Utilities.Math.Examples.Polynomial.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.Polynomial_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_Polynomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.Polynomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches