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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.007507/0.007507, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001724/0.001724, allocations: 192.2 kB / 16.67 MB, free: 5.523 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.302/1.302, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.282/2.282, allocations: 437 MB / 0.7105 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 72.02 kB / 1.018 GB, free: 9.902 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7449/0.7461, allocations: 151.6 MB / 1.166 GB, free: 3.812 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002585/0.7487, allocations: 1.447 MB / 1.168 GB, free: 2.359 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001274/0.75, allocations: 0.7801 MB / 1.168 GB, free: 1.57 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.368e-05/0.7501, allocations: 0 / 1.168 GB, free: 1.57 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 6.47e-05/0.7502, allocations: 0 / 1.168 GB, free: 1.57 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.908e-05/0.7502, allocations: 7.922 kB / 1.168 GB, free: 1.562 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006838/0.7509, allocations: 173 kB / 1.169 GB, free: 1.395 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001141/0.751, allocations: 47.84 kB / 1.169 GB, free: 1.348 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 7.72e-05/0.7511, allocations: 8 kB / 1.169 GB, free: 1.34 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 4.282e-05/0.7512, allocations: 15.97 kB / 1.169 GB, free: 1.324 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.087e-05/0.7512, allocations: 23.92 kB / 1.169 GB, free: 1.301 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.553e-05/0.7513, allocations: 4 kB / 1.169 GB, free: 1.297 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003405/0.7516, allocations: 199.7 kB / 1.169 GB, free: 1.102 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.677e-05/0.7517, allocations: 15.92 kB / 1.169 GB, free: 1.086 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.812e-05/0.7517, allocations: 15.92 kB / 1.169 GB, free: 1.07 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003046/0.752, allocations: 193.8 kB / 1.169 GB, free: 0.8828 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.752, allocations: 4 kB / 1.169 GB, free: 0.8789 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.573e-06/0.752, allocations: 0 / 1.169 GB, free: 0.8789 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.592e-06/0.752, allocations: 0 / 1.169 GB, free: 0.8789 MB / 0.8887 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.0004983/0.7525, allocations: 434.6 kB / 1.169 GB, free: 404 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.7526, allocations: 16.92 kB / 1.169 GB, free: 388 kB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.068e-05/0.7526, allocations: 34.75 kB / 1.169 GB, free: 344 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.227e-05/0.7527, allocations: 4.938 kB / 1.169 GB, free: 340 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.7528, allocations: 172.2 kB / 1.17 GB, free: 128 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.7528, allocations: 384 / 1.17 GB, free: 128 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.612e-05/0.7528, allocations: 4.375 kB / 1.17 GB, free: 124 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001808/0.753, allocations: 77.78 kB / 1.17 GB, free: 40 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.752e-06/0.753, allocations: 0 / 1.17 GB, free: 40 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.753, allocations: 4 kB / 1.17 GB, free: 36 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.7531, allocations: 7.938 kB / 1.17 GB, free: 28 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001288/0.7532, allocations: 47.91 kB / 1.17 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003713/0.7536, allocations: 276.9 kB / 1.17 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001152/0.7537, allocations: 58.55 kB / 1.17 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.2e-05/0.7538, allocations: 44.91 kB / 1.17 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 7.845e-06/0.7538, allocations: 0 / 1.17 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.966e-05/0.7538, allocations: 34.56 kB / 1.17 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.7538, allocations: 0 / 1.17 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3): time 0.0003707/0.7542, allocations: 191.3 kB / 1.17 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.227e-05/0.7543, allocations: 81.11 kB / 1.17 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.838e-05/0.7544, allocations: 125.8 kB / 1.171 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.348e-05/0.7544, allocations: 25.7 kB / 1.171 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.218e-05/0.7544, allocations: 88.17 kB / 1.171 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.427e-05/0.7545, allocations: 7.906 kB / 1.171 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.487e-05/0.7545, allocations: 21.72 kB / 1.171 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.7546, allocations: 318.8 kB / 1.171 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.695e-05/0.7547, allocations: 55.97 kB / 1.171 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.88e-05/0.7548, allocations: 63.95 kB / 1.171 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002109/0.755, allocations: 189.9 kB / 1.171 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.7551, allocations: 8 kB / 1.171 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002673/0.7553, allocations: 229 kB / 1.172 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 5.215e-05/0.7554, allocations: 67.39 kB / 1.172 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.7554, allocations: 0 / 1.172 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.7554, allocations: 0 / 1.172 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.62e-05/0.7555, allocations: 4 kB / 1.172 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.7555, allocations: 0 / 1.172 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.488e-05/0.7555, allocations: 7.938 kB / 1.172 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.231e-05/0.7556, allocations: 3.984 kB / 1.172 GB, free: 13.93 MB / 0.9044 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 9.915e-05/0.7557, allocations: 155.5 kB / 1.172 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.959e-05/0.7557, allocations: 7.906 kB / 1.172 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.685e-05/0.7557, allocations: 15.89 kB / 1.172 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.7557, allocations: 0 / 1.172 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.7557, allocations: 3.938 kB / 1.172 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.7558, allocations: 0 / 1.172 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001538/0.7559, allocations: 169.6 kB / 1.172 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.7559, allocations: 0 / 1.172 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.828e-05/0.756, allocations: 4 kB / 1.172 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.756, allocations: 0 / 1.172 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.756, allocations: 15.94 kB / 1.172 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.756, allocations: 0 / 1.172 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.756, allocations: 0 / 1.172 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002647/0.7563, allocations: 245 kB / 1.172 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.352e-05/0.7563, allocations: 85.09 kB / 1.172 GB, free: 13.13 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.58e-05/0.7563, allocations: 0 / 1.172 GB, free: 13.13 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.665e-05/0.7564, allocations: 4 kB / 1.172 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001225/0.7565, allocations: 16.02 kB / 1.172 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/0.7565, allocations: 0 / 1.172 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.814e-05/0.7566, allocations: 99.64 kB / 1.172 GB, free: 13.01 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7566, allocations: 0 / 1.172 GB, free: 13.01 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003132/0.7569, allocations: 56 kB / 1.172 GB, free: 12.96 MB / 0.9044 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.0006807/0.7576, allocations: 0.835 MB / 1.173 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000307/0.7579, allocations: 242.7 kB / 1.173 GB, free: 11.83 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.7579, allocations: 0 / 1.173 GB, free: 11.83 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001154/0.7581, allocations: 103.4 kB / 1.174 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002082/0.7583, allocations: 4 kB / 1.174 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001693/0.76, allocations: 1.766 MB / 1.175 GB, free: 9.855 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002263/0.7602, allocations: 0.6885 MB / 1.176 GB, free: 9.141 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 1.731e-05/0.7603, allocations: 3.938 kB / 1.176 GB, free: 9.137 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.11e-05/0.7603, allocations: 15.42 kB / 1.176 GB, free: 9.121 MB / 0.9044 GB Notification: Performance of SimCode: time 4.21e-07/0.7603, allocations: 0 / 1.176 GB, free: 9.121 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01934/0.7796, allocations: 2.816 MB / 1.179 GB, free: 6.484 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.442/8.221, allocations: 8.141 kB / 1.179 GB, free: 6.477 MB / 0.9044 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