Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite.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: translateModel(Buildings.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|yMonotone",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite") translateModel(Buildings.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|yMonotone",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00615/0.00615, allocations: 104 kB / 15.73 MB, free: 6.043 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.001252/0.001252, allocations: 189.6 kB / 16.67 MB, free: 5.973 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.413/1.413, allocations: 222.9 MB / 240.4 MB, free: 4.355 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.414/2.414, allocations: 390.2 MB / 0.6648 GB, free: 224 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 75.91 kB / 0.9509 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3192/0.3204, allocations: 140.4 MB / 1.088 GB, free: 1.449 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001681/0.3221, allocations: 0.6062 MB / 1.089 GB, free: 0.8477 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001787/0.3239, allocations: 1.389 MB / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.516e-05/0.324, allocations: 0 / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 6.436e-05/0.324, allocations: 7.922 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.969e-05/0.3241, allocations: 4 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006996/0.3248, allocations: 176.3 kB / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000154/0.325, allocations: 55.91 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.781e-05/0.325, allocations: 4 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.715e-05/0.3251, allocations: 23.92 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.441e-05/0.3252, allocations: 23.95 kB / 1.09 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.01e-05/0.3252, allocations: 4 kB / 1.09 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003303/0.3255, allocations: 195.7 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.278e-05/0.3256, allocations: 17.36 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.564e-05/0.3257, allocations: 23.86 kB / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002659/0.3259, allocations: 187.5 kB / 1.091 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.3259, allocations: 4 kB / 1.091 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.352e-06/0.3259, allocations: 0 / 1.091 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.624e-06/0.326, allocations: 0 / 1.091 GB, free: 14.73 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004965/0.3265, allocations: 438.7 kB / 1.091 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.3265, allocations: 11.97 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.948e-05/0.3266, allocations: 8.844 kB / 1.091 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001334/0.3267, allocations: 185.9 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.817e-05/0.3267, allocations: 4.375 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.715e-05/0.3267, allocations: 384 / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001807/0.3269, allocations: 101.9 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.176e-06/0.3269, allocations: 0 / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.327, allocations: 8 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.327, allocations: 0 / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.496e-05/0.3271, allocations: 59.95 kB / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001726/0.3272, allocations: 165.7 kB / 1.092 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001123/0.3274, allocations: 82.47 kB / 1.092 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.737e-05/0.3275, allocations: 72.88 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 5.7e-06/0.3275, allocations: 4 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.481e-05/0.3275, allocations: 38.5 kB / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.3275, allocations: 0 / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0003908/0.3279, allocations: 251.2 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.213e-05/0.328, allocations: 77.11 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/0.3281, allocations: 147.5 kB / 1.092 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.014e-05/0.3281, allocations: 29.7 kB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.772e-05/0.3282, allocations: 92.05 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.762e-05/0.3282, allocations: 15.83 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.09e-05/0.3283, allocations: 25.75 kB / 1.092 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.3284, allocations: 322.8 kB / 1.093 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001252/0.3285, allocations: 103.9 kB / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001152/0.3286, allocations: 103.9 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002673/0.3289, allocations: 273.8 kB / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.3289, allocations: 0 / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003398/0.3293, allocations: 324.7 kB / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.766e-05/0.3293, allocations: 71.39 kB / 1.093 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.3293, allocations: 0 / 1.093 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.3294, allocations: 4.062 kB / 1.094 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.084e-06/0.3294, allocations: 8 kB / 1.094 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.3294, allocations: 3.938 kB / 1.094 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001425/0.3295, allocations: 15.83 kB / 1.094 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.699e-05/0.3296, allocations: 4 kB / 1.094 GB, free: 11.45 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 2 * 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.0001127/0.3297, allocations: 155.5 kB / 1.094 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.684e-05/0.3297, allocations: 11.84 kB / 1.094 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.459e-05/0.3297, allocations: 4.25 kB / 1.094 GB, free: 11.26 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-06/0.3297, allocations: 0 / 1.094 GB, free: 11.26 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.3297, allocations: 8 kB / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.3297, allocations: 0 / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001128/0.3299, allocations: 173.6 kB / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.3299, allocations: 0 / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.864e-06/0.3299, allocations: 3.938 kB / 1.094 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.3299, allocations: 0 / 1.094 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.3299, allocations: 0 / 1.094 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.3299, allocations: 7.984 kB / 1.094 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.3299, allocations: 0 / 1.094 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002499/0.3302, allocations: 222.8 kB / 1.094 GB, free: 10.78 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.836e-05/0.3302, allocations: 96.92 kB / 1.094 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.3302, allocations: 0 / 1.094 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.269e-05/0.3303, allocations: 7.938 kB / 1.094 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.545e-05/0.3304, allocations: 11.98 kB / 1.094 GB, free: 10.65 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.668e-06/0.3304, allocations: 4 kB / 1.094 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.848e-05/0.3304, allocations: 101.6 kB / 1.094 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3304, allocations: 0 / 1.094 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002849/0.3307, allocations: 71.98 kB / 1.094 GB, free: 10.48 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (i) * Number of discrete states: 1 (i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0002602/0.331, allocations: 151.8 kB / 1.095 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003727/0.3314, allocations: 370.7 kB / 1.095 GB, free: 9.934 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.3314, allocations: 0 / 1.095 GB, free: 9.934 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001256/0.3315, allocations: 139.3 kB / 1.095 GB, free: 9.785 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001501/0.3317, allocations: 4 kB / 1.095 GB, free: 9.781 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003342/0.332, allocations: 209.5 kB / 1.095 GB, free: 9.551 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002688/0.3323, allocations: 0.7003 MB / 1.096 GB, free: 8.824 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 6.031e-06/0.3323, allocations: 0 / 1.096 GB, free: 8.824 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.393e-05/0.3323, allocations: 7.438 kB / 1.096 GB, free: 8.816 MB / 0.8575 GB Notification: Performance of SimCode: time 2.2e-07/0.3323, allocations: 3.938 kB / 1.096 GB, free: 8.812 MB / 0.8575 GB Notification: Performance of Templates: time 0.004636/0.337, allocations: 2.047 MB / 1.098 GB, free: 6.77 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_CubicHermite.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches