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.001175/0.001175, allocations: 111.3 kB / 16.42 MB, free: 6.445 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.00154/0.00154, allocations: 186.6 kB / 17.35 MB, free: 5.742 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.37/1.37, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.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.34/2.34, allocations: 390.3 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001569/0.001569, allocations: 67.89 kB / 0.9516 GB, free: 7.594 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.985/0.9866, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.00167/0.9883, allocations: 0.6138 MB / 1.089 GB, free: 5.141 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00179/0.9901, allocations: 1.389 MB / 1.091 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.139e-05/0.9902, allocations: 0 / 1.091 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 6.113e-05/0.9902, allocations: 5 kB / 1.091 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.929e-05/0.9903, allocations: 6.078 kB / 1.091 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007521/0.991, allocations: 172.7 kB / 1.091 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001357/0.9912, allocations: 55.75 kB / 1.091 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.579e-05/0.9912, allocations: 2.719 kB / 1.091 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.294e-05/0.9913, allocations: 21.95 kB / 1.091 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.74e-05/0.9914, allocations: 24.27 kB / 1.091 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.677e-05/0.9914, allocations: 2.594 kB / 1.091 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003988/0.9918, allocations: 206.4 kB / 1.091 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.528e-05/0.9918, allocations: 12.8 kB / 1.091 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.486e-05/0.9919, allocations: 24.39 kB / 1.091 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003347/0.9922, allocations: 187.5 kB / 1.091 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.9922, allocations: 0 / 1.091 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.054e-06/0.9922, allocations: 0.875 kB / 1.091 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.9923, allocations: 0 / 1.091 GB, free: 3.918 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.0004055/0.9927, allocations: 440.3 kB / 1.092 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.9927, allocations: 13.48 kB / 1.092 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.736e-05/0.9928, allocations: 12.56 kB / 1.092 GB, free: 3.461 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.35e-05/0.9929, allocations: 181.5 kB / 1.092 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.341e-05/0.9929, allocations: 1.875 kB / 1.092 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.401e-05/0.9929, allocations: 3.094 kB / 1.092 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002022/0.9931, allocations: 97.92 kB / 1.092 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.9931, allocations: 0 / 1.092 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.9932, allocations: 2.203 kB / 1.092 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.9932, allocations: 0.75 kB / 1.092 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001166/0.9933, allocations: 64.41 kB / 1.092 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001521/0.9935, allocations: 178.7 kB / 1.092 GB, free: 3 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001361/0.9936, allocations: 85.95 kB / 1.092 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001131/0.9937, allocations: 66.67 kB / 1.092 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.498e-06/0.9937, allocations: 0 / 1.092 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.062e-05/0.9938, allocations: 35.31 kB / 1.092 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 8.41e-07/0.9938, allocations: 0.75 kB / 1.092 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0004408/0.9942, allocations: 252.1 kB / 1.093 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.927e-05/0.9942, allocations: 84.47 kB / 1.093 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.9944, allocations: 146.9 kB / 1.093 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.296e-05/0.9944, allocations: 26.77 kB / 1.093 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.387e-05/0.9944, allocations: 97 kB / 1.093 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.644e-05/0.9945, allocations: 11 kB / 1.093 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.157e-05/0.9945, allocations: 28.02 kB / 1.093 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.292e-05/0.9946, allocations: 320.7 kB / 1.093 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001696/0.9948, allocations: 105.5 kB / 1.093 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001522/0.9949, allocations: 105.8 kB / 1.094 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000321/0.9952, allocations: 278.2 kB / 1.094 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.9953, allocations: 0 / 1.094 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004073/0.9957, allocations: 322.7 kB / 1.094 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.478e-05/0.9957, allocations: 77.53 kB / 1.094 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.9957, allocations: 0 / 1.094 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.9958, allocations: 1 kB / 1.094 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.32e-07/0.9958, allocations: 3.938 kB / 1.094 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.338e-06/0.9958, allocations: 1.719 kB / 1.094 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001532/0.9959, allocations: 9.797 kB / 1.094 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.72e-05/0.996, allocations: 8.688 kB / 1.094 GB, free: 1.77 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 9.299e-05/0.9961, allocations: 151.3 kB / 1.094 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.827e-05/0.9961, allocations: 11.69 kB / 1.094 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.706e-05/0.9961, allocations: 7.703 kB / 1.094 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.9961, allocations: 0 / 1.094 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.9961, allocations: 0.9062 kB / 1.094 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.418e-05/0.9962, allocations: 84.16 kB / 1.094 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.099e-05/0.9962, allocations: 6.031 kB / 1.094 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.883e-05/0.9962, allocations: 9 kB / 1.094 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.113e-05/0.9963, allocations: 10.41 kB / 1.094 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002931/0.9966, allocations: 322.1 kB / 1.095 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003409/0.997, allocations: 382.6 kB / 1.095 GB, free: 1.016 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001463/0.9971, allocations: 73.36 kB / 1.095 GB, free: 1.008 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.384e-05/0.9972, allocations: 107.3 kB / 1.095 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of Backend: time 2.1e-07/0.9972, allocations: 1.094 kB / 1.095 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0008714/0.9981, allocations: 440.7 kB / 1.096 GB, free: 0.6719 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0004348/0.9985, allocations: 0.6351 MB / 1.096 GB, free: 16.02 MB / 0.8731 GB Notification: Performance of Templates: time 0.005384/1.004, allocations: 2.06 MB / 1.098 GB, free: 15.85 MB / 0.8731 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/jenkins1/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