Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.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.000823/0.000823, 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.0009645/0.0009645, allocations: 165.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.9003/0.9003, 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.68/1.68, 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.Functions.Examples.QuinticHermite,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_QuinticHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_QuinticHermite",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.9505 GB, free: 3.426 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.69e-05/1.85e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.422 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001188/0.001207, allocations: 0.6345 MB / 0.9512 GB, free: 2.781 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0003297/0.001536, allocations: 171.2 kB / 0.9513 GB, free: 2.613 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.13e-05/0.001568, allocations: 0 / 0.9513 GB, free: 2.613 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 1.533e-05/0.001583, allocations: 0 / 0.9513 GB, free: 2.613 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0001736/0.001757, allocations: 19.8 kB / 0.9513 GB, free: 2.594 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001874/0.001944, allocations: 71.75 kB / 0.9514 GB, free: 2.523 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 6.234e-05/0.002006, allocations: 27.92 kB / 0.9514 GB, free: 2.496 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.985e-05/0.002046, allocations: 7.984 kB / 0.9515 GB, free: 2.488 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 4.413e-05/0.00209, allocations: 19.92 kB / 0.9515 GB, free: 2.469 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 5.216e-05/0.002143, allocations: 11.97 kB / 0.9515 GB, free: 2.457 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.536e-05/0.002158, allocations: 4 kB / 0.9515 GB, free: 2.453 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 8.786e-05/0.002246, allocations: 47.89 kB / 0.9515 GB, free: 2.406 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.63e-05/0.002262, allocations: 7.922 kB / 0.9515 GB, free: 2.398 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.776e-05/0.00228, allocations: 8 kB / 0.9515 GB, free: 2.391 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001278/0.002408, allocations: 107.6 kB / 0.9516 GB, free: 2.285 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.00241, allocations: 0 / 0.9516 GB, free: 2.285 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.212e-06/0.002411, allocations: 0 / 0.9516 GB, free: 2.285 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.517e-06/0.002414, allocations: 3.938 kB / 0.9517 GB, free: 2.281 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004878/0.002902, allocations: 290.1 kB / 0.9519 GB, free: 1.965 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.002939, allocations: 12.03 kB / 0.9519 GB, free: 1.953 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.89e-05/0.002968, allocations: 34.75 kB / 0.952 GB, free: 1.91 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.402e-05/0.002992, allocations: 8.891 kB / 0.952 GB, free: 1.902 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.199e-05/0.003084, allocations: 113.7 kB / 0.9521 GB, free: 1.766 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.247e-06/0.003094, allocations: 4.375 kB / 0.9521 GB, free: 1.762 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.845e-05/0.003112, allocations: 8.375 kB / 0.9521 GB, free: 1.754 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001082/0.00322, allocations: 54.17 kB / 0.9522 GB, free: 1.695 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.00323, allocations: 192 / 0.9522 GB, free: 1.695 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.824e-06/0.003237, allocations: 384 / 0.9522 GB, free: 1.695 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.003243, allocations: 8.125 kB / 0.9522 GB, free: 1.688 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.905e-05/0.003322, allocations: 31.97 kB / 0.9522 GB, free: 1.656 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002257/0.003548, allocations: 220 kB / 0.9524 GB, free: 1.398 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001258/0.003674, allocations: 70.52 kB / 0.9525 GB, free: 1.32 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.552e-05/0.00372, allocations: 32.81 kB / 0.9525 GB, free: 1.285 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 2.076e-05/0.00374, allocations: 0 / 0.9525 GB, free: 1.285 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.996e-05/0.00376, allocations: 38.5 kB / 0.9525 GB, free: 1.238 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=4): time 8.01e-07/0.003761, allocations: 0 / 0.9525 GB, free: 1.238 MB / 0.9011 GB Notification: Performance of matching and sorting (n=8): time 0.01269/0.01645, allocations: 1.616 MB / 0.9541 GB, free: 15.61 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.374e-05/0.01649, allocations: 55.41 kB / 0.9542 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.031e-05/0.01657, allocations: 113.8 kB / 0.9543 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 4.422e-05/0.01661, allocations: 29.7 kB / 0.9543 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.548e-05/0.01666, allocations: 84.14 kB / 0.9544 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 4.697e-05/0.0167, allocations: 27.73 kB / 0.9544 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000126/0.01683, allocations: 29.7 kB / 0.9544 GB, free: 15.24 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.164e-05/0.01691, allocations: 314.8 kB / 0.9547 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003378/0.01725, allocations: 143.9 kB / 0.9549 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003232/0.01757, allocations: 140.3 kB / 0.955 GB, free: 14.65 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006828/0.01825, allocations: 304.8 kB / 0.9553 GB, free: 14.35 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.01826, allocations: 3.938 kB / 0.9553 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007897/0.01905, allocations: 341.5 kB / 0.9556 GB, free: 14 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.01906, allocations: 7.984 kB / 0.9556 GB, free: 14 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.01907, allocations: 0 / 0.9556 GB, free: 14 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.01908, allocations: 0 / 0.9556 GB, free: 14 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006752/0.01975, allocations: 59.94 kB / 0.9557 GB, free: 13.94 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.01976, allocations: 4 kB / 0.9557 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005601/0.02032, allocations: 51.94 kB / 0.9558 GB, free: 13.88 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.241e-05/0.02035, allocations: 4 kB / 0.9558 GB, free: 13.88 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 (9): * Single equations (assignments): 9 * 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 0.000115/0.02047, allocations: 113.8 kB / 0.9559 GB, free: 13.76 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.775e-05/0.02051, allocations: 7.953 kB / 0.9559 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.298e-05/0.02059, allocations: 24.42 kB / 0.9559 GB, free: 13.72 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.02059, allocations: 0 / 0.9559 GB, free: 13.72 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.02059, allocations: 0 / 0.9559 GB, free: 13.72 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.0206, allocations: 0 / 0.9559 GB, free: 13.72 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002776/0.02337, allocations: 0.7352 MB / 0.9566 GB, free: 12.93 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.02338, allocations: 0 / 0.9566 GB, free: 12.93 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004733/0.02385, allocations: 51.94 kB / 0.9567 GB, free: 12.88 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.601e-06/0.02385, allocations: 12 kB / 0.9567 GB, free: 12.87 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.65e-05/0.02388, allocations: 4 kB / 0.9567 GB, free: 12.87 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.02388, allocations: 0 / 0.9567 GB, free: 12.87 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.634e-06/0.02389, allocations: 7.984 kB / 0.9567 GB, free: 12.86 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006096/0.0245, allocations: 321.1 kB / 0.957 GB, free: 12.52 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.333e-05/0.02451, allocations: 11.94 kB / 0.957 GB, free: 12.51 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.864e-05/0.02455, allocations: 0 / 0.957 GB, free: 12.51 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004328/0.02498, allocations: 47.95 kB / 0.957 GB, free: 12.46 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.553e-05/0.025, allocations: 11.92 kB / 0.9571 GB, free: 12.45 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.182e-05/0.02502, allocations: 0 / 0.9571 GB, free: 12.45 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.982e-05/0.02506, allocations: 99.3 kB / 0.9572 GB, free: 12.36 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.02506, allocations: 0 / 0.9572 GB, free: 12.36 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.000269/0.02533, allocations: 95.94 kB / 0.9572 GB, free: 12.26 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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.0008664/0.02619, allocations: 0.8702 MB / 0.9581 GB, free: 11.36 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0006736/0.02687, allocations: 239.8 kB / 0.9583 GB, free: 11.12 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.02687, allocations: 0 / 0.9583 GB, free: 11.12 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002608/0.02713, allocations: 100 kB / 0.9584 GB, free: 11.03 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000206/0.02733, allocations: 9.656 kB / 0.9584 GB, free: 11.02 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003825/0.03116, allocations: 2.687 MB / 0.9611 GB, free: 8.242 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.517e-05/0.03121, allocations: 71.34 kB / 0.9611 GB, free: 8.152 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0002354/0.03144, allocations: 52 kB / 0.9612 GB, free: 8.102 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003373/0.03178, allocations: 28.91 kB / 0.9612 GB, free: 8.074 MB / 0.9167 GB Notification: Performance of SimCode: time 4.51e-07/0.03178, allocations: 0 / 0.9612 GB, free: 8.074 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02206/0.05384, allocations: 11.47 MB / 0.9724 GB, free: 12.69 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.035/7.089, allocations: 9.859 kB / 0.9724 GB, free: 12.69 MB / 0.9323 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Functions_Examples_QuinticHermite_fmu --startTime=0 --stopTime=3 --stepSize=0.0012 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Functions_Examples_QuinticHermite.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_QuinticHermite.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.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: 11.021650039590895]