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.001753/0.001753, allocations: 100.4 kB / 16.27 MB, free: 5.969 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.00192/0.00192, allocations: 190.9 kB / 17.2 MB, free: 5.598 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.483/1.483, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.915/2.915, allocations: 482.4 MB / 0.7553 GB, free: 7.008 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002576/0.002576, allocations: 75.86 kB / 0.9245 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9301/0.9327, allocations: 162.2 MB / 1.083 GB, free: 1.648 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.002279/0.9351, allocations: 0.6447 MB / 1.084 GB, free: 1.234 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0004922/0.9356, allocations: 204.8 kB / 1.084 GB, free: 1.094 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.434e-05/0.9356, allocations: 0 / 1.084 GB, free: 1.094 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.891e-05/0.9357, allocations: 3.938 kB / 1.084 GB, free: 1.09 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002145/0.9359, allocations: 11.14 kB / 1.084 GB, free: 1.082 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002716/0.9362, allocations: 72.8 kB / 1.084 GB, free: 1.059 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.2e-05/0.9363, allocations: 23.52 kB / 1.084 GB, free: 1.055 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 6.461e-05/0.9364, allocations: 10.11 kB / 1.084 GB, free: 1.047 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.563e-05/0.9364, allocations: 16.45 kB / 1.084 GB, free: 1.039 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.893e-05/0.9365, allocations: 27.69 kB / 1.084 GB, free: 1.023 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.739e-05/0.9365, allocations: 2.625 kB / 1.084 GB, free: 1.023 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002282/0.9368, allocations: 110.2 kB / 1.084 GB, free: 0.9883 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.79e-05/0.9368, allocations: 7.594 kB / 1.084 GB, free: 0.9844 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.873e-05/0.9368, allocations: 11.97 kB / 1.084 GB, free: 0.9766 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002373/0.9371, allocations: 101.6 kB / 1.084 GB, free: 0.9492 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 8.416e-06/0.9371, allocations: 4.656 kB / 1.084 GB, free: 0.9453 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.014e-06/0.9371, allocations: 0 / 1.084 GB, free: 0.9453 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.915e-06/0.9371, allocations: 4.75 kB / 1.084 GB, free: 0.9414 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.0005837/0.9377, allocations: 365.5 kB / 1.084 GB, free: 0.5703 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/0.9377, allocations: 9.406 kB / 1.084 GB, free: 0.5703 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.592e-05/0.9378, allocations: 7.531 kB / 1.084 GB, free: 0.5664 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001341/0.9379, allocations: 171 kB / 1.085 GB, free: 376 kB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/0.938, allocations: 1.719 kB / 1.085 GB, free: 376 kB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.951e-05/0.938, allocations: 6.031 kB / 1.085 GB, free: 372 kB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001808/0.9382, allocations: 60.77 kB / 1.085 GB, free: 328 kB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.9382, allocations: 5.359 kB / 1.085 GB, free: 324 kB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.9382, allocations: 5.031 kB / 1.085 GB, free: 320 kB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.9382, allocations: 0 / 1.085 GB, free: 320 kB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001541/0.9384, allocations: 34.59 kB / 1.085 GB, free: 316 kB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003021/0.9387, allocations: 243 kB / 1.085 GB, free: 40 kB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002669/0.939, allocations: 74.89 kB / 1.085 GB, free: 0 / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001218/0.9391, allocations: 26.16 kB / 1.085 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.988e-05/0.9391, allocations: 2.047 kB / 1.085 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.803e-05/0.9392, allocations: 32.42 kB / 1.085 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.9392, allocations: 0 / 1.085 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of matching and sorting (n=8): time 0.02874/0.9679, allocations: 1.607 MB / 1.087 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.857e-05/0.968, allocations: 56.34 kB / 1.087 GB, free: 15.69 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001609/0.9682, allocations: 125.8 kB / 1.087 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 7.392e-05/0.9683, allocations: 30.45 kB / 1.087 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 7.715e-05/0.9684, allocations: 83.17 kB / 1.087 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 8.857e-05/0.9685, allocations: 32.16 kB / 1.087 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002152/0.9687, allocations: 29.2 kB / 1.087 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001833/0.9689, allocations: 318.1 kB / 1.087 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000561/0.9694, allocations: 142 kB / 1.087 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005279/0.97, allocations: 141.1 kB / 1.088 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001068/0.9711, allocations: 296.3 kB / 1.088 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.9711, allocations: 3.938 kB / 1.088 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001337/0.9724, allocations: 331.3 kB / 1.088 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.335e-05/0.9724, allocations: 6.109 kB / 1.088 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.9725, allocations: 0.6562 kB / 1.088 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.096e-05/0.9725, allocations: 5.016 kB / 1.088 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001608/0.9741, allocations: 64.61 kB / 1.088 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.9741, allocations: 1.094 kB / 1.088 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00138/0.9755, allocations: 48.53 kB / 1.088 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.374e-05/0.9756, allocations: 4.547 kB / 1.088 GB, free: 14.79 MB / 0.8419 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.0002219/0.9758, allocations: 121.6 kB / 1.088 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.441e-05/0.9759, allocations: 14.77 kB / 1.088 GB, free: 14.65 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001301/0.976, allocations: 14.34 kB / 1.088 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.976, allocations: 2.062 kB / 1.088 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.468e-06/0.976, allocations: 1.5 kB / 1.088 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.9761, allocations: 4.594 kB / 1.088 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006054/0.9821, allocations: 0.845 MB / 1.089 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.395e-06/0.9822, allocations: 5.625 kB / 1.089 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001168/0.9833, allocations: 52.28 kB / 1.089 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.744e-06/0.9834, allocations: 1.094 kB / 1.089 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.55e-05/0.9834, allocations: 7.812 kB / 1.089 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.625e-06/0.9834, allocations: 5.25 kB / 1.089 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.9834, allocations: 0.5312 kB / 1.089 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001128/0.9846, allocations: 325.4 kB / 1.09 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.752e-05/0.9846, allocations: 83.86 kB / 1.09 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.624e-05/0.9847, allocations: 3.109 kB / 1.09 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001067/0.9858, allocations: 47.33 kB / 1.09 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.109e-05/0.9858, allocations: 3.922 kB / 1.09 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.003e-05/0.9859, allocations: 5.453 kB / 1.09 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 8.018e-05/0.986, allocations: 91.31 kB / 1.09 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of sort global known variables: time 3.01e-07/0.986, allocations: 5.062 kB / 1.09 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004822/0.9865, allocations: 94.8 kB / 1.09 GB, free: 13.84 MB / 0.8419 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.0002789/0.9867, allocations: 116.6 kB / 1.09 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001072/0.9878, allocations: 245.5 kB / 1.09 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.9878, allocations: 4 kB / 1.09 GB, free: 13.69 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000443/0.9883, allocations: 96.8 kB / 1.09 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003044/0.9886, allocations: 8.609 kB / 1.09 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002973/0.9916, allocations: 329.9 kB / 1.091 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004829/0.9921, allocations: 0.6843 MB / 1.091 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004304/0.9925, allocations: 18.16 kB / 1.091 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of SimCode: time 2.855e-06/0.9925, allocations: 480 / 1.091 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of Templates: time 0.01218/1.005, allocations: 5.058 MB / 1.096 GB, free: 12.56 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=400 -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/jenkins1/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