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.001128/0.001128, allocations: 108 kB / 15.6 MB, free: 132 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.001166/0.001166, allocations: 192.7 kB / 16.53 MB, free: 6.391 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.28/1.28, allocations: 222.9 MB / 240.2 MB, free: 4.434 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.235/2.235, allocations: 390.3 MB / 0.6647 GB, free: 428 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 59.91 kB / 0.8127 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5148/0.516, allocations: 140.4 MB / 0.9497 GB, free: 9.062 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002051/0.5181, allocations: 1.421 MB / 0.9511 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009561/0.5191, allocations: 0.7818 MB / 0.9519 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.94e-05/0.5191, allocations: 0 / 0.9519 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.152e-05/0.5192, allocations: 1.344 kB / 0.9519 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.767e-05/0.5192, allocations: 5 kB / 0.9519 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005122/0.5197, allocations: 169.2 kB / 0.9521 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.891e-05/0.5198, allocations: 53.69 kB / 0.9521 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.817e-05/0.5199, allocations: 6.625 kB / 0.9521 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.069e-05/0.5199, allocations: 15.17 kB / 0.9521 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.195e-05/0.52, allocations: 17.27 kB / 0.9521 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.459e-05/0.52, allocations: 4.25 kB / 0.9522 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002689/0.5203, allocations: 198.6 kB / 0.9523 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.723e-05/0.5203, allocations: 11.8 kB / 0.9524 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.976e-05/0.5204, allocations: 21.56 kB / 0.9524 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002276/0.5206, allocations: 195.2 kB / 0.9526 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.5206, allocations: 0 / 0.9526 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.102e-06/0.5206, allocations: 0 / 0.9526 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.5206, allocations: 0 / 0.9526 GB, free: 6.93 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.0003588/0.521, allocations: 438.2 kB / 0.953 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.521, allocations: 9.125 kB / 0.953 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.081e-05/0.5211, allocations: 32.09 kB / 0.953 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.844e-05/0.5211, allocations: 7.75 kB / 0.953 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.379e-05/0.5212, allocations: 175 kB / 0.9532 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.5212, allocations: 5.906 kB / 0.9532 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.272e-05/0.5212, allocations: 6.75 kB / 0.9532 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001548/0.5213, allocations: 74.25 kB / 0.9533 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.5214, allocations: 0 / 0.9533 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.148e-06/0.5214, allocations: 5.453 kB / 0.9533 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.5214, allocations: 0 / 0.9533 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001029/0.5215, allocations: 45.22 kB / 0.9533 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002818/0.5218, allocations: 286.6 kB / 0.9536 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001004/0.5219, allocations: 57.48 kB / 0.9537 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.942e-05/0.522, allocations: 51.06 kB / 0.9537 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.939e-06/0.522, allocations: 0 / 0.9537 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.452e-05/0.522, allocations: 31.41 kB / 0.9537 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.522, allocations: 5.094 kB / 0.9537 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0003355/0.5224, allocations: 185 kB / 0.9539 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.25e-05/0.5224, allocations: 82.36 kB / 0.954 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.412e-05/0.5225, allocations: 119.1 kB / 0.9541 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.018e-05/0.5225, allocations: 30.8 kB / 0.9541 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.517e-05/0.5225, allocations: 90.09 kB / 0.9542 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.331e-05/0.5225, allocations: 14.2 kB / 0.9542 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.583e-05/0.5226, allocations: 16.31 kB / 0.9542 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.496e-05/0.5226, allocations: 329 kB / 0.9546 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.54e-05/0.5227, allocations: 56.22 kB / 0.9546 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.594e-05/0.5228, allocations: 60.92 kB / 0.9547 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001911/0.523, allocations: 193.2 kB / 0.9549 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.523, allocations: 0 / 0.9549 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002386/0.5233, allocations: 217.4 kB / 0.9551 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.397e-05/0.5233, allocations: 63.94 kB / 0.9551 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.5233, allocations: 7.984 kB / 0.9551 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.5233, allocations: 1.25 kB / 0.9551 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.067e-05/0.5234, allocations: 2.25 kB / 0.9551 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.5234, allocations: 1.188 kB / 0.9551 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.769e-05/0.5234, allocations: 12.34 kB / 0.9551 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.5235, allocations: 2.125 kB / 0.9552 GB, free: 4.504 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.579e-05/0.5235, allocations: 151.4 kB / 0.9553 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.834e-05/0.5236, allocations: 2.25 kB / 0.9553 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.586e-05/0.5236, allocations: 10.25 kB / 0.9553 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.5236, allocations: 3.984 kB / 0.9553 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.5236, allocations: 4.938 kB / 0.9553 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.853e-06/0.5236, allocations: 0 / 0.9553 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001131/0.5237, allocations: 174.9 kB / 0.9555 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.5237, allocations: 0 / 0.9555 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.854e-05/0.5238, allocations: 3.625 kB / 0.9555 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.5238, allocations: 0 / 0.9555 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.946e-06/0.5238, allocations: 1.312 kB / 0.9555 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.5238, allocations: 1.062 kB / 0.9555 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.5238, allocations: 0 / 0.9555 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002156/0.524, allocations: 263.5 kB / 0.9557 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.467e-05/0.524, allocations: 78.14 kB / 0.9558 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.763e-05/0.5241, allocations: 6.266 kB / 0.9558 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.041e-05/0.5241, allocations: 3.781 kB / 0.9558 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.836e-05/0.5242, allocations: 6.172 kB / 0.9558 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/0.5242, allocations: 10.09 kB / 0.9558 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.735e-05/0.5243, allocations: 103.5 kB / 0.9559 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5243, allocations: 0 / 0.9559 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003102/0.5246, allocations: 60.66 kB / 0.956 GB, free: 3.684 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.0005021/0.5251, allocations: 0.8353 MB / 0.9568 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002585/0.5254, allocations: 245.4 kB / 0.957 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.5254, allocations: 0 / 0.957 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.012e-05/0.5255, allocations: 100 kB / 0.9571 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002102/0.5257, allocations: 11.16 kB / 0.9572 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001339/0.5271, allocations: 1.751 MB / 0.9589 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.823e-05/0.5272, allocations: 0.6941 MB / 0.9595 GB, free: 488 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.306e-05/0.5272, allocations: 3.938 kB / 0.9595 GB, free: 484 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.469e-05/0.5272, allocations: 21.38 kB / 0.9596 GB, free: 464 kB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.5272, allocations: 0 / 0.9596 GB, free: 464 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2946/0.8218, allocations: 2.781 MB / 0.9623 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.015/8.837, allocations: 9.125 kB / 0.9623 GB, free: 15.01 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