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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="Buildings_10_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.001475/0.001475, allocations: 107.4 kB / 15.22 MB, free: 0.6562 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.001698/0.001698, allocations: 192.2 kB / 16.13 MB, free: 6.637 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.295/1.295, allocations: 222.9 MB / 239.8 MB, free: 4.605 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.458/2.458, allocations: 437 MB / 0.7099 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 63.89 kB / 0.8687 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5082/0.5094, allocations: 151.6 MB / 1.017 GB, free: 2.789 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002607/0.5121, allocations: 1.492 MB / 1.018 GB, free: 1.285 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001158/0.5132, allocations: 0.8191 MB / 1.019 GB, free: 468 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.323e-05/0.5133, allocations: 0 / 1.019 GB, free: 468 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 5.78e-05/0.5133, allocations: 4 kB / 1.019 GB, free: 464 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.995e-05/0.5134, allocations: 7.938 kB / 1.019 GB, free: 456 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004454/0.5138, allocations: 123.8 kB / 1.019 GB, free: 332 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.793e-05/0.5139, allocations: 35.91 kB / 1.019 GB, free: 296 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 7.925e-05/0.514, allocations: 15.98 kB / 1.019 GB, free: 280 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.473e-05/0.514, allocations: 15.92 kB / 1.019 GB, free: 264 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.724e-05/0.5141, allocations: 15.92 kB / 1.019 GB, free: 248 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.398e-05/0.5141, allocations: 4 kB / 1.019 GB, free: 244 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002824/0.5144, allocations: 191.7 kB / 1.019 GB, free: 52 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 4.812e-05/0.5145, allocations: 11.98 kB / 1.019 GB, free: 40 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.995e-05/0.5145, allocations: 19.86 kB / 1.019 GB, free: 20 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002647/0.5148, allocations: 175.7 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.5148, allocations: 0 / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of FrontEnd: time 8.42e-07/0.5148, allocations: 0 / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.5148, allocations: 0 / 1.02 GB, free: 15.85 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.0004831/0.5153, allocations: 437.1 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.5153, allocations: 8.031 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.251e-05/0.5154, allocations: 42.73 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.828e-05/0.5154, allocations: 4.844 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001146/0.5155, allocations: 184 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.5156, allocations: 4.375 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.256e-05/0.5156, allocations: 4.375 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001661/0.5157, allocations: 81.77 kB / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.64e-06/0.5158, allocations: 4 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.5158, allocations: 4 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.5158, allocations: 0 / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001068/0.5159, allocations: 47.97 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003316/0.5162, allocations: 272.9 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001123/0.5164, allocations: 62.48 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.244e-05/0.5164, allocations: 52.91 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.776e-06/0.5165, allocations: 0 / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.3e-05/0.5165, allocations: 34.56 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.5165, allocations: 0 / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0003548/0.5169, allocations: 175.3 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.955e-05/0.5169, allocations: 89.05 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.525e-05/0.517, allocations: 129.8 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.517, allocations: 29.7 kB / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.966e-05/0.5171, allocations: 88.12 kB / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.498e-05/0.5171, allocations: 11.84 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.793e-05/0.5171, allocations: 17.72 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.5172, allocations: 322.8 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.537e-05/0.5173, allocations: 55.97 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.721e-05/0.5174, allocations: 55.97 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002076/0.5177, allocations: 197.9 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.5177, allocations: 0 / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002651/0.5179, allocations: 220.9 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.943e-05/0.518, allocations: 63.41 kB / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.518, allocations: 0 / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.836e-06/0.518, allocations: 3.938 kB / 1.022 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.302e-05/0.5181, allocations: 7.984 kB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.5181, allocations: 0 / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.754e-05/0.5181, allocations: 11.94 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.165e-05/0.5182, allocations: 4 kB / 1.022 GB, free: 12.88 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 8.818e-05/0.5182, allocations: 151.5 kB / 1.022 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.894e-05/0.5183, allocations: 4 kB / 1.022 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.697e-05/0.5183, allocations: 3.906 kB / 1.022 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.5183, allocations: 0 / 1.022 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.5183, allocations: 0 / 1.022 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.724e-06/0.5183, allocations: 0 / 1.022 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001545/0.5185, allocations: 181.5 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.5185, allocations: 8 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.67e-05/0.5185, allocations: 3.984 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.5185, allocations: 4 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.737e-06/0.5185, allocations: 0 / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.5186, allocations: 0 / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.5186, allocations: 0 / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002604/0.5188, allocations: 253.1 kB / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.123e-05/0.5189, allocations: 81.25 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.707e-05/0.5189, allocations: 8.031 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.838e-05/0.519, allocations: 3.984 kB / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.103e-05/0.5191, allocations: 11.98 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.644e-06/0.5191, allocations: 4 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.828e-05/0.5191, allocations: 91.27 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5191, allocations: 4 kB / 1.023 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002926/0.5194, allocations: 63.98 kB / 1.023 GB, free: 11.91 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.0006447/0.5201, allocations: 0.8312 MB / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002963/0.5204, allocations: 238.7 kB / 1.024 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.5204, allocations: 7.938 kB / 1.024 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001096/0.5205, allocations: 103.3 kB / 1.024 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002044/0.5207, allocations: 12.64 kB / 1.024 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001616/0.5224, allocations: 1.75 MB / 1.026 GB, free: 8.812 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000226/0.5226, allocations: 0.6887 MB / 1.027 GB, free: 8.098 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.32e-05/0.5226, allocations: 0 / 1.027 GB, free: 8.098 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.648e-05/0.5226, allocations: 15.44 kB / 1.027 GB, free: 8.082 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.5227, allocations: 0 / 1.027 GB, free: 8.082 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2332/0.7558, allocations: 2.59 MB / 1.029 GB, free: 5.676 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002554/0.7561, allocations: 262.8 kB / 1.029 GB, free: 5.402 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.787/2.543, allocations: 0 / 1.029 GB, free: 5.402 MB / 0.7794 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.fmu > 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