Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cubSpl.y",fileNamePrefix="Buildings_latest_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_latest_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.001577/0.001577, allocations: 108.9 kB / 16.41 MB, free: 6.465 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.00176/0.00176, allocations: 187 kB / 17.34 MB, free: 5.719 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.391/1.391, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.633/2.633, allocations: 461.9 MB / 0.7355 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00147/0.00147, allocations: 71.89 kB / 1.055 GB, free: 7.633 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.832/0.8335, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002922/0.8365, allocations: 1.436 MB / 1.21 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001389/0.8379, allocations: 0.7831 MB / 1.211 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.271e-05/0.8379, allocations: 0 / 1.211 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 6.731e-05/0.838, allocations: 3.938 kB / 1.211 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.865e-05/0.8381, allocations: 3.938 kB / 1.211 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007209/0.8388, allocations: 174.9 kB / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001234/0.8389, allocations: 47.91 kB / 1.211 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 8.439e-05/0.839, allocations: 4 kB / 1.211 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 4.413e-05/0.8391, allocations: 19.98 kB / 1.211 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.311e-05/0.8391, allocations: 19.91 kB / 1.211 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.591e-05/0.8392, allocations: 4 kB / 1.211 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003626/0.8395, allocations: 203.7 kB / 1.211 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 5.131e-05/0.8396, allocations: 11.94 kB / 1.211 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.1e-05/0.8396, allocations: 15.92 kB / 1.211 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003027/0.8399, allocations: 195.6 kB / 1.211 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.84, allocations: 0 / 1.211 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.753e-06/0.84, allocations: 0 / 1.211 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.84, allocations: 0 / 1.211 GB, free: 10.67 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.0005409/0.8405, allocations: 436.4 kB / 1.212 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.8406, allocations: 8.031 kB / 1.212 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.481e-05/0.8406, allocations: 8.938 kB / 1.212 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001273/0.8408, allocations: 184.1 kB / 1.212 GB, free: 9.957 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.8408, allocations: 4.375 kB / 1.212 GB, free: 9.953 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.129e-05/0.8408, allocations: 384 / 1.212 GB, free: 9.953 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001883/0.841, allocations: 77.98 kB / 1.212 GB, free: 9.871 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.841, allocations: 0 / 1.212 GB, free: 9.871 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.841, allocations: 3.984 kB / 1.212 GB, free: 9.867 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.841, allocations: 4 kB / 1.212 GB, free: 9.863 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001101/0.8411, allocations: 43.97 kB / 1.212 GB, free: 9.82 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004155/0.8416, allocations: 280.8 kB / 1.212 GB, free: 9.496 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001162/0.8417, allocations: 58.5 kB / 1.212 GB, free: 9.43 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.518e-05/0.8418, allocations: 48.91 kB / 1.212 GB, free: 9.379 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.333e-05/0.8418, allocations: 4 kB / 1.212 GB, free: 9.375 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/0.8418, allocations: 30.56 kB / 1.212 GB, free: 9.336 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 1.262e-06/0.8419, allocations: 0 / 1.212 GB, free: 9.336 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0004036/0.8423, allocations: 195.1 kB / 1.213 GB, free: 9.133 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.793e-05/0.8423, allocations: 77.11 kB / 1.213 GB, free: 9.039 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.8424, allocations: 129.8 kB / 1.213 GB, free: 8.902 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.065e-05/0.8425, allocations: 25.7 kB / 1.213 GB, free: 8.871 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.725e-05/0.8425, allocations: 88.17 kB / 1.213 GB, free: 8.781 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.773e-05/0.8425, allocations: 7.906 kB / 1.213 GB, free: 8.773 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.612e-05/0.8426, allocations: 25.7 kB / 1.213 GB, free: 8.742 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.8427, allocations: 310.8 kB / 1.213 GB, free: 8.43 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001065/0.8428, allocations: 59.95 kB / 1.213 GB, free: 8.371 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.866e-05/0.8429, allocations: 55.97 kB / 1.213 GB, free: 8.316 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002202/0.8431, allocations: 193.9 kB / 1.214 GB, free: 8.105 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.838e-06/0.8431, allocations: 4 kB / 1.214 GB, free: 8.102 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000278/0.8434, allocations: 225.1 kB / 1.214 GB, free: 7.863 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 5.284e-05/0.8435, allocations: 67.39 kB / 1.214 GB, free: 7.785 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.359e-06/0.8435, allocations: 4 kB / 1.214 GB, free: 7.781 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.8435, allocations: 0 / 1.214 GB, free: 7.781 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.194e-05/0.8436, allocations: 3.984 kB / 1.214 GB, free: 7.777 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.395e-06/0.8436, allocations: 4 kB / 1.214 GB, free: 7.773 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.164e-05/0.8437, allocations: 11.92 kB / 1.214 GB, free: 7.762 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.084e-05/0.8437, allocations: 0 / 1.214 GB, free: 7.762 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 (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 0.0001137/0.8438, allocations: 159.5 kB / 1.214 GB, free: 7.59 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.219e-05/0.8438, allocations: 7.906 kB / 1.214 GB, free: 7.582 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.354e-05/0.8439, allocations: 3.906 kB / 1.214 GB, free: 7.566 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.8439, allocations: 4 kB / 1.214 GB, free: 7.562 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.8439, allocations: 0 / 1.214 GB, free: 7.562 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.8439, allocations: 0 / 1.214 GB, free: 7.562 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000168/0.8441, allocations: 173.6 kB / 1.214 GB, free: 7.344 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.8441, allocations: 3.938 kB / 1.214 GB, free: 7.34 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.933e-05/0.8441, allocations: 4 kB / 1.214 GB, free: 7.336 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.8441, allocations: 0 / 1.214 GB, free: 7.336 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.846e-06/0.8441, allocations: 4 kB / 1.214 GB, free: 7.332 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.8441, allocations: 7.984 kB / 1.214 GB, free: 7.324 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.8441, allocations: 0 / 1.214 GB, free: 7.324 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002696/0.8444, allocations: 249.1 kB / 1.214 GB, free: 7.059 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.099e-05/0.8445, allocations: 81.02 kB / 1.215 GB, free: 6.961 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.686e-05/0.8445, allocations: 4 kB / 1.215 GB, free: 6.957 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.971e-05/0.8446, allocations: 4 kB / 1.215 GB, free: 6.953 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001145/0.8447, allocations: 16.02 kB / 1.215 GB, free: 6.938 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.46e-06/0.8447, allocations: 0 / 1.215 GB, free: 6.938 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.272e-05/0.8447, allocations: 95.27 kB / 1.215 GB, free: 6.844 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8448, allocations: 0 / 1.215 GB, free: 6.844 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003145/0.8451, allocations: 59.98 kB / 1.215 GB, free: 6.785 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 (cubSpl.i) * Number of discrete states: 1 (cubSpl.i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * 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.0002699/0.8454, allocations: 147.2 kB / 1.215 GB, free: 6.633 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003329/0.8457, allocations: 250.7 kB / 1.215 GB, free: 6.363 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.8457, allocations: 0 / 1.215 GB, free: 6.363 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001246/0.8458, allocations: 103.4 kB / 1.215 GB, free: 6.25 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002177/0.8461, allocations: 9.969 kB / 1.215 GB, free: 6.242 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003801/0.8465, allocations: 203.1 kB / 1.215 GB, free: 6.012 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002618/0.8467, allocations: 0.6845 MB / 1.216 GB, free: 5.301 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.073e-05/0.8468, allocations: 7.438 kB / 1.216 GB, free: 5.293 MB / 0.9356 GB Notification: Performance of SimCode: time 2.81e-07/0.8468, allocations: 0 / 1.216 GB, free: 5.293 MB / 0.9356 GB Notification: Performance of Templates: time 0.003483/0.8502, allocations: 1.499 MB / 1.217 GB, free: 3.797 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches