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.001303/0.001303, allocations: 108.3 kB / 16.41 MB, free: 6.508 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.001334/0.001334, allocations: 191.7 kB / 19.35 MB, free: 3.734 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.416/1.416, allocations: 222.9 MB / 245.1 MB, free: 15.02 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.631/2.631, allocations: 437.1 MB / 0.7171 GB, free: 4.098 MB / 0.5762 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.002027/0.002027, allocations: 67.89 kB / 1.027 GB, free: 11.97 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8079/0.81, allocations: 151.6 MB / 1.175 GB, free: 17.5 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.00167/0.8117, allocations: 0.6337 MB / 1.175 GB, free: 17.1 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0003862/0.8121, allocations: 196.5 kB / 1.176 GB, free: 16.97 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.831e-05/0.8121, allocations: 0 / 1.176 GB, free: 16.97 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.326e-05/0.8122, allocations: 4 kB / 1.176 GB, free: 16.96 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001518/0.8123, allocations: 14.67 kB / 1.176 GB, free: 16.95 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001704/0.8125, allocations: 73.28 kB / 1.176 GB, free: 16.93 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.167e-05/0.8126, allocations: 35.58 kB / 1.176 GB, free: 16.91 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.166e-05/0.8126, allocations: 3.062 kB / 1.176 GB, free: 16.91 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.837e-05/0.8127, allocations: 15.69 kB / 1.176 GB, free: 16.91 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.577e-05/0.8127, allocations: 19.73 kB / 1.176 GB, free: 16.9 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.419e-05/0.8127, allocations: 2.219 kB / 1.176 GB, free: 16.9 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001743/0.8129, allocations: 105.2 kB / 1.176 GB, free: 16.87 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.603e-05/0.8129, allocations: 16.72 kB / 1.176 GB, free: 16.86 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.63e-05/0.813, allocations: 16.44 kB / 1.176 GB, free: 16.84 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001739/0.8132, allocations: 103 kB / 1.176 GB, free: 16.82 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.8132, allocations: 0.75 kB / 1.176 GB, free: 16.82 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.643e-06/0.8132, allocations: 0 / 1.176 GB, free: 16.82 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.052e-06/0.8132, allocations: 1.312 kB / 1.176 GB, free: 16.82 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.0004249/0.8136, allocations: 370.7 kB / 1.176 GB, free: 16.44 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.8137, allocations: 9.562 kB / 1.176 GB, free: 16.44 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.298e-05/0.8137, allocations: 40.86 kB / 1.176 GB, free: 16.39 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.557e-05/0.8137, allocations: 6.906 kB / 1.176 GB, free: 16.39 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.634e-05/0.8138, allocations: 171.5 kB / 1.177 GB, free: 16.19 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.8138, allocations: 1.5 kB / 1.177 GB, free: 16.19 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.133e-05/0.8139, allocations: 6.547 kB / 1.177 GB, free: 16.18 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001389/0.814, allocations: 56.98 kB / 1.177 GB, free: 16.14 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.814, allocations: 5.031 kB / 1.177 GB, free: 16.14 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.056e-06/0.814, allocations: 0 / 1.177 GB, free: 16.14 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.91e-06/0.814, allocations: 1.469 kB / 1.177 GB, free: 16.14 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001348/0.8142, allocations: 37.66 kB / 1.177 GB, free: 16.13 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00021/0.8144, allocations: 251.8 kB / 1.177 GB, free: 15.86 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000206/0.8146, allocations: 74.81 kB / 1.177 GB, free: 15.82 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.821e-05/0.8147, allocations: 33.33 kB / 1.177 GB, free: 15.8 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.992e-05/0.8147, allocations: 1.672 kB / 1.177 GB, free: 15.8 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.178e-05/0.8147, allocations: 31.62 kB / 1.177 GB, free: 15.76 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.8147, allocations: 0 / 1.177 GB, free: 15.76 MB / 0.92 GB Notification: Performance of matching and sorting (n=8): time 0.02813/0.8429, allocations: 1.615 MB / 1.179 GB, free: 15.55 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.144e-05/0.843, allocations: 52.69 kB / 1.179 GB, free: 15.49 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/0.8431, allocations: 117.1 kB / 1.179 GB, free: 15.39 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 5.145e-05/0.8431, allocations: 30.83 kB / 1.179 GB, free: 15.35 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.692e-05/0.8432, allocations: 86.44 kB / 1.179 GB, free: 15.27 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 6.579e-05/0.8432, allocations: 29.69 kB / 1.179 GB, free: 15.24 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002112/0.8435, allocations: 29.14 kB / 1.179 GB, free: 15.22 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 5.865e-05/0.8435, allocations: 318.7 kB / 1.179 GB, free: 14.9 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005078/0.844, allocations: 144.6 kB / 1.179 GB, free: 14.86 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004855/0.8445, allocations: 141 kB / 1.179 GB, free: 14.83 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009724/0.8455, allocations: 296.2 kB / 1.18 GB, free: 14.73 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.8455, allocations: 0 / 1.18 GB, free: 14.73 MB / 0.92 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001188/0.8467, allocations: 336.7 kB / 1.18 GB, free: 14.61 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.8468, allocations: 8.281 kB / 1.18 GB, free: 14.61 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.8468, allocations: 0.6094 kB / 1.18 GB, free: 14.61 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.8468, allocations: 0.6562 kB / 1.18 GB, free: 14.61 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001604/0.8484, allocations: 64.95 kB / 1.18 GB, free: 14.6 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.8484, allocations: 1.844 kB / 1.18 GB, free: 14.6 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001401/0.8498, allocations: 49.12 kB / 1.18 GB, free: 14.6 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.399e-05/0.8499, allocations: 7.781 kB / 1.18 GB, free: 14.59 MB / 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.0001388/0.85, allocations: 115.8 kB / 1.18 GB, free: 14.47 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.112e-05/0.8501, allocations: 8.328 kB / 1.18 GB, free: 14.47 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001168/0.8503, allocations: 22.31 kB / 1.18 GB, free: 14.45 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.8503, allocations: 2.656 kB / 1.18 GB, free: 14.45 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.8503, allocations: 0 / 1.18 GB, free: 14.45 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.8503, allocations: 4.703 kB / 1.18 GB, free: 14.44 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005887/0.8562, allocations: 0.838 MB / 1.181 GB, free: 14.06 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.8562, allocations: 0 / 1.181 GB, free: 14.06 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001168/0.8574, allocations: 57.69 kB / 1.181 GB, free: 14.05 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.137e-06/0.8574, allocations: 5.25 kB / 1.181 GB, free: 14.05 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.935e-05/0.8574, allocations: 6.547 kB / 1.181 GB, free: 14.05 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.8574, allocations: 9.359 kB / 1.181 GB, free: 14.04 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/0.8575, allocations: 0.9375 kB / 1.181 GB, free: 14.04 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000899/0.8584, allocations: 321.4 kB / 1.182 GB, free: 13.86 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 2.44e-05/0.8584, allocations: 84.72 kB / 1.182 GB, free: 13.76 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.015e-05/0.8585, allocations: 5.953 kB / 1.182 GB, free: 13.75 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001099/0.8596, allocations: 46.67 kB / 1.182 GB, free: 13.75 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.848e-05/0.8596, allocations: 10.08 kB / 1.182 GB, free: 13.74 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.5e-05/0.8597, allocations: 3.703 kB / 1.182 GB, free: 13.74 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.965e-05/0.8597, allocations: 91.91 kB / 1.182 GB, free: 13.66 MB / 0.92 GB Notification: Performance of sort global known variables: time 1e-07/0.8597, allocations: 0 / 1.182 GB, free: 13.66 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0004157/0.8601, allocations: 96.33 kB / 1.182 GB, free: 13.66 MB / 0.92 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.001222/0.8614, allocations: 0.8777 MB / 1.183 GB, free: 12.93 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001/0.8624, allocations: 246 kB / 1.183 GB, free: 12.88 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.8624, allocations: 0 / 1.183 GB, free: 12.88 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0004179/0.8628, allocations: 96.12 kB / 1.183 GB, free: 12.86 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002911/0.8631, allocations: 2.688 kB / 1.183 GB, free: 12.86 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006264/0.8694, allocations: 2.675 MB / 1.186 GB, free: 11.1 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00014/0.8695, allocations: 0.6884 MB / 1.186 GB, free: 10.4 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0004027/0.87, allocations: 53.47 kB / 1.186 GB, free: 10.36 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004514/0.8704, allocations: 21.61 kB / 1.186 GB, free: 10.34 MB / 0.92 GB Notification: Performance of SimCode: time 4.41e-07/0.8704, allocations: 0 / 1.186 GB, free: 10.34 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03361/0.904, allocations: 9.806 MB / 1.196 GB, free: 5.926 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.934/9.838, allocations: 13.11 kB / 1.196 GB, free: 5.918 MB / 0.92 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.623853852972388]