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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.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.0009514/0.0009514, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.000892/0.0008919, allocations: 191 kB / 17.29 MB, free: 5.516 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.213/1.213, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.201/2.201, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001156/0.001156, allocations: 66.28 kB / 0.8773 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2521/0.2533, allocations: 153 MB / 1.027 GB, free: 2.027 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001539/0.2549, allocations: 0.6094 MB / 1.027 GB, free: 1.414 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001517/0.2564, allocations: 1.394 MB / 1.029 GB, free: 4 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.135e-05/0.2564, allocations: 0 / 1.029 GB, free: 4 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.016e-05/0.2565, allocations: 0 / 1.029 GB, free: 4 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.781e-05/0.2565, allocations: 8.047 kB / 1.029 GB, free: 15.99 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005306/0.2571, allocations: 175.1 kB / 1.029 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.555e-05/0.2572, allocations: 51.97 kB / 1.029 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.139e-05/0.2572, allocations: 7.938 kB / 1.029 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.151e-05/0.2573, allocations: 23.81 kB / 1.029 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.443e-05/0.2573, allocations: 23.95 kB / 1.029 GB, free: 15.72 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.297e-05/0.2573, allocations: 4 kB / 1.029 GB, free: 15.72 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002704/0.2576, allocations: 195.7 kB / 1.029 GB, free: 15.53 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.34e-05/0.2577, allocations: 15.94 kB / 1.029 GB, free: 15.51 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.727e-05/0.2577, allocations: 27.84 kB / 1.029 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002186/0.2579, allocations: 183.6 kB / 1.029 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.2579, allocations: 0 / 1.029 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.253e-06/0.2579, allocations: 0 / 1.029 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.763e-06/0.258, allocations: 3.938 kB / 1.029 GB, free: 15.3 MB / 0.8106 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.0003758/0.2583, allocations: 446.6 kB / 1.03 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 2.881e-05/0.2584, allocations: 8.031 kB / 1.03 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.445e-05/0.2584, allocations: 8.844 kB / 1.03 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001024/0.2585, allocations: 178.4 kB / 1.03 GB, free: 14.58 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.2585, allocations: 4.375 kB / 1.03 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.918e-05/0.2586, allocations: 4.375 kB / 1.03 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001459/0.2587, allocations: 101.9 kB / 1.03 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.721e-06/0.2587, allocations: 0 / 1.03 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.779e-06/0.2587, allocations: 8 kB / 1.03 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.396e-06/0.2587, allocations: 0 / 1.03 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.417e-05/0.2588, allocations: 59.95 kB / 1.03 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001347/0.259, allocations: 169.7 kB / 1.03 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 9.963e-05/0.2591, allocations: 82.52 kB / 1.03 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.59e-05/0.2591, allocations: 68.89 kB / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 8.586e-06/0.2592, allocations: 7.938 kB / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.412e-05/0.2592, allocations: 38.5 kB / 1.031 GB, free: 13.97 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.2592, allocations: 0 / 1.031 GB, free: 13.97 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0003407/0.2596, allocations: 255.3 kB / 1.031 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.105e-05/0.2596, allocations: 77.11 kB / 1.031 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.785e-05/0.2597, allocations: 145.8 kB / 1.031 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.52e-05/0.2597, allocations: 29.7 kB / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.705e-05/0.2598, allocations: 92.03 kB / 1.031 GB, free: 13.33 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.142e-05/0.2598, allocations: 11.91 kB / 1.031 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.581e-05/0.2599, allocations: 33.73 kB / 1.031 GB, free: 13.28 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.179e-05/0.26, allocations: 318.8 kB / 1.031 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001217/0.2601, allocations: 103.9 kB / 1.032 GB, free: 12.86 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.908e-05/0.2602, allocations: 103.9 kB / 1.032 GB, free: 12.76 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002384/0.2604, allocations: 277.8 kB / 1.032 GB, free: 12.46 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.2604, allocations: 0 / 1.032 GB, free: 12.46 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003022/0.2608, allocations: 320.9 kB / 1.032 GB, free: 12.13 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.828e-05/0.2608, allocations: 73.89 kB / 1.032 GB, free: 12.05 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.2608, allocations: 4 kB / 1.032 GB, free: 12.05 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.548e-06/0.2608, allocations: 4.062 kB / 1.032 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.964e-06/0.2608, allocations: 0 / 1.032 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.2608, allocations: 7.922 kB / 1.032 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001123/0.261, allocations: 15.83 kB / 1.032 GB, free: 12.02 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.324e-05/0.261, allocations: 4 kB / 1.032 GB, free: 12.02 MB / 0.8106 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 9.836e-05/0.2611, allocations: 159.4 kB / 1.032 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.761e-05/0.2611, allocations: 11.84 kB / 1.032 GB, free: 11.83 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.097e-05/0.2611, allocations: 4.25 kB / 1.032 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.2611, allocations: 4 kB / 1.032 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.2611, allocations: 7.938 kB / 1.032 GB, free: 11.81 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.2611, allocations: 0 / 1.032 GB, free: 11.81 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001058/0.2613, allocations: 177.6 kB / 1.033 GB, free: 11.59 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.2613, allocations: 0 / 1.033 GB, free: 11.59 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.703e-06/0.2613, allocations: 3.938 kB / 1.033 GB, free: 11.59 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.2613, allocations: 0 / 1.033 GB, free: 11.59 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.928e-06/0.2613, allocations: 3.984 kB / 1.033 GB, free: 11.58 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.2613, allocations: 4 kB / 1.033 GB, free: 11.58 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.2613, allocations: 0 / 1.033 GB, free: 11.58 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002328/0.2615, allocations: 222.7 kB / 1.033 GB, free: 11.34 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.226e-05/0.2616, allocations: 92.94 kB / 1.033 GB, free: 11.23 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.547e-05/0.2616, allocations: 0 / 1.033 GB, free: 11.23 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.205e-05/0.2617, allocations: 4 kB / 1.033 GB, free: 11.22 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.052e-05/0.2617, allocations: 11.98 kB / 1.033 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.756e-06/0.2617, allocations: 8 kB / 1.033 GB, free: 11.2 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.73e-05/0.2618, allocations: 107.2 kB / 1.033 GB, free: 11.1 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2618, allocations: 0 / 1.033 GB, free: 11.1 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002562/0.2621, allocations: 68 kB / 1.033 GB, free: 11.03 MB / 0.8106 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.000221/0.2623, allocations: 148 kB / 1.033 GB, free: 10.88 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003534/0.2626, allocations: 370.7 kB / 1.034 GB, free: 10.49 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.2627, allocations: 0 / 1.034 GB, free: 10.49 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000121/0.2628, allocations: 139.3 kB / 1.034 GB, free: 10.34 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001332/0.2629, allocations: 9.375 kB / 1.034 GB, free: 10.33 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003166/0.2632, allocations: 205.6 kB / 1.034 GB, free: 10.11 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002213/0.2635, allocations: 0.7041 MB / 1.035 GB, free: 9.375 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.609e-06/0.2635, allocations: 0 / 1.035 GB, free: 9.375 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.122e-05/0.2635, allocations: 7.438 kB / 1.035 GB, free: 9.367 MB / 0.8106 GB Notification: Performance of SimCode: time 2.5e-07/0.2635, allocations: 3.938 kB / 1.035 GB, free: 9.363 MB / 0.8106 GB Notification: Performance of Templates: time 0.004046/0.2676, allocations: 2.03 MB / 1.037 GB, free: 7.34 MB / 0.8106 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 -s cvode -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