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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000845/0.000845, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009217/0.0009217, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8784/0.8784, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.691/1.691, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 0.9505 GB, free: 3.496 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.572e-05/1.718e-05, allocations: 6.219 kB / 0.9505 GB, free: 3.488 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.001692/0.00171, allocations: 1.451 MB / 0.9519 GB, free: 2.023 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.000243/0.001953, allocations: 87.75 kB / 0.952 GB, free: 1.938 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.659e-05/0.001979, allocations: 4 kB / 0.952 GB, free: 1.934 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 5.677e-05/0.002036, allocations: 7.984 kB / 0.952 GB, free: 1.926 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 3.243e-05/0.002068, allocations: 3.938 kB / 0.952 GB, free: 1.922 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002586/0.002327, allocations: 15.98 kB / 0.952 GB, free: 1.906 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 6.264e-05/0.00239, allocations: 23.92 kB / 0.9521 GB, free: 1.883 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 8.626e-05/0.002476, allocations: 4 kB / 0.9521 GB, free: 1.879 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 3.882e-05/0.002515, allocations: 15.92 kB / 0.9521 GB, free: 1.863 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 3.668e-05/0.002551, allocations: 11.98 kB / 0.9521 GB, free: 1.852 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.349e-05/0.002565, allocations: 0 / 0.9521 GB, free: 1.852 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 8.493e-05/0.00265, allocations: 15.98 kB / 0.9521 GB, free: 1.836 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 4.068e-05/0.00269, allocations: 11.97 kB / 0.9521 GB, free: 1.824 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.8e-05/0.002708, allocations: 11.94 kB / 0.9521 GB, free: 1.812 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001132/0.002822, allocations: 39.83 kB / 0.9522 GB, free: 1.773 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.002823, allocations: 0 / 0.9522 GB, free: 1.773 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.493e-06/0.002825, allocations: 4 kB / 0.9522 GB, free: 1.77 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.002829, allocations: 0 / 0.9522 GB, free: 1.77 MB / 0.9011 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.0003378/0.003167, allocations: 274.2 kB / 0.9524 GB, free: 1.469 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.003205, allocations: 11.97 kB / 0.9524 GB, free: 1.457 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.029e-05/0.003236, allocations: 34.73 kB / 0.9525 GB, free: 1.414 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.04e-05/0.003256, allocations: 0.9375 kB / 0.9525 GB, free: 1.414 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.328e-05/0.003329, allocations: 109.8 kB / 0.9526 GB, free: 1.281 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.00334, allocations: 4.375 kB / 0.9526 GB, free: 1.277 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.185e-06/0.003348, allocations: 4.375 kB / 0.9526 GB, free: 1.273 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001299/0.003478, allocations: 50.23 kB / 0.9526 GB, free: 1.219 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.003486, allocations: 4.172 kB / 0.9526 GB, free: 1.215 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.737e-06/0.003495, allocations: 4.312 kB / 0.9526 GB, free: 1.211 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.002e-06/0.003501, allocations: 4.125 kB / 0.9527 GB, free: 1.207 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.777e-05/0.003599, allocations: 43.89 kB / 0.9527 GB, free: 1.164 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002691/0.003868, allocations: 228 kB / 0.9529 GB, free: 0.8984 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 8.161e-05/0.00395, allocations: 38.56 kB / 0.9529 GB, free: 0.8516 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.439e-05/0.003994, allocations: 16.91 kB / 0.953 GB, free: 0.832 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 3.18e-05/0.004026, allocations: 7.984 kB / 0.953 GB, free: 0.8242 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.234e-05/0.004048, allocations: 42.5 kB / 0.953 GB, free: 0.7734 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.004049, allocations: 0 / 0.953 GB, free: 0.7734 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.000214/0.004263, allocations: 89.58 kB / 0.9531 GB, free: 0.6797 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.788e-05/0.004291, allocations: 55.41 kB / 0.9532 GB, free: 0.6133 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.85e-05/0.004349, allocations: 109.8 kB / 0.9533 GB, free: 0.4961 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/0.004364, allocations: 29.7 kB / 0.9533 GB, free: 472 kB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 3.333e-05/0.004398, allocations: 80.14 kB / 0.9534 GB, free: 388 kB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.55e-05/0.004413, allocations: 7.891 kB / 0.9534 GB, free: 380 kB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.508e-05/0.004438, allocations: 17.72 kB / 0.9534 GB, free: 356 kB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.379e-05/0.004512, allocations: 314.8 kB / 0.9537 GB, free: 32 kB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.385e-05/0.004556, allocations: 19.98 kB / 0.9537 GB, free: 12 kB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.799e-05/0.004604, allocations: 20.16 kB / 0.9537 GB, free: 15.99 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.913e-05/0.004683, allocations: 48.7 kB / 0.9538 GB, free: 15.94 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.004684, allocations: 0 / 0.9538 GB, free: 15.94 MB / 0.9167 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001013/0.004786, allocations: 73.59 kB / 0.9538 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.004797, allocations: 4 kB / 0.9538 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.004801, allocations: 4.094 kB / 0.9538 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.004811, allocations: 0 / 0.9538 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.52e-05/0.004867, allocations: 8 kB / 0.9539 GB, free: 15.85 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.527e-06/0.00487, allocations: 0 / 0.9539 GB, free: 15.85 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.289e-05/0.004893, allocations: 11.94 kB / 0.9539 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.067e-06/0.004897, allocations: 0 / 0.9539 GB, free: 15.84 MB / 0.9167 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 5.073e-05/0.004948, allocations: 109.8 kB / 0.954 GB, free: 15.72 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.218e-05/0.00496, allocations: 7.938 kB / 0.954 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000128/0.005088, allocations: 81.2 kB / 0.9541 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.00509, allocations: 0 / 0.9541 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.005093, allocations: 0 / 0.9541 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.005095, allocations: 7.938 kB / 0.9541 GB, free: 15.61 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.647e-05/0.005192, allocations: 124.8 kB / 0.9542 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.005193, allocations: 3.938 kB / 0.9542 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.546e-05/0.005218, allocations: 16.23 kB / 0.9542 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.00522, allocations: 3.938 kB / 0.9542 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.005227, allocations: 4 kB / 0.9542 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.005228, allocations: 0 / 0.9542 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.005229, allocations: 4.031 kB / 0.9542 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001208/0.00535, allocations: 159.5 kB / 0.9544 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 8.977e-06/0.005359, allocations: 15.83 kB / 0.9544 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.857e-06/0.005368, allocations: 0 / 0.9544 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.66e-05/0.005404, allocations: 7.984 kB / 0.9544 GB, free: 15.22 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.345e-05/0.005438, allocations: 4 kB / 0.9544 GB, free: 15.22 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.793e-06/0.005439, allocations: 0 / 0.9544 GB, free: 15.22 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.923e-05/0.005469, allocations: 87.27 kB / 0.9545 GB, free: 15.13 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1e-07/0.005469, allocations: 4.031 kB / 0.9545 GB, free: 15.13 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001636/0.005632, allocations: 8 kB / 0.9545 GB, free: 15.12 MB / 0.9167 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.0003343/0.005967, allocations: 0.6929 MB / 0.9552 GB, free: 14.4 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.00013/0.006097, allocations: 47.89 kB / 0.9552 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.006098, allocations: 0 / 0.9552 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 4.05e-05/0.006139, allocations: 24.08 kB / 0.9552 GB, free: 14.33 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002005/0.006339, allocations: 10.64 kB / 0.9552 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003452/0.006684, allocations: 146.4 kB / 0.9554 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.024e-05/0.006725, allocations: 59.34 kB / 0.9554 GB, free: 14.06 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 1.778e-05/0.006742, allocations: 4 kB / 0.9554 GB, free: 14.06 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.121e-05/0.006774, allocations: 12.5 kB / 0.9555 GB, free: 14.05 MB / 0.9167 GB Notification: Performance of SimCode: time 7.02e-07/0.006774, allocations: 0 / 0.9555 GB, free: 14.05 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01401/0.02078, allocations: 2.095 MB / 0.9575 GB, free: 12.08 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.881/6.902, allocations: 9.969 kB / 0.9575 GB, free: 12.07 MB / 0.9167 GB " [Timeout remaining time 293] (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 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Examples_Polynomial.fmu > Buildings_11_Buildings.Utilities.Math.Examples.Polynomial.pipe 2>&1) [Timeout 420.0] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 10.847892824560404]