Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.00229/0.00229, allocations: 110.6 kB / 16.46 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.001948/0.001948, allocations: 191.8 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.447/1.447, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.627/2.627, allocations: 443.5 MB / 0.7287 GB, free: 13.28 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Utilities_Math_Functions_Examples_QuinticHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_QuinticHermite",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002028/0.002028, allocations: 71.88 kB / 1.056 GB, free: 5.828 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7927/0.7948, allocations: 160.7 MB / 1.213 GB, free: 3.855 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.002044/0.7968, allocations: 0.6365 MB / 1.214 GB, free: 3.383 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0005129/0.7973, allocations: 204.4 kB / 1.214 GB, free: 3.223 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.046e-05/0.7973, allocations: 1 kB / 1.214 GB, free: 3.223 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.698e-05/0.7974, allocations: 0 / 1.214 GB, free: 3.223 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001653/0.7975, allocations: 9.375 kB / 1.214 GB, free: 3.215 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002375/0.7978, allocations: 75.55 kB / 1.214 GB, free: 3.176 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.598e-05/0.7978, allocations: 33.55 kB / 1.214 GB, free: 3.156 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 5.214e-05/0.7979, allocations: 6.047 kB / 1.214 GB, free: 3.152 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.312e-05/0.7979, allocations: 17.45 kB / 1.214 GB, free: 3.141 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.279e-05/0.798, allocations: 18.64 kB / 1.214 GB, free: 3.129 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.532e-05/0.798, allocations: 6.188 kB / 1.214 GB, free: 3.125 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002043/0.7982, allocations: 109.5 kB / 1.214 GB, free: 3.051 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.808e-05/0.7983, allocations: 10.22 kB / 1.214 GB, free: 3.043 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.759e-05/0.7983, allocations: 14.09 kB / 1.214 GB, free: 3.031 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001939/0.7985, allocations: 104 kB / 1.214 GB, free: 2.977 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.7985, allocations: 0 / 1.214 GB, free: 2.977 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.423e-06/0.7985, allocations: 1.094 kB / 1.214 GB, free: 2.977 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.7985, allocations: 0 / 1.214 GB, free: 2.977 MB / 0.92 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.0005836/0.7991, allocations: 381.4 kB / 1.215 GB, free: 2.578 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.7991, allocations: 13.11 kB / 1.215 GB, free: 2.574 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.04e-05/0.7992, allocations: 35.48 kB / 1.215 GB, free: 2.531 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.322e-05/0.7992, allocations: 7.484 kB / 1.215 GB, free: 2.527 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001663/0.7994, allocations: 168.7 kB / 1.215 GB, free: 2.328 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.7994, allocations: 5.453 kB / 1.215 GB, free: 2.324 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.135e-05/0.7994, allocations: 6.656 kB / 1.215 GB, free: 2.32 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001559/0.7996, allocations: 59.59 kB / 1.215 GB, free: 2.27 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.7996, allocations: 5 kB / 1.215 GB, free: 2.266 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.195e-06/0.7996, allocations: 0 / 1.215 GB, free: 2.266 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.7996, allocations: 5.125 kB / 1.215 GB, free: 2.262 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001319/0.7997, allocations: 32.25 kB / 1.215 GB, free: 2.25 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003107/0.8, allocations: 246.8 kB / 1.215 GB, free: 1.969 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002047/0.8002, allocations: 69 kB / 1.215 GB, free: 1.922 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.204e-05/0.8003, allocations: 32.11 kB / 1.215 GB, free: 1.898 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.485e-05/0.8003, allocations: 1.062 kB / 1.215 GB, free: 1.898 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.974e-05/0.8003, allocations: 31.66 kB / 1.215 GB, free: 1.859 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.8003, allocations: 0 / 1.215 GB, free: 1.859 MB / 0.92 GB Notification: Performance of matching and sorting (n=8): time 0.02932/0.8297, allocations: 1.617 MB / 1.217 GB, free: 1.121 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.818e-05/0.8297, allocations: 53.03 kB / 1.217 GB, free: 1.059 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001561/0.8299, allocations: 119.6 kB / 1.217 GB, free: 0.9453 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 7.463e-05/0.83, allocations: 29.7 kB / 1.217 GB, free: 0.9102 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.527e-05/0.83, allocations: 86.36 kB / 1.217 GB, free: 0.8242 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 7.929e-05/0.8301, allocations: 23.59 kB / 1.217 GB, free: 0.8047 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002026/0.8303, allocations: 28.2 kB / 1.217 GB, free: 0.7773 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.8305, allocations: 325.5 kB / 1.217 GB, free: 464 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004798/0.8309, allocations: 137.5 kB / 1.218 GB, free: 412 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000475/0.8314, allocations: 148.1 kB / 1.218 GB, free: 352 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009945/0.8324, allocations: 299.4 kB / 1.218 GB, free: 224 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.8324, allocations: 1.562 kB / 1.218 GB, free: 224 kB / 0.92 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001192/0.8336, allocations: 334.9 kB / 1.218 GB, free: 68 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.8336, allocations: 5.406 kB / 1.218 GB, free: 68 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.8336, allocations: 1.062 kB / 1.218 GB, free: 68 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.8337, allocations: 4 kB / 1.218 GB, free: 64 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001519/0.8352, allocations: 63.11 kB / 1.218 GB, free: 44 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.553e-06/0.8352, allocations: 0 / 1.218 GB, free: 44 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001337/0.8365, allocations: 47.64 kB / 1.218 GB, free: 28 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-05/0.8366, allocations: 6.188 kB / 1.218 GB, free: 24 kB / 0.92 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.0002128/0.8368, allocations: 125.2 kB / 1.219 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.766e-05/0.8369, allocations: 6.453 kB / 1.219 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001353/0.837, allocations: 17.75 kB / 1.219 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.837, allocations: 5.188 kB / 1.219 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.837, allocations: 0.875 kB / 1.219 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.837, allocations: 0 / 1.219 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005881/0.8429, allocations: 0.8373 MB / 1.219 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.8429, allocations: 1.094 kB / 1.219 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001164/0.8441, allocations: 52.56 kB / 1.219 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.016e-06/0.8441, allocations: 1.516 kB / 1.219 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.488e-05/0.8441, allocations: 10.11 kB / 1.219 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.069e-06/0.8441, allocations: 5.188 kB / 1.219 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.8441, allocations: 0.9688 kB / 1.219 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009502/0.8451, allocations: 320.8 kB / 1.22 GB, free: 15 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.432e-05/0.8452, allocations: 87.36 kB / 1.22 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.482e-05/0.8452, allocations: 12.97 kB / 1.22 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001031/0.8463, allocations: 42.48 kB / 1.22 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.937e-05/0.8463, allocations: 7.328 kB / 1.22 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.865e-05/0.8463, allocations: 4.094 kB / 1.22 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.724e-05/0.8464, allocations: 99.92 kB / 1.22 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8.1e-08/0.8464, allocations: 0 / 1.22 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004125/0.8468, allocations: 94.59 kB / 1.22 GB, free: 14.77 MB / 0.9356 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.001427/0.8482, allocations: 0.8728 MB / 1.221 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0009941/0.8492, allocations: 242.6 kB / 1.221 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.8492, allocations: 0 / 1.221 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0004114/0.8497, allocations: 95.47 kB / 1.221 GB, free: 13.9 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003001/0.85, allocations: 15.19 kB / 1.221 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006843/0.8568, allocations: 2.671 MB / 1.224 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003489/0.8571, allocations: 0.6912 MB / 1.225 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0004819/0.8576, allocations: 52.16 kB / 1.225 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004332/0.8581, allocations: 24.67 kB / 1.225 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of SimCode: time 9.61e-07/0.8581, allocations: 0 / 1.225 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03717/0.8952, allocations: 9.818 MB / 1.234 GB, free: 2.004 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.61/9.505, allocations: 0.7656 kB / 1.234 GB, free: 2.004 MB / 0.9356 GB " [Timeout remaining time 290] (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Functions_Examples_QuinticHermite_fmu --startTime=0 --stopTime=3 --stepSize=0.0012 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Functions_Examples_QuinticHermite.fmu > Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_QuinticHermite.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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.597253777552396]