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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.008233/0.008233, allocations: 172.2 kB / 16.27 MB, free: 6.652 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.267/1.267, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.183/2.183, allocations: 390.9 MB / 0.6664 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002919/0.0002919, allocations: 11.98 kB / 0.8161 GB, free: 13.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5282/0.5285, allocations: 142.4 MB / 0.9552 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.00128/0.5299, allocations: 1.148 MB / 0.9563 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001041/0.5309, allocations: 0.7996 MB / 0.9571 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.384e-05/0.531, allocations: 0 / 0.9571 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.717e-05/0.531, allocations: 1.219 kB / 0.9571 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.983e-05/0.5311, allocations: 5.297 kB / 0.9571 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004854/0.5316, allocations: 132.9 kB / 0.9572 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.26e-05/0.5316, allocations: 45.03 kB / 0.9573 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.293e-05/0.5317, allocations: 3.281 kB / 0.9573 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.131e-05/0.5317, allocations: 13.39 kB / 0.9573 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.179e-05/0.5318, allocations: 13.8 kB / 0.9573 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.113e-05/0.5318, allocations: 4.844 kB / 0.9573 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002737/0.5321, allocations: 192.5 kB / 0.9575 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.442e-05/0.5321, allocations: 15.77 kB / 0.9575 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.817e-05/0.5322, allocations: 38.98 kB / 0.9575 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002111/0.5324, allocations: 193.2 kB / 0.9577 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.5324, allocations: 4 kB / 0.9577 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.352e-06/0.5324, allocations: 0 / 0.9577 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.626e-06/0.5324, allocations: 0 / 0.9577 GB, free: 5.809 MB / 0.7169 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.0003466/0.5328, allocations: 424.4 kB / 0.9581 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.5328, allocations: 10.03 kB / 0.9581 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.378e-05/0.5328, allocations: 32 kB / 0.9582 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.532e-05/0.5329, allocations: 7.625 kB / 0.9582 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.461e-05/0.5329, allocations: 174.8 kB / 0.9583 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.533, allocations: 6.375 kB / 0.9583 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.122e-05/0.533, allocations: 6.438 kB / 0.9583 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001554/0.5331, allocations: 75.84 kB / 0.9584 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.911e-06/0.5331, allocations: 1.094 kB / 0.9584 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.5332, allocations: 0 / 0.9584 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.466e-06/0.5332, allocations: 5.062 kB / 0.9584 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001049/0.5333, allocations: 52.34 kB / 0.9585 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002799/0.5336, allocations: 277.5 kB / 0.9587 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 9.87e-05/0.5337, allocations: 58.95 kB / 0.9588 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.956e-05/0.5338, allocations: 55.88 kB / 0.9588 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.017e-06/0.5338, allocations: 1.031 kB / 0.9588 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.432e-05/0.5338, allocations: 35.66 kB / 0.9589 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.543e-06/0.5338, allocations: 3.984 kB / 0.9589 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0003345/0.5341, allocations: 191.3 kB / 0.9591 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.453e-05/0.5342, allocations: 82.45 kB / 0.9591 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.868e-05/0.5342, allocations: 128 kB / 0.9593 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.728e-06/0.5343, allocations: 29.7 kB / 0.9593 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.38e-05/0.5343, allocations: 87.5 kB / 0.9594 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.253e-05/0.5343, allocations: 8.812 kB / 0.9594 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.255e-05/0.5343, allocations: 13.66 kB / 0.9594 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.571e-05/0.5344, allocations: 324.6 kB / 0.9597 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.727e-05/0.5345, allocations: 52.62 kB / 0.9598 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.142e-05/0.5346, allocations: 67.02 kB / 0.9598 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001761/0.5347, allocations: 201.7 kB / 0.96 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.5347, allocations: 0 / 0.96 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002262/0.535, allocations: 225 kB / 0.9602 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.228e-05/0.535, allocations: 60.91 kB / 0.9603 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.535, allocations: 7.984 kB / 0.9603 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.535, allocations: 0 / 0.9603 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.91e-05/0.5351, allocations: 4.125 kB / 0.9603 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.5351, allocations: 1.375 kB / 0.9603 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.694e-05/0.5352, allocations: 10.81 kB / 0.9603 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.118e-06/0.5352, allocations: 1.375 kB / 0.9603 GB, free: 3.398 MB / 0.7169 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 6.679e-05/0.5352, allocations: 155.7 kB / 0.9605 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.632e-05/0.5353, allocations: 10.66 kB / 0.9605 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.609e-05/0.5353, allocations: 9.281 kB / 0.9605 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.5353, allocations: 7.922 kB / 0.9605 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.5353, allocations: 1.375 kB / 0.9605 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.883e-06/0.5353, allocations: 0 / 0.9605 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001085/0.5354, allocations: 175.2 kB / 0.9607 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.5354, allocations: 0 / 0.9607 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.769e-05/0.5355, allocations: 4.125 kB / 0.9607 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.5355, allocations: 0 / 0.9607 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.5355, allocations: 5.438 kB / 0.9607 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.5355, allocations: 5.375 kB / 0.9607 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.5355, allocations: 0 / 0.9607 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002037/0.5357, allocations: 251 kB / 0.9609 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.592e-05/0.5357, allocations: 78.48 kB / 0.961 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.546e-05/0.5358, allocations: 13.3 kB / 0.961 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.856e-05/0.5358, allocations: 9.531 kB / 0.961 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.897e-05/0.5359, allocations: 6.734 kB / 0.961 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.5359, allocations: 2.75 kB / 0.961 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.557e-05/0.536, allocations: 98.64 kB / 0.9611 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.002e-06/0.536, allocations: 0 / 0.9611 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002925/0.5363, allocations: 64 kB / 0.9612 GB, free: 2.57 MB / 0.7169 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.0004901/0.5368, allocations: 0.8322 MB / 0.962 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002597/0.537, allocations: 244.3 kB / 0.9622 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.537, allocations: 0 / 0.9622 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001022/0.5372, allocations: 112.8 kB / 0.9623 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001984/0.5374, allocations: 2.719 kB / 0.9623 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001324/0.5387, allocations: 1.769 MB / 0.9641 GB, free: 72 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002342/0.5389, allocations: 0.69 MB / 0.9647 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.329e-05/0.539, allocations: 3.938 kB / 0.9647 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.658e-05/0.539, allocations: 17.33 kB / 0.9647 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of SimCode: time 2.41e-07/0.539, allocations: 0 / 0.9647 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.201/1.74, allocations: 2.513 MB / 0.9672 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001829/1.74, allocations: 240 kB / 0.9674 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.645/3.385, allocations: 1.719 kB / 0.9674 GB, free: 13.92 MB / 0.7325 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.fmu > 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