Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.CubicHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|yMonotone",fileNamePrefix="Buildings_latest_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_latest_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.001096/0.001096, allocations: 110.1 kB / 16.41 MB, free: 6.488 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.001501/0.001501, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.381/1.381, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.536/2.536, allocations: 461.9 MB / 0.7354 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00147/0.00147, allocations: 67.89 kB / 1.055 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9076/0.9091, allocations: 157.4 MB / 1.208 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001705/0.9108, allocations: 0.613 MB / 1.209 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001699/0.9126, allocations: 1.384 MB / 1.21 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.615e-05/0.9126, allocations: 0 / 1.21 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 5.26e-05/0.9127, allocations: 0 / 1.21 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.408e-05/0.9127, allocations: 7.938 kB / 1.21 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006207/0.9133, allocations: 179.6 kB / 1.211 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000118/0.9135, allocations: 51.95 kB / 1.211 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.086e-05/0.9135, allocations: 7.922 kB / 1.211 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 3.941e-05/0.9136, allocations: 23.92 kB / 1.211 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.256e-05/0.9136, allocations: 15.98 kB / 1.211 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.717e-05/0.9136, allocations: 4 kB / 1.211 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003112/0.914, allocations: 203.7 kB / 1.211 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.57e-05/0.914, allocations: 15.92 kB / 1.211 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.868e-05/0.9141, allocations: 19.88 kB / 1.211 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002475/0.9143, allocations: 191.5 kB / 1.211 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.9143, allocations: 0 / 1.211 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.964e-06/0.9143, allocations: 4 kB / 1.211 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.9143, allocations: 0 / 1.211 GB, free: 10.86 MB / 0.9356 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.0004394/0.9148, allocations: 444.3 kB / 1.212 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.9148, allocations: 8.031 kB / 1.212 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.842e-05/0.9149, allocations: 8.844 kB / 1.212 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/0.915, allocations: 176.3 kB / 1.212 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.789e-05/0.915, allocations: 8.375 kB / 1.212 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.68e-05/0.915, allocations: 384 / 1.212 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001732/0.9152, allocations: 105.9 kB / 1.212 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/0.9152, allocations: 0 / 1.212 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.9153, allocations: 4 kB / 1.212 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.688e-06/0.9153, allocations: 0 / 1.212 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.641e-05/0.9154, allocations: 59.95 kB / 1.212 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001457/0.9155, allocations: 173.6 kB / 1.212 GB, free: 9.75 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001079/0.9156, allocations: 82.53 kB / 1.212 GB, free: 9.66 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.185e-05/0.9157, allocations: 64.89 kB / 1.212 GB, free: 9.594 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.011e-05/0.9157, allocations: 11.94 kB / 1.212 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.474e-05/0.9158, allocations: 38.5 kB / 1.212 GB, free: 9.535 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.9158, allocations: 0 / 1.212 GB, free: 9.535 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.0003622/0.9161, allocations: 251.2 kB / 1.212 GB, free: 9.277 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.499e-05/0.9162, allocations: 81.09 kB / 1.213 GB, free: 9.18 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000122/0.9163, allocations: 144.1 kB / 1.213 GB, free: 9.031 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.9163, allocations: 29.7 kB / 1.213 GB, free: 8.996 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.643e-05/0.9164, allocations: 88.12 kB / 1.213 GB, free: 8.906 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.559e-05/0.9164, allocations: 19.78 kB / 1.213 GB, free: 8.887 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.17e-05/0.9165, allocations: 29.7 kB / 1.213 GB, free: 8.852 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.78e-05/0.9166, allocations: 314.8 kB / 1.213 GB, free: 8.535 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000116/0.9167, allocations: 107.9 kB / 1.213 GB, free: 8.43 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001111/0.9168, allocations: 103.9 kB / 1.213 GB, free: 8.328 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002513/0.9171, allocations: 277.8 kB / 1.214 GB, free: 8.035 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.626e-06/0.9171, allocations: 0 / 1.214 GB, free: 8.035 MB / 0.9356 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003144/0.9174, allocations: 317 kB / 1.214 GB, free: 7.707 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 5.727e-05/0.9175, allocations: 71.38 kB / 1.214 GB, free: 7.625 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.416e-06/0.9175, allocations: 4.062 kB / 1.214 GB, free: 7.621 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.9175, allocations: 4 kB / 1.214 GB, free: 7.617 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.042e-06/0.9175, allocations: 0 / 1.214 GB, free: 7.617 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.72e-06/0.9175, allocations: 0 / 1.214 GB, free: 7.617 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001404/0.9177, allocations: 7.906 kB / 1.214 GB, free: 7.609 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.595e-05/0.9177, allocations: 11.94 kB / 1.214 GB, free: 7.598 MB / 0.9356 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.000101/0.9178, allocations: 151.5 kB / 1.214 GB, free: 7.434 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.892e-05/0.9178, allocations: 15.78 kB / 1.214 GB, free: 7.418 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.104e-05/0.9179, allocations: 12.23 kB / 1.214 GB, free: 7.398 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.9179, allocations: 4 kB / 1.214 GB, free: 7.395 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.9179, allocations: 0 / 1.214 GB, free: 7.395 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.9179, allocations: 0 / 1.214 GB, free: 7.395 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001066/0.918, allocations: 173.6 kB / 1.214 GB, free: 7.176 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.918, allocations: 0 / 1.214 GB, free: 7.176 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.052e-06/0.918, allocations: 3.938 kB / 1.214 GB, free: 7.172 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.233e-06/0.918, allocations: 0 / 1.214 GB, free: 7.172 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.889e-06/0.918, allocations: 0 / 1.214 GB, free: 7.172 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.514e-06/0.918, allocations: 4 kB / 1.214 GB, free: 7.168 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.918, allocations: 0 / 1.214 GB, free: 7.168 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002528/0.9183, allocations: 234.8 kB / 1.215 GB, free: 6.914 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.915e-05/0.9183, allocations: 92.89 kB / 1.215 GB, free: 6.805 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.916e-05/0.9184, allocations: 4 kB / 1.215 GB, free: 6.801 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.884e-05/0.9184, allocations: 4 kB / 1.215 GB, free: 6.797 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.916e-05/0.9185, allocations: 7.984 kB / 1.215 GB, free: 6.789 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/0.9185, allocations: 4 kB / 1.215 GB, free: 6.785 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.902e-05/0.9186, allocations: 112.6 kB / 1.215 GB, free: 6.676 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9186, allocations: 4.031 kB / 1.215 GB, free: 6.672 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000289/0.9189, allocations: 64 kB / 1.215 GB, free: 6.609 MB / 0.9356 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.0002716/0.9191, allocations: 151.2 kB / 1.215 GB, free: 6.453 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003764/0.9195, allocations: 374.6 kB / 1.215 GB, free: 6.062 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.9195, allocations: 0 / 1.215 GB, free: 6.062 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000124/0.9197, allocations: 131.4 kB / 1.215 GB, free: 5.922 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001532/0.9198, allocations: 7.938 kB / 1.216 GB, free: 5.914 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003409/0.9202, allocations: 247.3 kB / 1.216 GB, free: 5.641 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002444/0.9204, allocations: 0.6885 MB / 1.216 GB, free: 4.926 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.341e-05/0.9205, allocations: 7.438 kB / 1.216 GB, free: 4.918 MB / 0.9356 GB Notification: Performance of SimCode: time 2.3e-07/0.9205, allocations: 3.938 kB / 1.216 GB, free: 4.914 MB / 0.9356 GB Notification: Performance of Templates: time 0.003198/0.9237, allocations: 1.662 MB / 1.218 GB, free: 3.258 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_CubicHermite.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches