Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002245/0.002245, allocations: 105 kB / 16.45 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002425/0.002425, allocations: 212.9 kB / 19.43 MB, free: 3.637 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.437/1.437, allocations: 230.6 MB / 252.8 MB, free: 9.133 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.062/3.062, allocations: 0.49 GB / 0.7916 GB, free: 33.48 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="Buildings_12_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="Buildings_12_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 70.88 kB / 1.149 GB, free: 26.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.369/0.371, allocations: 176.1 MB / 1.321 GB, free: 3.305 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002853/0.3738, allocations: 1.45 MB / 1.322 GB, free: 1.848 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001485/0.3753, allocations: 0.8376 MB / 1.323 GB, free: 1.004 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.092e-05/0.3754, allocations: 3.938 kB / 1.323 GB, free: 1 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 6.65e-05/0.3754, allocations: 0 / 1.323 GB, free: 1 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.149e-05/0.3755, allocations: 11.92 kB / 1.323 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006522/0.3761, allocations: 163.9 kB / 1.323 GB, free: 0.8281 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001196/0.3762, allocations: 55.91 kB / 1.323 GB, free: 0.7734 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 8.152e-05/0.3763, allocations: 11.88 kB / 1.323 GB, free: 0.7617 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 4.634e-05/0.3764, allocations: 15.97 kB / 1.323 GB, free: 0.7461 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.623e-05/0.3764, allocations: 19.92 kB / 1.323 GB, free: 0.7266 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.671e-05/0.3764, allocations: 4 kB / 1.323 GB, free: 0.7227 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003346/0.3768, allocations: 203.7 kB / 1.324 GB, free: 0.5234 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.908e-05/0.3768, allocations: 11.97 kB / 1.324 GB, free: 0.5117 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.631e-05/0.3769, allocations: 19.88 kB / 1.324 GB, free: 0.4922 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002783/0.3772, allocations: 199.4 kB / 1.324 GB, free: 304 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.3772, allocations: 0 / 1.324 GB, free: 304 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3772, allocations: 0 / 1.324 GB, free: 304 kB / 1.014 GB Notification: Performance of Transformations before backend: time 5.249e-06/0.3772, allocations: 4 kB / 1.324 GB, free: 300 kB / 1.014 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.000568/0.3777, allocations: 434.5 kB / 1.324 GB, free: 15.81 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.3778, allocations: 11.98 kB / 1.324 GB, free: 15.8 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.834e-05/0.3778, allocations: 38.69 kB / 1.324 GB, free: 15.75 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.183e-05/0.3778, allocations: 4.891 kB / 1.324 GB, free: 15.75 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001404/0.378, allocations: 168.3 kB / 1.324 GB, free: 15.54 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.756e-06/0.378, allocations: 384 / 1.324 GB, free: 15.54 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.518e-05/0.378, allocations: 4.375 kB / 1.324 GB, free: 15.54 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001917/0.3782, allocations: 85.78 kB / 1.324 GB, free: 15.45 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.3782, allocations: 0 / 1.324 GB, free: 15.45 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.3782, allocations: 4 kB / 1.324 GB, free: 15.45 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.3782, allocations: 0 / 1.324 GB, free: 15.45 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001194/0.3783, allocations: 47.95 kB / 1.325 GB, free: 15.4 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000419/0.3788, allocations: 280.8 kB / 1.325 GB, free: 15.07 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001191/0.3789, allocations: 54.55 kB / 1.325 GB, free: 15.01 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.208e-05/0.379, allocations: 48.91 kB / 1.325 GB, free: 14.96 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.257e-05/0.379, allocations: 0 / 1.325 GB, free: 14.96 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/0.379, allocations: 34.56 kB / 1.325 GB, free: 14.92 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.379, allocations: 0 / 1.325 GB, free: 14.92 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0004189/0.3794, allocations: 183.4 kB / 1.325 GB, free: 14.73 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.851e-05/0.3795, allocations: 85.11 kB / 1.325 GB, free: 14.62 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001134/0.3796, allocations: 137.7 kB / 1.325 GB, free: 14.48 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/0.3796, allocations: 25.7 kB / 1.325 GB, free: 14.45 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.675e-05/0.3797, allocations: 88.14 kB / 1.325 GB, free: 14.36 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.711e-05/0.3797, allocations: 3.953 kB / 1.325 GB, free: 14.36 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.004e-05/0.3798, allocations: 25.7 kB / 1.325 GB, free: 14.32 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001623/0.3799, allocations: 318.8 kB / 1.326 GB, free: 14 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001131/0.38, allocations: 63.95 kB / 1.326 GB, free: 13.94 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.915e-05/0.3801, allocations: 59.95 kB / 1.326 GB, free: 13.88 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002429/0.3804, allocations: 197.9 kB / 1.326 GB, free: 13.67 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.3804, allocations: 0 / 1.326 GB, free: 13.67 MB / 1.029 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003029/0.3807, allocations: 220.9 kB / 1.326 GB, free: 13.43 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.678e-05/0.3807, allocations: 63.41 kB / 1.326 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.3807, allocations: 0 / 1.326 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.3808, allocations: 0 / 1.326 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.243e-05/0.3808, allocations: 7.984 kB / 1.326 GB, free: 13.35 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.3808, allocations: 0 / 1.326 GB, free: 13.35 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.064e-05/0.3809, allocations: 11.94 kB / 1.326 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.245e-05/0.3809, allocations: 4 kB / 1.326 GB, free: 13.34 MB / 1.029 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 0.0001192/0.381, allocations: 155.4 kB / 1.326 GB, free: 13.17 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.013e-05/0.381, allocations: 7.953 kB / 1.327 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.36e-05/0.3811, allocations: 3.906 kB / 1.327 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.3811, allocations: 0 / 1.327 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.3811, allocations: 0 / 1.327 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.3811, allocations: 0 / 1.327 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001887/0.3813, allocations: 181.6 kB / 1.327 GB, free: 12.92 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.3813, allocations: 4 kB / 1.327 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.117e-05/0.3813, allocations: 3.984 kB / 1.327 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.3813, allocations: 4 kB / 1.327 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.3813, allocations: 0 / 1.327 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.3813, allocations: 0 / 1.327 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3813, allocations: 64 / 1.327 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003023/0.3816, allocations: 257.1 kB / 1.327 GB, free: 12.63 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.232e-05/0.3816, allocations: 81.06 kB / 1.327 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.116e-05/0.3817, allocations: 12.02 kB / 1.327 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.8e-05/0.3817, allocations: 0 / 1.327 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.86e-05/0.3818, allocations: 11.94 kB / 1.327 GB, free: 12.51 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.266e-06/0.3818, allocations: 4 kB / 1.327 GB, free: 12.51 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.278e-05/0.3819, allocations: 95.25 kB / 1.327 GB, free: 12.41 MB / 1.029 GB Notification: Performance of sort global known variables: time 5e-08/0.3819, allocations: 0 / 1.327 GB, free: 12.41 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003041/0.3822, allocations: 63.88 kB / 1.327 GB, free: 12.35 MB / 1.029 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.0007691/0.383, allocations: 0.8372 MB / 1.328 GB, free: 11.48 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003581/0.3833, allocations: 234.7 kB / 1.328 GB, free: 11.23 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.3833, allocations: 0 / 1.328 GB, free: 11.23 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001272/0.3834, allocations: 95.38 kB / 1.328 GB, free: 11.12 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002146/0.3837, allocations: 8.094 kB / 1.328 GB, free: 11.12 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001936/0.3856, allocations: 1.759 MB / 1.33 GB, free: 9.266 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003093/0.3859, allocations: 0.6962 MB / 1.331 GB, free: 8.543 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.766e-05/0.3859, allocations: 0 / 1.331 GB, free: 8.543 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.612e-05/0.386, allocations: 14.25 kB / 1.331 GB, free: 8.531 MB / 1.029 GB Notification: Performance of SimCode: time 2.91e-07/0.386, allocations: 0 / 1.331 GB, free: 8.531 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0256/0.4116, allocations: 2.794 MB / 1.333 GB, free: 5.91 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.22/8.632, allocations: 8.281 kB / 1.333 GB, free: 5.906 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.fmu > Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.066638494143263]