Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001346/0.001346, allocations: 106.8 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.0013/0.001301, allocations: 183 kB / 17.34 MB, free: 5.734 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.372/1.372, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.482/2.482, allocations: 437 MB / 0.7112 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 71.89 kB / 1.019 GB, free: 9.371 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9132/0.9146, allocations: 151.6 MB / 1.167 GB, free: 3.859 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.002159/0.9168, allocations: 0.6139 MB / 1.168 GB, free: 3.25 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002039/0.9189, allocations: 1.379 MB / 1.169 GB, free: 1.855 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.696e-05/0.9189, allocations: 0 / 1.169 GB, free: 1.855 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 5.43e-05/0.919, allocations: 3.938 kB / 1.169 GB, free: 1.852 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.3e-05/0.919, allocations: 0 / 1.169 GB, free: 1.852 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007768/0.9198, allocations: 189 kB / 1.169 GB, free: 1.668 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001317/0.92, allocations: 51.89 kB / 1.17 GB, free: 1.617 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.303e-05/0.92, allocations: 4 kB / 1.17 GB, free: 1.613 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 4.025e-05/0.9201, allocations: 19.97 kB / 1.17 GB, free: 1.594 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.068e-05/0.9201, allocations: 23.91 kB / 1.17 GB, free: 1.57 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.492e-05/0.9202, allocations: 4 kB / 1.17 GB, free: 1.566 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003546/0.9205, allocations: 199.7 kB / 1.17 GB, free: 1.371 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 5.214e-05/0.9206, allocations: 19.91 kB / 1.17 GB, free: 1.352 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.421e-05/0.9206, allocations: 23.86 kB / 1.17 GB, free: 1.328 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.000299/0.9209, allocations: 191.5 kB / 1.17 GB, free: 1.141 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.9209, allocations: 0 / 1.17 GB, free: 1.141 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.753e-06/0.921, allocations: 4 kB / 1.17 GB, free: 1.137 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.471e-06/0.921, allocations: 0 / 1.17 GB, free: 1.137 MB / 0.8887 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.0004686/0.9214, allocations: 444.3 kB / 1.17 GB, free: 0.6484 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.9215, allocations: 8.922 kB / 1.17 GB, free: 0.6406 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.894e-05/0.9215, allocations: 12.84 kB / 1.17 GB, free: 0.6289 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/0.9217, allocations: 170.8 kB / 1.171 GB, free: 436 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.9217, allocations: 384 / 1.171 GB, free: 436 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.621e-05/0.9217, allocations: 4.375 kB / 1.171 GB, free: 432 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001753/0.9219, allocations: 97.95 kB / 1.171 GB, free: 328 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.9219, allocations: 4 kB / 1.171 GB, free: 324 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.9219, allocations: 0 / 1.171 GB, free: 324 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-06/0.9219, allocations: 0 / 1.171 GB, free: 324 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.627e-05/0.922, allocations: 67.89 kB / 1.171 GB, free: 256 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001575/0.9222, allocations: 177.6 kB / 1.171 GB, free: 28 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001344/0.9223, allocations: 82.47 kB / 1.171 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.26e-05/0.9224, allocations: 68.89 kB / 1.171 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 8.927e-06/0.9224, allocations: 4 kB / 1.171 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.561e-05/0.9225, allocations: 38.44 kB / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.9225, allocations: 0 / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4): time 0.0003872/0.9229, allocations: 259.1 kB / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.358e-05/0.9229, allocations: 81.11 kB / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000122/0.9231, allocations: 145.7 kB / 1.172 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/0.9231, allocations: 25.7 kB / 1.172 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.724e-05/0.9231, allocations: 92.12 kB / 1.172 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.706e-05/0.9232, allocations: 19.78 kB / 1.172 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.47e-05/0.9232, allocations: 29.7 kB / 1.172 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.9234, allocations: 318.8 kB / 1.172 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001221/0.9235, allocations: 99.94 kB / 1.172 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001132/0.9236, allocations: 103.9 kB / 1.172 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002735/0.9239, allocations: 285.8 kB / 1.173 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.9239, allocations: 0 / 1.173 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003356/0.9242, allocations: 324.8 kB / 1.173 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 6.479e-05/0.9243, allocations: 71.39 kB / 1.173 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.239e-06/0.9243, allocations: 4.062 kB / 1.173 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.9243, allocations: 0 / 1.173 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.92e-07/0.9243, allocations: 0 / 1.173 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.9244, allocations: 0 / 1.173 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001647/0.9245, allocations: 11.91 kB / 1.173 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.549e-05/0.9245, allocations: 4 kB / 1.173 GB, free: 13.86 MB / 0.9044 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.0001136/0.9247, allocations: 151.5 kB / 1.173 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.696e-05/0.9247, allocations: 7.984 kB / 1.173 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.648e-05/0.9247, allocations: 16.23 kB / 1.173 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.9247, allocations: 4 kB / 1.173 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.9247, allocations: 0 / 1.173 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.9247, allocations: 0 / 1.173 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001152/0.9249, allocations: 169.6 kB / 1.173 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.9249, allocations: 0 / 1.173 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.845e-06/0.9249, allocations: 3.938 kB / 1.173 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.9249, allocations: 0 / 1.173 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.987e-05/0.9249, allocations: 4 kB / 1.173 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.9249, allocations: 3.938 kB / 1.173 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.9249, allocations: 4 kB / 1.173 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002631/0.9252, allocations: 238.6 kB / 1.173 GB, free: 13.17 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.151e-05/0.9252, allocations: 88.89 kB / 1.174 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.907e-05/0.9253, allocations: 4 kB / 1.174 GB, free: 13.06 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.494e-05/0.9253, allocations: 7.984 kB / 1.174 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.455e-05/0.9254, allocations: 4 kB / 1.174 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.282e-06/0.9254, allocations: 0 / 1.174 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 7.793e-05/0.9255, allocations: 113.8 kB / 1.174 GB, free: 12.94 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9255, allocations: 3.969 kB / 1.174 GB, free: 12.94 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003149/0.9258, allocations: 67.98 kB / 1.174 GB, free: 12.87 MB / 0.9044 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.000303/0.9261, allocations: 151.2 kB / 1.174 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003997/0.9265, allocations: 374.6 kB / 1.174 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.9266, allocations: 3.938 kB / 1.174 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001299/0.9267, allocations: 135.3 kB / 1.174 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001514/0.9269, allocations: 6.234 kB / 1.174 GB, free: 12.17 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004146/0.9273, allocations: 239.3 kB / 1.175 GB, free: 11.9 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002699/0.9276, allocations: 0.6924 MB / 1.175 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.133e-05/0.9276, allocations: 11.44 kB / 1.175 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of SimCode: time 2.2e-07/0.9276, allocations: 0 / 1.175 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of Templates: time 0.003664/0.9313, allocations: 1.652 MB / 1.177 GB, free: 9.527 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_CubicHermite.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches