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: "" <> 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.001458/0.001458, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001685/0.001685, allocations: 190.6 kB / 16.25 MB, free: 6.621 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.337/1.337, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.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.361/2.361, allocations: 390.3 MB / 0.6644 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 63.91 kB / 0.8122 GB, free: 14.67 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.487/0.4883, allocations: 140.4 MB / 0.9492 GB, free: 9.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002035/0.4904, allocations: 1.494 MB / 0.9507 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008656/0.4913, allocations: 0.7781 MB / 0.9515 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.487e-05/0.4913, allocations: 0 / 0.9515 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.248e-05/0.4914, allocations: 3.938 kB / 0.9515 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.638e-05/0.4914, allocations: 5.281 kB / 0.9515 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005484/0.492, allocations: 152.1 kB / 0.9516 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.879e-05/0.4921, allocations: 49.67 kB / 0.9517 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.128e-05/0.4922, allocations: 11.19 kB / 0.9517 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.802e-05/0.4922, allocations: 15.09 kB / 0.9517 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.095e-05/0.4923, allocations: 25.41 kB / 0.9517 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.477e-05/0.4923, allocations: 4.062 kB / 0.9517 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002816/0.4926, allocations: 194.5 kB / 0.9519 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.389e-05/0.4926, allocations: 9.312 kB / 0.9519 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.554e-05/0.4927, allocations: 24.72 kB / 0.9519 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002488/0.4929, allocations: 190.2 kB / 0.9521 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.4929, allocations: 5.281 kB / 0.9521 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.034e-06/0.4929, allocations: 0 / 0.9521 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.762e-06/0.493, allocations: 0 / 0.9521 GB, free: 6.938 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.0004299/0.4934, allocations: 437.8 kB / 0.9525 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.4934, allocations: 9.375 kB / 0.9526 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.748e-05/0.4935, allocations: 32.03 kB / 0.9526 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.084e-05/0.4935, allocations: 12.45 kB / 0.9526 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.234e-05/0.4936, allocations: 171 kB / 0.9528 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.4936, allocations: 2.312 kB / 0.9528 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.177e-05/0.4936, allocations: 5.188 kB / 0.9528 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001827/0.4938, allocations: 78.72 kB / 0.9528 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.4938, allocations: 0 / 0.9528 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.859e-06/0.4938, allocations: 1.125 kB / 0.9528 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.4938, allocations: 5 kB / 0.9528 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000111/0.494, allocations: 44.28 kB / 0.9529 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003211/0.4943, allocations: 279.3 kB / 0.9532 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001079/0.4944, allocations: 61.2 kB / 0.9532 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.472e-05/0.4945, allocations: 46.31 kB / 0.9533 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.127e-06/0.4945, allocations: 5.062 kB / 0.9533 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.283e-05/0.4945, allocations: 39.64 kB / 0.9533 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.423e-06/0.4945, allocations: 0 / 0.9533 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0003601/0.4949, allocations: 184.8 kB / 0.9535 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.713e-05/0.4949, allocations: 78.77 kB / 0.9536 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.203e-05/0.495, allocations: 123.8 kB / 0.9537 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.131e-05/0.495, allocations: 26.89 kB / 0.9537 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.445e-05/0.4951, allocations: 93.55 kB / 0.9538 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.523e-05/0.4951, allocations: 10.52 kB / 0.9538 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.072e-05/0.4952, allocations: 20.12 kB / 0.9538 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.929e-05/0.4952, allocations: 325 kB / 0.9541 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.776e-05/0.4953, allocations: 60.89 kB / 0.9542 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.914e-05/0.4954, allocations: 52.19 kB / 0.9542 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001976/0.4956, allocations: 193.1 kB / 0.9544 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.4956, allocations: 4 kB / 0.9544 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002617/0.4959, allocations: 221.6 kB / 0.9546 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.085e-05/0.4959, allocations: 63.73 kB / 0.9547 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.496, allocations: 0 / 0.9547 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.496, allocations: 0.9688 kB / 0.9547 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.526e-05/0.496, allocations: 2.312 kB / 0.9547 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.496, allocations: 4.891 kB / 0.9547 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.497e-05/0.4961, allocations: 13.25 kB / 0.9547 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.161e-05/0.4961, allocations: 2.344 kB / 0.9547 GB, free: 4.516 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 8.631e-05/0.4962, allocations: 155.3 kB / 0.9549 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.667e-05/0.4962, allocations: 6.562 kB / 0.9549 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.135e-05/0.4963, allocations: 9.156 kB / 0.9549 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.4963, allocations: 0 / 0.9549 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.4963, allocations: 1.031 kB / 0.9549 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.4963, allocations: 0 / 0.9549 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001257/0.4964, allocations: 174.6 kB / 0.955 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.4964, allocations: 1.469 kB / 0.955 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.497e-05/0.4964, allocations: 2.844 kB / 0.955 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.175e-06/0.4965, allocations: 4 kB / 0.9551 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.4965, allocations: 9.234 kB / 0.9551 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.4965, allocations: 1.406 kB / 0.9551 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.4965, allocations: 0 / 0.9551 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002257/0.4967, allocations: 250.7 kB / 0.9553 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.037e-05/0.4967, allocations: 78.27 kB / 0.9554 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.787e-05/0.4968, allocations: 6.562 kB / 0.9554 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.772e-05/0.4968, allocations: 12.14 kB / 0.9554 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.242e-05/0.4969, allocations: 2.344 kB / 0.9554 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-06/0.4969, allocations: 1.25 kB / 0.9554 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.762e-05/0.497, allocations: 99.05 kB / 0.9555 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.497, allocations: 0 / 0.9555 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002892/0.4973, allocations: 65.05 kB / 0.9556 GB, free: 3.699 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.0005197/0.4978, allocations: 0.8273 MB / 0.9564 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002689/0.4981, allocations: 237.7 kB / 0.9566 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4981, allocations: 0 / 0.9566 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.83e-05/0.4982, allocations: 106 kB / 0.9567 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002013/0.4984, allocations: 0 / 0.9567 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001398/0.4998, allocations: 1.769 MB / 0.9584 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001121/0.4999, allocations: 0.6868 MB / 0.9591 GB, free: 0.4961 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.402e-05/0.4999, allocations: 1.531 kB / 0.9591 GB, free: 0.4961 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.736e-05/0.5, allocations: 15.42 kB / 0.9591 GB, free: 492 kB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.5, allocations: 5.406 kB / 0.9591 GB, free: 488 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9055/1.405, allocations: 2.649 MB / 0.9617 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000214/1.406, allocations: 241.8 kB / 0.9619 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.629/3.034, allocations: 7.219 kB / 0.9619 GB, free: 14.93 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