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.001159/0.001159, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001262/0.001262, allocations: 197.9 kB / 16.14 MB, free: 6.719 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.286/1.286, allocations: 222.9 MB / 239.8 MB, free: 4.637 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.111/2.111, allocations: 390.2 MB / 0.6643 GB, free: 0.6367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002106/0.002106, allocations: 67.89 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5208/0.5229, allocations: 140.3 MB / 0.949 GB, free: 9.191 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002264/0.5252, allocations: 1.497 MB / 0.9505 GB, free: 8.012 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001048/0.5263, allocations: 0.8176 MB / 0.9513 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.728e-05/0.5263, allocations: 3.938 kB / 0.9513 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.682e-05/0.5264, allocations: 0 / 0.9513 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.853e-05/0.5264, allocations: 1.375 kB / 0.9513 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004783/0.5269, allocations: 134.2 kB / 0.9514 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.448e-05/0.527, allocations: 40.75 kB / 0.9515 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.841e-05/0.5271, allocations: 3.344 kB / 0.9515 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.256e-05/0.5271, allocations: 17.3 kB / 0.9515 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.071e-05/0.5271, allocations: 17.5 kB / 0.9515 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.364e-05/0.5272, allocations: 2.969 kB / 0.9515 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002887/0.5275, allocations: 185.6 kB / 0.9517 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.936e-05/0.5275, allocations: 8.938 kB / 0.9517 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.458e-05/0.5275, allocations: 20.17 kB / 0.9517 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000242/0.5278, allocations: 192.7 kB / 0.9519 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.5278, allocations: 4 kB / 0.9519 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.82e-07/0.5278, allocations: 1.031 kB / 0.9519 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.126e-06/0.5278, allocations: 0 / 0.9519 GB, free: 7.02 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.0003706/0.5282, allocations: 432.5 kB / 0.9523 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.5282, allocations: 9.312 kB / 0.9523 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.212e-05/0.5283, allocations: 32.25 kB / 0.9524 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.955e-05/0.5283, allocations: 10.77 kB / 0.9524 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.381e-05/0.5284, allocations: 171.8 kB / 0.9525 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.5284, allocations: 1.688 kB / 0.9525 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.347e-05/0.5284, allocations: 10.53 kB / 0.9526 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001638/0.5286, allocations: 77.91 kB / 0.9526 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.5286, allocations: 3.938 kB / 0.9526 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.5286, allocations: 1.344 kB / 0.9526 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.5286, allocations: 3.938 kB / 0.9526 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001053/0.5287, allocations: 45.38 kB / 0.9527 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000293/0.529, allocations: 282.8 kB / 0.9529 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001009/0.5291, allocations: 58.02 kB / 0.953 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.685e-05/0.5292, allocations: 42.42 kB / 0.953 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.049e-05/0.5292, allocations: 0 / 0.953 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.683e-05/0.5293, allocations: 39.45 kB / 0.9531 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.5293, allocations: 0 / 0.9531 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0003427/0.5296, allocations: 186 kB / 0.9533 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.904e-05/0.5296, allocations: 78.67 kB / 0.9533 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.983e-05/0.5297, allocations: 127.4 kB / 0.9535 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.118e-05/0.5297, allocations: 26.89 kB / 0.9535 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.729e-05/0.5298, allocations: 89.36 kB / 0.9536 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.283e-05/0.5298, allocations: 10.27 kB / 0.9536 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.99e-05/0.5298, allocations: 25.16 kB / 0.9536 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.636e-05/0.5299, allocations: 320.2 kB / 0.9539 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.591e-05/0.53, allocations: 67.8 kB / 0.954 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.402e-05/0.5301, allocations: 56.69 kB / 0.954 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000185/0.5303, allocations: 197.5 kB / 0.9542 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.5303, allocations: 0.9688 kB / 0.9542 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002429/0.5305, allocations: 212.5 kB / 0.9544 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.351e-05/0.5306, allocations: 64.3 kB / 0.9545 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.5306, allocations: 0 / 0.9545 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.5306, allocations: 1.062 kB / 0.9545 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.613e-05/0.5306, allocations: 6.125 kB / 0.9545 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.5307, allocations: 4.953 kB / 0.9545 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.03e-05/0.5307, allocations: 13.38 kB / 0.9545 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.182e-05/0.5307, allocations: 1.375 kB / 0.9545 GB, free: 4.598 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 7.841e-05/0.5308, allocations: 152 kB / 0.9546 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.944e-05/0.5309, allocations: 6.703 kB / 0.9547 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.735e-05/0.5309, allocations: 12.98 kB / 0.9547 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.5309, allocations: 1.219 kB / 0.9547 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.227e-06/0.5309, allocations: 7.938 kB / 0.9547 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.5309, allocations: 0 / 0.9547 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001167/0.531, allocations: 175.7 kB / 0.9548 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.531, allocations: 0 / 0.9548 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.775e-05/0.5311, allocations: 2.594 kB / 0.9548 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.5311, allocations: 1.188 kB / 0.9548 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.5311, allocations: 5.172 kB / 0.9549 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.5311, allocations: 0 / 0.9549 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.5311, allocations: 1.344 kB / 0.9549 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000235/0.5313, allocations: 250.8 kB / 0.9551 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.632e-05/0.5314, allocations: 82.11 kB / 0.9552 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.829e-05/0.5314, allocations: 2.125 kB / 0.9552 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.124e-05/0.5315, allocations: 7.078 kB / 0.9552 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.637e-05/0.5315, allocations: 3.156 kB / 0.9552 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.276e-06/0.5316, allocations: 5.5 kB / 0.9552 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.951e-05/0.5316, allocations: 103.5 kB / 0.9553 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5316, allocations: 0 / 0.9553 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003241/0.5319, allocations: 68.27 kB / 0.9554 GB, free: 3.773 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.0005285/0.5325, allocations: 0.8204 MB / 0.9562 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002683/0.5328, allocations: 236.5 kB / 0.9564 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.5328, allocations: 4.031 kB / 0.9564 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001026/0.5329, allocations: 107.1 kB / 0.9565 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002154/0.5331, allocations: 5.141 kB / 0.9565 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001372/0.5345, allocations: 1.762 MB / 0.9582 GB, free: 1.281 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.363e-05/0.5346, allocations: 0.6866 MB / 0.9589 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.628e-05/0.5346, allocations: 5.312 kB / 0.9589 GB, free: 0.5742 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.505e-05/0.5346, allocations: 15.42 kB / 0.9589 GB, free: 0.5586 MB / 0.7169 GB Notification: Performance of SimCode: time 4.61e-07/0.5346, allocations: 1.281 kB / 0.9589 GB, free: 0.5586 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1337/0.6684, allocations: 2.579 MB / 0.9614 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002234/0.6687, allocations: 235.7 kB / 0.9616 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.674/2.343, allocations: 2.031 kB / 0.9616 GB, free: 15.05 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