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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 105.4 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.528/1.528, allocations: 225.6 MB / 247.8 MB, free: 13.91 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.881/2.881, allocations: 476.7 MB / 0.7611 GB, free: 11.28 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.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 0.002925/0.002925, allocations: 71.89 kB / 1.104 GB, free: 9.164 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8847/0.8877, allocations: 168.7 MB / 1.269 GB, free: 5.133 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.002197/0.8899, allocations: 0.635 MB / 1.269 GB, free: 4.504 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0005512/0.8904, allocations: 203.1 kB / 1.27 GB, free: 4.305 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.503e-05/0.8905, allocations: 0 / 1.27 GB, free: 4.305 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.591e-05/0.8905, allocations: 3.938 kB / 1.27 GB, free: 4.301 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001954/0.8907, allocations: 11.92 kB / 1.27 GB, free: 4.289 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002606/0.8909, allocations: 71.77 kB / 1.27 GB, free: 4.219 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.655e-05/0.891, allocations: 31.89 kB / 1.27 GB, free: 4.188 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.73e-05/0.8911, allocations: 8 kB / 1.27 GB, free: 4.18 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.229e-05/0.8911, allocations: 15.92 kB / 1.27 GB, free: 4.164 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.179e-05/0.8912, allocations: 23.86 kB / 1.27 GB, free: 4.141 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.289e-05/0.8912, allocations: 3.938 kB / 1.27 GB, free: 4.137 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002094/0.8914, allocations: 107.8 kB / 1.27 GB, free: 4.031 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.142e-05/0.8914, allocations: 11.92 kB / 1.27 GB, free: 4.02 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.002e-05/0.8915, allocations: 15.86 kB / 1.27 GB, free: 4.004 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002108/0.8917, allocations: 101.6 kB / 1.27 GB, free: 3.906 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.8917, allocations: 0 / 1.27 GB, free: 3.906 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.647e-06/0.8917, allocations: 4 kB / 1.27 GB, free: 3.902 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.601e-06/0.8917, allocations: 0 / 1.27 GB, free: 3.902 MB / 0.9669 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.0006684/0.8924, allocations: 375.1 kB / 1.27 GB, free: 3.484 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.8924, allocations: 8.031 kB / 1.27 GB, free: 3.477 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.27e-05/0.8924, allocations: 34.69 kB / 1.27 GB, free: 3.434 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.745e-05/0.8925, allocations: 8.891 kB / 1.27 GB, free: 3.426 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002202/0.8927, allocations: 172.4 kB / 1.271 GB, free: 3.219 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.784e-06/0.8927, allocations: 384 / 1.271 GB, free: 3.219 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.456e-05/0.8927, allocations: 4.375 kB / 1.271 GB, free: 3.215 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001746/0.8929, allocations: 54.23 kB / 1.271 GB, free: 3.156 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.854e-05/0.893, allocations: 7.891 kB / 1.271 GB, free: 3.148 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.893, allocations: 0 / 1.271 GB, free: 3.148 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.893, allocations: 3.984 kB / 1.271 GB, free: 3.145 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000144/0.8932, allocations: 39.95 kB / 1.271 GB, free: 3.105 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003362/0.8935, allocations: 248.9 kB / 1.271 GB, free: 2.812 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002057/0.8937, allocations: 70.47 kB / 1.271 GB, free: 2.734 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.05e-05/0.8938, allocations: 24.94 kB / 1.271 GB, free: 2.707 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.46e-05/0.8938, allocations: 0 / 1.271 GB, free: 2.707 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.973e-05/0.8938, allocations: 30.56 kB / 1.271 GB, free: 2.668 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 8.31e-07/0.8938, allocations: 0 / 1.271 GB, free: 2.668 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.028/0.9218, allocations: 1.616 MB / 1.273 GB, free: 1.043 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.302e-05/0.9219, allocations: 59.34 kB / 1.273 GB, free: 0.9727 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001506/0.922, allocations: 117.8 kB / 1.273 GB, free: 0.8477 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 6.786e-05/0.9221, allocations: 25.7 kB / 1.273 GB, free: 0.8164 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.816e-05/0.9222, allocations: 92.14 kB / 1.273 GB, free: 0.7227 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 7.45e-05/0.9223, allocations: 31.73 kB / 1.273 GB, free: 0.6914 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001911/0.9225, allocations: 22.08 kB / 1.273 GB, free: 0.6641 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001766/0.9226, allocations: 322.8 kB / 1.273 GB, free: 348 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004753/0.9231, allocations: 139.9 kB / 1.273 GB, free: 208 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005191/0.9236, allocations: 151.9 kB / 1.274 GB, free: 56 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009863/0.9246, allocations: 292.8 kB / 1.274 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.9246, allocations: 3.938 kB / 1.274 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001196/0.9258, allocations: 333.5 kB / 1.274 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.561e-05/0.9258, allocations: 7.984 kB / 1.274 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.9258, allocations: 0 / 1.274 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.197e-05/0.9259, allocations: 0 / 1.274 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001467/0.9273, allocations: 63.88 kB / 1.274 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.9273, allocations: 4.062 kB / 1.274 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001251/0.9286, allocations: 47.94 kB / 1.274 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.589e-05/0.9286, allocations: 4 kB / 1.274 GB, free: 15.3 MB / 0.9825 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.0002035/0.9288, allocations: 117.8 kB / 1.274 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.162e-05/0.9289, allocations: 7.953 kB / 1.274 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001477/0.9291, allocations: 20.36 kB / 1.274 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.9291, allocations: 4 kB / 1.274 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.9291, allocations: 0 / 1.274 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.9291, allocations: 0 / 1.274 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005658/0.9348, allocations: 0.8455 MB / 1.275 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.9348, allocations: 0 / 1.275 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001139/0.9359, allocations: 51.94 kB / 1.275 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.9359, allocations: 0 / 1.275 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.274e-05/0.9359, allocations: 16 kB / 1.275 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.9359, allocations: 288 / 1.275 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.808e-06/0.936, allocations: 4 kB / 1.275 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001006/0.937, allocations: 317.1 kB / 1.276 GB, free: 13.83 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.906e-05/0.937, allocations: 96.98 kB / 1.276 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.038e-05/0.9371, allocations: 7.875 kB / 1.276 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009618/0.938, allocations: 39.95 kB / 1.276 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.344e-05/0.9381, allocations: 8.406 kB / 1.276 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.869e-05/0.9381, allocations: 4 kB / 1.276 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.399e-05/0.9382, allocations: 95.27 kB / 1.276 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.9382, allocations: 0 / 1.276 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004022/0.9386, allocations: 95.94 kB / 1.276 GB, free: 13.47 MB / 0.9825 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.001497/0.9401, allocations: 0.8784 MB / 1.277 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000978/0.9411, allocations: 239.8 kB / 1.277 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.9411, allocations: 0 / 1.277 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003974/0.9415, allocations: 91.94 kB / 1.277 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003317/0.9418, allocations: 8 kB / 1.277 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007109/0.9489, allocations: 2.679 MB / 1.28 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003757/0.9493, allocations: 0.6807 MB / 1.28 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0004505/0.9497, allocations: 55.92 kB / 1.28 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004139/0.9502, allocations: 23.42 kB / 1.28 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of SimCode: time 1.002e-06/0.9502, allocations: 0 / 1.28 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03599/0.9861, allocations: 9.83 MB / 1.29 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.544/9.531, allocations: 2.422 kB / 1.29 GB, free: 14.9 MB / 0.9981 GB " [Timeout remaining time 290] (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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 15.68675937410444]