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.001011/0.001011, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.207/1.207, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.113/2.113, allocations: 390.3 MB / 0.6647 GB, free: 236 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 67.89 kB / 0.8127 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5204/0.5215, allocations: 140.4 MB / 0.9497 GB, free: 9.156 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001571/0.5232, allocations: 0.6313 MB / 0.9503 GB, free: 8.668 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003447/0.5235, allocations: 194.7 kB / 0.9505 GB, free: 8.516 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.629e-05/0.5235, allocations: 0 / 0.9505 GB, free: 8.516 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.438e-05/0.5236, allocations: 5.094 kB / 0.9505 GB, free: 8.512 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000131/0.5237, allocations: 16.98 kB / 0.9506 GB, free: 8.496 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001549/0.5239, allocations: 75.53 kB / 0.9506 GB, free: 8.457 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.958e-05/0.5239, allocations: 26.55 kB / 0.9507 GB, free: 8.445 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.143e-05/0.524, allocations: 1.281 kB / 0.9507 GB, free: 8.445 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.14e-05/0.524, allocations: 22.31 kB / 0.9507 GB, free: 8.43 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.295e-05/0.5241, allocations: 18.05 kB / 0.9507 GB, free: 8.418 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.306e-05/0.5241, allocations: 2.969 kB / 0.9507 GB, free: 8.418 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001405/0.5242, allocations: 108.8 kB / 0.9508 GB, free: 8.344 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.12e-05/0.5242, allocations: 5.672 kB / 0.9508 GB, free: 8.34 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.066e-05/0.5243, allocations: 27.8 kB / 0.9508 GB, free: 8.316 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001359/0.5244, allocations: 97.06 kB / 0.9509 GB, free: 8.266 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.5244, allocations: 1.406 kB / 0.9509 GB, free: 8.266 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.71e-07/0.5244, allocations: 0 / 0.9509 GB, free: 8.266 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.5244, allocations: 0 / 0.9509 GB, free: 8.266 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.0003869/0.5248, allocations: 368.7 kB / 0.9513 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.137e-05/0.5249, allocations: 9.75 kB / 0.9513 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.647e-05/0.5249, allocations: 40.3 kB / 0.9513 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.33e-05/0.5249, allocations: 10.62 kB / 0.9513 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.485e-05/0.525, allocations: 173.1 kB / 0.9515 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.608e-06/0.525, allocations: 1.531 kB / 0.9515 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.685e-05/0.525, allocations: 5.406 kB / 0.9515 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001219/0.5252, allocations: 56.69 kB / 0.9516 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.5252, allocations: 3.938 kB / 0.9516 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-06/0.5252, allocations: 5.734 kB / 0.9516 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.5252, allocations: 0 / 0.9516 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001173/0.5253, allocations: 36.69 kB / 0.9516 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001934/0.5255, allocations: 250.9 kB / 0.9518 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001794/0.5257, allocations: 69.23 kB / 0.9519 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.332e-05/0.5258, allocations: 25.03 kB / 0.9519 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.411e-05/0.5258, allocations: 5.281 kB / 0.9519 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.465e-05/0.5258, allocations: 31.78 kB / 0.952 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.5258, allocations: 0 / 0.952 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.02666/0.5525, allocations: 1.613 MB / 0.9535 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.24e-05/0.5526, allocations: 60.52 kB / 0.9536 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.791e-05/0.5527, allocations: 123.4 kB / 0.9537 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.26e-05/0.5527, allocations: 26.86 kB / 0.9537 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.125e-05/0.5528, allocations: 89.14 kB / 0.9538 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.514e-05/0.5528, allocations: 23.73 kB / 0.9539 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001828/0.553, allocations: 28.8 kB / 0.9539 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.58e-05/0.5531, allocations: 315.9 kB / 0.9542 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004486/0.5535, allocations: 147.3 kB / 0.9543 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000435/0.554, allocations: 139.4 kB / 0.9545 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009004/0.5549, allocations: 292.7 kB / 0.9547 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.5549, allocations: 4.562 kB / 0.9547 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001065/0.5559, allocations: 340.1 kB / 0.9551 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.556, allocations: 4.219 kB / 0.9551 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.556, allocations: 4 kB / 0.9551 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.556, allocations: 2.188 kB / 0.9551 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001518/0.5575, allocations: 69.39 kB / 0.9551 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.94e-06/0.5575, allocations: 0 / 0.9551 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001347/0.5589, allocations: 47.58 kB / 0.9552 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.831e-05/0.5589, allocations: 6.734 kB / 0.9552 GB, free: 5.312 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.0001391/0.5591, allocations: 120.5 kB / 0.9553 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.478e-05/0.5592, allocations: 6.656 kB / 0.9553 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001123/0.5593, allocations: 17.75 kB / 0.9553 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.5593, allocations: 1.375 kB / 0.9553 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.5593, allocations: 1.375 kB / 0.9553 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.5593, allocations: 4 kB / 0.9553 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005325/0.5646, allocations: 0.8362 MB / 0.9562 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.5647, allocations: 1.406 kB / 0.9562 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001091/0.5658, allocations: 56.12 kB / 0.9562 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.5658, allocations: 1.281 kB / 0.9562 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.111e-05/0.5658, allocations: 6.562 kB / 0.9562 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.5658, allocations: 1.312 kB / 0.9562 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.5658, allocations: 1.156 kB / 0.9562 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008608/0.5667, allocations: 328.2 kB / 0.9565 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.422e-05/0.5667, allocations: 83.27 kB / 0.9566 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.333e-05/0.5668, allocations: 14.08 kB / 0.9566 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001023/0.5678, allocations: 42.48 kB / 0.9567 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.688e-05/0.5679, allocations: 2.703 kB / 0.9567 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.371e-05/0.5679, allocations: 3.062 kB / 0.9567 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.353e-05/0.5679, allocations: 97.14 kB / 0.9568 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.568, allocations: 3.938 kB / 0.9568 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003813/0.5683, allocations: 94.64 kB / 0.9569 GB, free: 4.07 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.00114/0.5695, allocations: 0.8651 MB / 0.9577 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0009268/0.5704, allocations: 256.5 kB / 0.9579 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.5704, allocations: 1.156 kB / 0.9579 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000387/0.5708, allocations: 88.64 kB / 0.958 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002801/0.5711, allocations: 6.781 kB / 0.958 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005717/0.5768, allocations: 2.668 MB / 0.9606 GB, free: 1.219 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.256e-05/0.5769, allocations: 0.6945 MB / 0.9613 GB, free: 0.5078 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0004469/0.5774, allocations: 48.69 kB / 0.9614 GB, free: 480 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004136/0.5778, allocations: 24.45 kB / 0.9614 GB, free: 460 kB / 0.7169 GB Notification: Performance of SimCode: time 2.91e-07/0.5778, allocations: 0 / 0.9614 GB, free: 460 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02787/0.6057, allocations: 9.762 MB / 0.9709 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.101/8.707, allocations: 11.55 kB / 0.9709 GB, free: 11.19 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