Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cubSpl.y",fileNamePrefix="Buildings_10_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_10_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.001362/0.001362, allocations: 100.1 kB / 15.88 MB, free: 12 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.001607/0.001607, allocations: 199.1 kB / 16.79 MB, free: 6.809 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.392/1.392, allocations: 222.9 MB / 240.5 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.551/2.551, allocations: 437 MB / 0.7106 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00152/0.001521, allocations: 63.91 kB / 0.8692 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6884/0.6899, allocations: 151.6 MB / 1.017 GB, free: 2.773 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002689/0.6926, allocations: 1.496 MB / 1.019 GB, free: 1.266 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001293/0.694, allocations: 0.8153 MB / 1.02 GB, free: 452 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.604e-05/0.694, allocations: 0 / 1.02 GB, free: 452 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 6.69e-05/0.6941, allocations: 3.938 kB / 1.02 GB, free: 448 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.379e-05/0.6941, allocations: 3.938 kB / 1.02 GB, free: 444 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004997/0.6946, allocations: 139.8 kB / 1.02 GB, free: 304 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.265e-05/0.6947, allocations: 35.91 kB / 1.02 GB, free: 268 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 7.914e-05/0.6948, allocations: 8 kB / 1.02 GB, free: 260 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.561e-05/0.6949, allocations: 11.92 kB / 1.02 GB, free: 248 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.698e-05/0.6949, allocations: 19.92 kB / 1.02 GB, free: 228 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.297e-05/0.6949, allocations: 0 / 1.02 GB, free: 228 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002893/0.6952, allocations: 191.7 kB / 1.02 GB, free: 36 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 4.915e-05/0.6953, allocations: 15.98 kB / 1.02 GB, free: 20 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.466e-05/0.6953, allocations: 15.88 kB / 1.02 GB, free: 4 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001958/0.6955, allocations: 131.8 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.6956, allocations: 0 / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of FrontEnd: time 7.92e-07/0.6956, allocations: 0 / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.173e-06/0.6956, allocations: 0 / 1.02 GB, free: 15.88 MB / 0.7794 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.0005044/0.6961, allocations: 432.8 kB / 1.021 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.6961, allocations: 8.031 kB / 1.021 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.775e-05/0.6962, allocations: 8.844 kB / 1.021 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001295/0.6963, allocations: 180.2 kB / 1.021 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/0.6963, allocations: 384 / 1.021 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.466e-05/0.6963, allocations: 8.312 kB / 1.021 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001874/0.6965, allocations: 77.97 kB / 1.021 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.6965, allocations: 0 / 1.021 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.6966, allocations: 3.984 kB / 1.021 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.6966, allocations: 0 / 1.021 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001182/0.6967, allocations: 43.97 kB / 1.021 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003783/0.6971, allocations: 280.9 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001185/0.6972, allocations: 66.48 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.16e-05/0.6973, allocations: 44.86 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.538e-06/0.6973, allocations: 0 / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.694e-05/0.6974, allocations: 38.55 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.6974, allocations: 0 / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0003808/0.6978, allocations: 179.3 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.642e-05/0.6978, allocations: 85.11 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.6979, allocations: 137.6 kB / 1.022 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.6979, allocations: 25.7 kB / 1.022 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.78e-05/0.698, allocations: 88.14 kB / 1.022 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.125e-05/0.698, allocations: 7.891 kB / 1.022 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.431e-05/0.6981, allocations: 21.72 kB / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.6982, allocations: 314.9 kB / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001023/0.6983, allocations: 59.95 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.153e-05/0.6984, allocations: 59.97 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002371/0.6987, allocations: 197.8 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.6987, allocations: 3.938 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002761/0.6989, allocations: 212.9 kB / 1.023 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.177e-05/0.699, allocations: 69.89 kB / 1.023 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.699, allocations: 4 kB / 1.023 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.699, allocations: 0 / 1.023 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.971e-05/0.6991, allocations: 7.938 kB / 1.023 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.6991, allocations: 3.984 kB / 1.023 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.662e-05/0.6992, allocations: 7.938 kB / 1.023 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.193e-05/0.6992, allocations: 4 kB / 1.023 GB, free: 12.96 MB / 0.7794 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.0001083/0.6993, allocations: 148 kB / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.652e-05/0.6993, allocations: 4 kB / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.45e-05/0.6994, allocations: 7.906 kB / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.6994, allocations: 4 kB / 1.023 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.6994, allocations: 4.062 kB / 1.023 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.6994, allocations: 0 / 1.023 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001716/0.6996, allocations: 177.5 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.6996, allocations: 0 / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.738e-05/0.6996, allocations: 7.938 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.6996, allocations: 0 / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/0.6996, allocations: 7.984 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.6996, allocations: 0 / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.6996, allocations: 0 / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000272/0.6999, allocations: 253.1 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.791e-05/0.7, allocations: 85.02 kB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.669e-05/0.7, allocations: 0 / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.989e-05/0.7001, allocations: 7.984 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001226/0.7002, allocations: 8 kB / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.541e-06/0.7002, allocations: 0 / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.99e-05/0.7003, allocations: 95.27 kB / 1.023 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7003, allocations: 4.031 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003105/0.7006, allocations: 59.98 kB / 1.023 GB, free: 12 MB / 0.7794 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.0002771/0.7009, allocations: 151.2 kB / 1.024 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003288/0.7012, allocations: 239 kB / 1.024 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.7012, allocations: 0 / 1.024 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001304/0.7014, allocations: 107.3 kB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002195/0.7016, allocations: 14.67 kB / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003685/0.702, allocations: 209 kB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002462/0.7022, allocations: 0.6848 MB / 1.025 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.516e-05/0.7023, allocations: 7.438 kB / 1.025 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of SimCode: time 2.6e-07/0.7023, allocations: 4 kB / 1.025 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of Templates: time 0.003052/0.7053, allocations: 1.482 MB / 1.026 GB, free: 9.012 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & ./Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches