Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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: translateModel(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|dy|ddy",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite") translateModel(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|dy|ddy",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001587/0.001587, allocations: 108 kB / 15.61 MB, free: 148 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.001815/0.001815, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.417/1.417, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.887/2.887, allocations: 472.7 MB / 0.7451 GB, free: 4.617 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 70.52 kB / 0.9121 GB, free: 33.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3139/0.3152, allocations: 159.9 MB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.002262/0.3175, allocations: 0.6228 MB / 1.069 GB, free: 9.762 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0004786/0.318, allocations: 199.1 kB / 1.069 GB, free: 9.566 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.236e-05/0.3181, allocations: 0 / 1.069 GB, free: 9.566 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.915e-05/0.3181, allocations: 11.88 kB / 1.069 GB, free: 9.555 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001784/0.3183, allocations: 11.92 kB / 1.069 GB, free: 9.543 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002663/0.3186, allocations: 75.75 kB / 1.069 GB, free: 9.469 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.226e-05/0.3186, allocations: 23.98 kB / 1.069 GB, free: 9.445 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.003e-05/0.3187, allocations: 3.984 kB / 1.069 GB, free: 9.441 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.368e-05/0.3188, allocations: 23.86 kB / 1.069 GB, free: 9.418 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.534e-05/0.3188, allocations: 19.91 kB / 1.069 GB, free: 9.398 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.721e-05/0.3188, allocations: 4 kB / 1.069 GB, free: 9.395 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001637/0.319, allocations: 107.7 kB / 1.069 GB, free: 9.289 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.479e-05/0.319, allocations: 11.94 kB / 1.069 GB, free: 9.277 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.577e-05/0.3191, allocations: 15.91 kB / 1.069 GB, free: 9.262 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001747/0.3192, allocations: 103.8 kB / 1.069 GB, free: 9.16 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.745e-06/0.3193, allocations: 4 kB / 1.069 GB, free: 9.156 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.296e-06/0.3193, allocations: 0 / 1.069 GB, free: 9.156 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.892e-06/0.3193, allocations: 0 / 1.069 GB, free: 9.156 MB / 0.8262 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.0005442/0.3198, allocations: 363.7 kB / 1.07 GB, free: 8.75 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.3199, allocations: 8.031 kB / 1.07 GB, free: 8.742 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.753e-05/0.3199, allocations: 8.844 kB / 1.07 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001255/0.3201, allocations: 168.4 kB / 1.07 GB, free: 8.531 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.077e-06/0.3201, allocations: 384 / 1.07 GB, free: 8.531 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.585e-05/0.3201, allocations: 8.281 kB / 1.07 GB, free: 8.523 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001418/0.3202, allocations: 62.2 kB / 1.07 GB, free: 8.457 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.3203, allocations: 192 / 1.07 GB, free: 8.457 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.3203, allocations: 11.88 kB / 1.07 GB, free: 8.445 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.3203, allocations: 0 / 1.07 GB, free: 8.445 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001321/0.3204, allocations: 35.91 kB / 1.07 GB, free: 8.41 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002667/0.3207, allocations: 240.9 kB / 1.07 GB, free: 8.125 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002092/0.3209, allocations: 74.52 kB / 1.07 GB, free: 8.043 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.364e-05/0.321, allocations: 24.94 kB / 1.07 GB, free: 8.016 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.815e-05/0.321, allocations: 8 kB / 1.07 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.439e-05/0.3211, allocations: 30.56 kB / 1.07 GB, free: 7.969 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.3211, allocations: 0 / 1.07 GB, free: 7.969 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.02884/0.3499, allocations: 1.616 MB / 1.072 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.669e-05/0.35, allocations: 55.41 kB / 1.072 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.3501, allocations: 121.8 kB / 1.072 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 6.497e-05/0.3502, allocations: 29.7 kB / 1.072 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.433e-05/0.3502, allocations: 80.14 kB / 1.072 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.416e-05/0.3503, allocations: 31.55 kB / 1.072 GB, free: 6 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002063/0.3505, allocations: 29.7 kB / 1.072 GB, free: 5.965 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.896e-05/0.3506, allocations: 318.8 kB / 1.073 GB, free: 5.645 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005079/0.3511, allocations: 143.9 kB / 1.073 GB, free: 5.504 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004859/0.3516, allocations: 139.9 kB / 1.073 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001012/0.3527, allocations: 296.7 kB / 1.073 GB, free: 5.074 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.3527, allocations: 0 / 1.073 GB, free: 5.074 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001212/0.3539, allocations: 333.6 kB / 1.074 GB, free: 4.742 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.3539, allocations: 5.406 kB / 1.074 GB, free: 4.738 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.3539, allocations: 4 kB / 1.074 GB, free: 4.734 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.354, allocations: 0 / 1.074 GB, free: 4.734 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001644/0.3556, allocations: 67.86 kB / 1.074 GB, free: 4.668 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.3556, allocations: 4 kB / 1.074 GB, free: 4.664 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001432/0.3571, allocations: 47.95 kB / 1.074 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.497e-05/0.3571, allocations: 3.984 kB / 1.074 GB, free: 4.613 MB / 0.8262 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.0001795/0.3573, allocations: 114.3 kB / 1.074 GB, free: 4.492 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.764e-05/0.3574, allocations: 12.56 kB / 1.074 GB, free: 4.48 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000137/0.3576, allocations: 12.38 kB / 1.074 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.3576, allocations: 0 / 1.074 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.3576, allocations: 4 kB / 1.074 GB, free: 4.465 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.3576, allocations: 0 / 1.074 GB, free: 4.465 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005911/0.3635, allocations: 0.8608 MB / 1.075 GB, free: 3.543 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.115e-06/0.3635, allocations: 0 / 1.075 GB, free: 3.543 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001174/0.3647, allocations: 55.88 kB / 1.075 GB, free: 3.488 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.01e-06/0.3647, allocations: 0 / 1.075 GB, free: 3.488 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.677e-05/0.3648, allocations: 4 kB / 1.075 GB, free: 3.484 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.089e-06/0.3648, allocations: 3.938 kB / 1.075 GB, free: 3.48 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.3648, allocations: 0 / 1.075 GB, free: 3.48 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009369/0.3657, allocations: 329.6 kB / 1.075 GB, free: 3.137 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.219e-05/0.3658, allocations: 85.02 kB / 1.075 GB, free: 3.035 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.67e-05/0.3659, allocations: 3.984 kB / 1.075 GB, free: 3.031 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001107/0.367, allocations: 47.89 kB / 1.075 GB, free: 2.984 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.888e-05/0.367, allocations: 11.98 kB / 1.075 GB, free: 2.973 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.853e-05/0.3671, allocations: 3.984 kB / 1.075 GB, free: 2.969 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.923e-05/0.3671, allocations: 91.28 kB / 1.075 GB, free: 2.879 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3671, allocations: 0 / 1.075 GB, free: 2.879 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004242/0.3676, allocations: 99.98 kB / 1.075 GB, free: 2.781 MB / 0.8262 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.0002308/0.3678, allocations: 111.2 kB / 1.075 GB, free: 2.664 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001007/0.3688, allocations: 251.8 kB / 1.076 GB, free: 2.418 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3688, allocations: 0 / 1.076 GB, free: 2.418 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0004155/0.3693, allocations: 95.89 kB / 1.076 GB, free: 2.324 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003017/0.3696, allocations: 4 kB / 1.076 GB, free: 2.32 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002837/0.3724, allocations: 310.4 kB / 1.076 GB, free: 1.984 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002337/0.3727, allocations: 0.6924 MB / 1.077 GB, free: 1.266 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0005035/0.3732, allocations: 51.98 kB / 1.077 GB, free: 1.215 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004318/0.3736, allocations: 11.44 kB / 1.077 GB, free: 1.203 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.3736, allocations: 0 / 1.077 GB, free: 1.203 MB / 0.8262 GB Notification: Performance of Templates: time 0.01192/0.3855, allocations: 8.756 MB / 1.085 GB, free: 8.406 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_QuinticHermite.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches