Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.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.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cubSpl.y",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cubSpl.y",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001481/0.001487, allocations: 111 kB / 16.42 MB, free: 6.492 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.001622/0.001622, allocations: 185.7 kB / 17.35 MB, free: 5.762 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.35/1.35, allocations: 222.9 MB / 241.1 MB, free: 15.15 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.223/2.223, allocations: 390.3 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 67.89 kB / 0.9516 GB, free: 7.613 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8569/0.8583, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002294/0.8606, allocations: 1.431 MB / 1.09 GB, free: 4.523 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001109/0.8618, allocations: 0.7796 MB / 1.091 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.15e-05/0.8618, allocations: 1.031 kB / 1.091 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 5.804e-05/0.8619, allocations: 8.547 kB / 1.091 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.149e-05/0.8619, allocations: 2.875 kB / 1.091 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005986/0.8625, allocations: 170.1 kB / 1.091 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001081/0.8626, allocations: 51.34 kB / 1.091 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 7.155e-05/0.8627, allocations: 13.19 kB / 1.091 GB, free: 3.902 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.49e-05/0.8628, allocations: 12.66 kB / 1.091 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.988e-05/0.8628, allocations: 17.84 kB / 1.091 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.588e-05/0.8628, allocations: 4.469 kB / 1.091 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000378/0.8632, allocations: 203.4 kB / 1.091 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.532e-05/0.8633, allocations: 9.297 kB / 1.091 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.625e-05/0.8633, allocations: 18.58 kB / 1.091 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002932/0.8636, allocations: 193.3 kB / 1.091 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.8636, allocations: 4.844 kB / 1.091 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.272e-06/0.8636, allocations: 4 kB / 1.091 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.367e-06/0.8637, allocations: 0 / 1.091 GB, free: 3.758 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.0003671/0.864, allocations: 429 kB / 1.092 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.8641, allocations: 8.984 kB / 1.092 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.693e-05/0.8641, allocations: 7.625 kB / 1.092 GB, free: 3.316 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.342e-05/0.8642, allocations: 172.4 kB / 1.092 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.8642, allocations: 2.031 kB / 1.092 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.292e-05/0.8642, allocations: 6.438 kB / 1.092 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000178/0.8644, allocations: 88.56 kB / 1.092 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.8644, allocations: 1.453 kB / 1.092 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.8644, allocations: 4.688 kB / 1.092 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.8644, allocations: 0.5 kB / 1.092 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000121/0.8646, allocations: 49.53 kB / 1.092 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003182/0.8649, allocations: 274.7 kB / 1.092 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001049/0.865, allocations: 60.19 kB / 1.093 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.883e-05/0.8651, allocations: 45.69 kB / 1.093 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.114e-05/0.8651, allocations: 0.75 kB / 1.093 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.608e-05/0.8652, allocations: 36 kB / 1.093 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.8652, allocations: 4.688 kB / 1.093 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0003806/0.8655, allocations: 182.9 kB / 1.093 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.293e-05/0.8656, allocations: 79.22 kB / 1.093 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.624e-05/0.8657, allocations: 126.1 kB / 1.093 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.024e-05/0.8657, allocations: 27.33 kB / 1.093 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.01e-05/0.8657, allocations: 92.5 kB / 1.093 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.268e-05/0.8657, allocations: 9.547 kB / 1.093 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.888e-05/0.8658, allocations: 22.7 kB / 1.093 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.161e-05/0.8658, allocations: 322.5 kB / 1.093 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001021/0.8659, allocations: 57.66 kB / 1.093 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.666e-05/0.866, allocations: 62.64 kB / 1.094 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002084/0.8662, allocations: 194.2 kB / 1.094 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.8663, allocations: 0 / 1.094 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002681/0.8665, allocations: 217.3 kB / 1.094 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.848e-05/0.8666, allocations: 61.95 kB / 1.094 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.8666, allocations: 1.516 kB / 1.094 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.8666, allocations: 0 / 1.094 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.501e-05/0.8667, allocations: 4.047 kB / 1.094 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.829e-06/0.8667, allocations: 4.734 kB / 1.094 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.716e-05/0.8667, allocations: 14.36 kB / 1.094 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.297e-05/0.8667, allocations: 7.141 kB / 1.094 GB, free: 1.539 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 (cubSpl.i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 1 * 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 7.071e-05/0.8668, allocations: 154 kB / 1.094 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.962e-05/0.8669, allocations: 6.969 kB / 1.094 GB, free: 1.379 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.972e-05/0.8669, allocations: 5.562 kB / 1.094 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.8669, allocations: 1.344 kB / 1.094 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.8669, allocations: 0 / 1.094 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.813e-05/0.8669, allocations: 79.91 kB / 1.094 GB, free: 1.273 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.867, allocations: 9.625 kB / 1.094 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.185e-05/0.867, allocations: 9.656 kB / 1.094 GB, free: 1.262 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.21e-05/0.8671, allocations: 13.91 kB / 1.094 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002383/0.8674, allocations: 275.8 kB / 1.095 GB, free: 1.035 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002413/0.8676, allocations: 323.5 kB / 1.095 GB, free: 0.7734 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001018/0.8677, allocations: 53.14 kB / 1.095 GB, free: 0.7578 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.272e-05/0.8678, allocations: 107.9 kB / 1.095 GB, free: 0.668 MB / 0.8575 GB Notification: Performance of Backend: time 4.41e-07/0.8678, allocations: 3.938 kB / 1.095 GB, free: 0.6641 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0006516/0.8684, allocations: 331.4 kB / 1.095 GB, free: 448 kB / 0.8575 GB Notification: Performance of SimCode: time 0.0003735/0.8688, allocations: 0.6293 MB / 1.096 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of Templates: time 0.004904/0.8737, allocations: 1.792 MB / 1.098 GB, free: 15.64 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches