Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Utilities_Math_Functions_Examples_QuinticHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_QuinticHermite",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001242/0.001242, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001272/0.001272, allocations: 194.7 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.231/1.231, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.12/2.12, allocations: 390.3 MB / 0.6644 GB, free: 0.5352 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 63.91 kB / 0.8122 GB, free: 14.64 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5118/0.5131, allocations: 140.4 MB / 0.9493 GB, free: 9.031 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001477/0.5146, allocations: 0.6909 MB / 0.9499 GB, free: 8.5 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003023/0.5149, allocations: 191 kB / 0.9501 GB, free: 8.352 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.3e-05/0.515, allocations: 4 kB / 0.9501 GB, free: 8.348 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.564e-05/0.515, allocations: 5.469 kB / 0.9501 GB, free: 8.344 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001276/0.5151, allocations: 1.625 kB / 0.9501 GB, free: 8.344 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001533/0.5153, allocations: 71.53 kB / 0.9502 GB, free: 8.309 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.472e-05/0.5153, allocations: 28.86 kB / 0.9502 GB, free: 8.293 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.681e-05/0.5154, allocations: 3.219 kB / 0.9502 GB, free: 8.293 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.536e-05/0.5154, allocations: 16.67 kB / 0.9502 GB, free: 8.281 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.125e-05/0.5155, allocations: 22.41 kB / 0.9503 GB, free: 8.266 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.201e-05/0.5155, allocations: 2.531 kB / 0.9503 GB, free: 8.266 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001192/0.5156, allocations: 109.6 kB / 0.9504 GB, free: 8.191 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.104e-05/0.5156, allocations: 17.42 kB / 0.9504 GB, free: 8.176 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.803e-05/0.5156, allocations: 14.53 kB / 0.9504 GB, free: 8.164 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001265/0.5158, allocations: 106.4 kB / 0.9505 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.5158, allocations: 0 / 0.9505 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.232e-06/0.5158, allocations: 0 / 0.9505 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.847e-06/0.5158, allocations: 1.375 kB / 0.9505 GB, free: 8.105 MB / 0.7169 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.0003692/0.5162, allocations: 369 kB / 0.9508 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.012e-05/0.5162, allocations: 9.625 kB / 0.9509 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.306e-05/0.5162, allocations: 48.09 kB / 0.9509 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.282e-05/0.5163, allocations: 2.312 kB / 0.9509 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.908e-05/0.5163, allocations: 172.4 kB / 0.9511 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.656e-06/0.5164, allocations: 1.75 kB / 0.9511 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.559e-05/0.5164, allocations: 3.125 kB / 0.9511 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001251/0.5165, allocations: 59.97 kB / 0.9511 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.5165, allocations: 3.938 kB / 0.9511 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-06/0.5165, allocations: 0 / 0.9511 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.5165, allocations: 1.375 kB / 0.9511 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001136/0.5167, allocations: 40.53 kB / 0.9512 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001783/0.5168, allocations: 238.6 kB / 0.9514 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000168/0.517, allocations: 70.16 kB / 0.9515 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.813e-05/0.5171, allocations: 33.3 kB / 0.9515 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.268e-05/0.5171, allocations: 1.375 kB / 0.9515 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.306e-05/0.5171, allocations: 30.56 kB / 0.9515 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.5171, allocations: 3.938 kB / 0.9515 GB, free: 7 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0286/0.5457, allocations: 1.606 MB / 0.9531 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.531e-05/0.5458, allocations: 52.81 kB / 0.9532 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.891e-05/0.5459, allocations: 124.4 kB / 0.9533 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.151e-05/0.5459, allocations: 33.64 kB / 0.9533 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.757e-05/0.546, allocations: 86.39 kB / 0.9534 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.206e-05/0.546, allocations: 27.03 kB / 0.9534 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001962/0.5462, allocations: 24.59 kB / 0.9534 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.692e-05/0.5463, allocations: 324 kB / 0.9537 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004411/0.5467, allocations: 143.4 kB / 0.9539 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004266/0.5472, allocations: 143.3 kB / 0.954 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008799/0.548, allocations: 300.2 kB / 0.9543 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.5481, allocations: 0 / 0.9543 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001063/0.5491, allocations: 336.6 kB / 0.9546 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.5491, allocations: 5.406 kB / 0.9546 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.5492, allocations: 0 / 0.9546 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.5492, allocations: 0 / 0.9546 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001504/0.5507, allocations: 66.7 kB / 0.9547 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.5507, allocations: 1.344 kB / 0.9547 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001357/0.552, allocations: 46.23 kB / 0.9547 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.749e-05/0.5521, allocations: 6.578 kB / 0.9547 GB, free: 5.168 MB / 0.7169 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.0001451/0.5523, allocations: 117.2 kB / 0.9549 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.53e-05/0.5524, allocations: 10.19 kB / 0.9549 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001241/0.5525, allocations: 13.72 kB / 0.9549 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.5525, allocations: 1.281 kB / 0.9549 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.5525, allocations: 5.594 kB / 0.9549 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.5525, allocations: 432 / 0.9549 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005277/0.5578, allocations: 0.8438 MB / 0.9557 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.5578, allocations: 5.984 kB / 0.9557 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001111/0.5589, allocations: 52.66 kB / 0.9558 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.5589, allocations: 1.375 kB / 0.9558 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.787e-05/0.559, allocations: 5.406 kB / 0.9558 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.559, allocations: 1.438 kB / 0.9558 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.559, allocations: 1.375 kB / 0.9558 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008492/0.5598, allocations: 336.4 kB / 0.9561 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.92e-05/0.5599, allocations: 83.45 kB / 0.9562 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.107e-05/0.56, allocations: 5.719 kB / 0.9562 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001036/0.561, allocations: 54.16 kB / 0.9562 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.134e-05/0.561, allocations: 6.688 kB / 0.9562 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.112e-05/0.5611, allocations: 4.125 kB / 0.9562 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.338e-05/0.5611, allocations: 92.89 kB / 0.9563 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5611, allocations: 0 / 0.9563 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003581/0.5615, allocations: 94.62 kB / 0.9564 GB, free: 3.914 MB / 0.7169 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.00103/0.5625, allocations: 0.8685 MB / 0.9573 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0008823/0.5634, allocations: 252.4 kB / 0.9575 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.5634, allocations: 0 / 0.9575 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003783/0.5638, allocations: 93.33 kB / 0.9576 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002763/0.5641, allocations: 6.812 kB / 0.9576 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005778/0.5699, allocations: 2.691 MB / 0.9602 GB, free: 1.035 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.143e-05/0.5699, allocations: 0.6864 MB / 0.9609 GB, free: 340 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0004885/0.5704, allocations: 52.83 kB / 0.961 GB, free: 296 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004332/0.5709, allocations: 20.7 kB / 0.961 GB, free: 280 kB / 0.7169 GB Notification: Performance of SimCode: time 3.5e-07/0.5709, allocations: 0 / 0.961 GB, free: 280 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02143/0.5923, allocations: 9.685 MB / 0.9704 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001764/0.5925, allocations: 211 kB / 0.9706 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.909/2.501, allocations: 2.672 kB / 0.9706 GB, free: 10.88 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Functions_Examples_QuinticHermite_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Functions_Examples_QuinticHermite.fmu > Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_QuinticHermite.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches