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.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.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.001045/0.001045, allocations: 99.5 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001396/0.001397, allocations: 187.6 kB / 16.92 MB, free: 6.75 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.441/1.441, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.892/2.892, allocations: 462.6 MB / 0.7371 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000351/0.000351, allocations: 11.48 kB / 0.9034 GB, free: 36.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3306/0.3309, allocations: 159.6 MB / 1.059 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.001964/0.333, allocations: 1.156 MB / 1.06 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001531/0.3345, allocations: 0.8066 MB / 1.061 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.056e-05/0.3346, allocations: 0 / 1.061 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.67e-05/0.3347, allocations: 0 / 1.061 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.887e-05/0.3347, allocations: 11.88 kB / 1.061 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006915/0.3354, allocations: 133.3 kB / 1.061 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.995e-05/0.3355, allocations: 35.97 kB / 1.061 GB, free: 2.789 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.351e-05/0.3356, allocations: 4 kB / 1.061 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.453e-05/0.3357, allocations: 11.94 kB / 1.061 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.52e-05/0.3357, allocations: 23.97 kB / 1.061 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.645e-05/0.3358, allocations: 0 / 1.061 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003738/0.3362, allocations: 199.7 kB / 1.062 GB, free: 2.555 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.405e-05/0.3362, allocations: 7.938 kB / 1.062 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.736e-05/0.3363, allocations: 45.56 kB / 1.062 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002479/0.3365, allocations: 127.8 kB / 1.062 GB, free: 2.371 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.3365, allocations: 0 / 1.062 GB, free: 2.371 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.733e-06/0.3366, allocations: 0 / 1.062 GB, free: 2.371 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.3366, allocations: 0 / 1.062 GB, free: 2.371 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.0005734/0.3371, allocations: 427.1 kB / 1.062 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.3372, allocations: 11.97 kB / 1.062 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.84e-05/0.3373, allocations: 8.844 kB / 1.062 GB, free: 1.875 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001534/0.3374, allocations: 172.3 kB / 1.062 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.787e-05/0.3374, allocations: 384 / 1.062 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.528e-05/0.3375, allocations: 4.375 kB / 1.062 GB, free: 1.664 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002087/0.3377, allocations: 73.98 kB / 1.062 GB, free: 1.586 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.742e-06/0.3377, allocations: 0 / 1.062 GB, free: 1.586 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.493e-05/0.3377, allocations: 4 kB / 1.062 GB, free: 1.582 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.3377, allocations: 8 kB / 1.063 GB, free: 1.574 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001331/0.3379, allocations: 55.89 kB / 1.063 GB, free: 1.52 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004666/0.3383, allocations: 280.8 kB / 1.063 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001364/0.3385, allocations: 58.56 kB / 1.063 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.667e-05/0.3386, allocations: 48.91 kB / 1.063 GB, free: 1.078 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 9.107e-06/0.3386, allocations: 0 / 1.063 GB, free: 1.078 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.261e-05/0.3387, allocations: 30.56 kB / 1.063 GB, free: 1.039 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 2.835e-06/0.3387, allocations: 0 / 1.063 GB, free: 1.039 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0004178/0.3391, allocations: 199.2 kB / 1.063 GB, free: 0.832 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.49e-05/0.3392, allocations: 85.11 kB / 1.063 GB, free: 0.7305 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001132/0.3393, allocations: 121.8 kB / 1.063 GB, free: 0.6016 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.757e-05/0.3393, allocations: 25.7 kB / 1.063 GB, free: 0.5703 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.481e-05/0.3394, allocations: 92.05 kB / 1.063 GB, free: 488 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.749e-05/0.3394, allocations: 7.844 kB / 1.063 GB, free: 480 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.184e-05/0.3395, allocations: 21.7 kB / 1.063 GB, free: 452 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.3396, allocations: 310.8 kB / 1.064 GB, free: 132 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001124/0.3397, allocations: 64 kB / 1.064 GB, free: 68 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.834e-05/0.3398, allocations: 63.95 kB / 1.064 GB, free: 4 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002576/0.3401, allocations: 197.8 kB / 1.064 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.3401, allocations: 7.938 kB / 1.064 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003015/0.3404, allocations: 217 kB / 1.064 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.928e-05/0.3405, allocations: 71.39 kB / 1.064 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.3405, allocations: 64 / 1.064 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.3405, allocations: 4 kB / 1.064 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.44e-05/0.3406, allocations: 4 kB / 1.064 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.3406, allocations: 0 / 1.064 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.706e-05/0.3406, allocations: 15.89 kB / 1.064 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.908e-06/0.3407, allocations: 0 / 1.064 GB, free: 15.45 MB / 0.8262 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.000129/0.3408, allocations: 151.5 kB / 1.065 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.188e-05/0.3408, allocations: 7.984 kB / 1.065 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.475e-05/0.3409, allocations: 4.141 kB / 1.065 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.3409, allocations: 3.984 kB / 1.065 GB, free: 15.26 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.3409, allocations: 0 / 1.065 GB, free: 15.26 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.3409, allocations: 4 kB / 1.065 GB, free: 15.26 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001888/0.3411, allocations: 177.6 kB / 1.065 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.3411, allocations: 0 / 1.065 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.465e-05/0.3411, allocations: 7.938 kB / 1.065 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.3411, allocations: 0 / 1.065 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.3412, allocations: 4 kB / 1.065 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.688e-06/0.3412, allocations: 4 kB / 1.065 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3412, allocations: 3.938 kB / 1.065 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002964/0.3415, allocations: 257 kB / 1.065 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.927e-05/0.3415, allocations: 77.11 kB / 1.065 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.8e-05/0.3416, allocations: 4 kB / 1.065 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.049e-05/0.3416, allocations: 8.031 kB / 1.065 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/0.3417, allocations: 7.984 kB / 1.065 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.145e-06/0.3418, allocations: 4 kB / 1.065 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.064e-05/0.3418, allocations: 95.27 kB / 1.065 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3418, allocations: 0 / 1.065 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003492/0.3422, allocations: 59.98 kB / 1.065 GB, free: 14.47 MB / 0.8262 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.0003253/0.3425, allocations: 147.2 kB / 1.065 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003472/0.3429, allocations: 254.6 kB / 1.066 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.3429, allocations: 0 / 1.066 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001342/0.343, allocations: 103.4 kB / 1.066 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002189/0.3432, allocations: 7.938 kB / 1.066 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003899/0.3436, allocations: 214.3 kB / 1.066 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002729/0.3439, allocations: 0.6887 MB / 1.067 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.736e-05/0.344, allocations: 7.438 kB / 1.067 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of SimCode: time 2.61e-07/0.344, allocations: 3.938 kB / 1.067 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of Templates: time 0.003388/0.3474, allocations: 1.486 MB / 1.068 GB, free: 11.47 MB / 0.8262 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