Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0007754/0.0007754, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008525/0.0008525, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8603/0.8603, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.633/1.633, allocations: 359 MB / 0.6037 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.9505 GB, free: 3.496 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.65e-05/1.815e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.492 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.001722/0.00174, allocations: 1.472 MB / 0.9519 GB, free: 2.004 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0009381/0.002678, allocations: 0.7796 MB / 0.9527 GB, free: 1.219 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.869e-05/0.002707, allocations: 0 / 0.9527 GB, free: 1.219 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 6.926e-05/0.002776, allocations: 7.938 kB / 0.9527 GB, free: 1.211 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 4.791e-05/0.002824, allocations: 7.938 kB / 0.9527 GB, free: 1.203 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005181/0.003342, allocations: 181 kB / 0.9529 GB, free: 1.027 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 9.901e-05/0.003441, allocations: 43.91 kB / 0.9529 GB, free: 0.9844 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 7.066e-05/0.003512, allocations: 4 kB / 0.9529 GB, free: 0.9805 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 4.761e-05/0.003559, allocations: 23.97 kB / 0.953 GB, free: 0.957 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.357e-05/0.003603, allocations: 15.97 kB / 0.953 GB, free: 0.9414 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.297e-05/0.003616, allocations: 4 kB / 0.953 GB, free: 0.9375 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002459/0.003862, allocations: 219.6 kB / 0.9532 GB, free: 0.7227 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 4.05e-05/0.003902, allocations: 7.938 kB / 0.9532 GB, free: 0.7148 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.965e-05/0.003932, allocations: 15.92 kB / 0.9532 GB, free: 0.6992 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002235/0.004155, allocations: 227.5 kB / 0.9534 GB, free: 488 kB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.983e-06/0.004157, allocations: 0 / 0.9534 GB, free: 488 kB / 0.9011 GB Notification: Performance of FrontEnd: time 8.91e-07/0.004158, allocations: 0 / 0.9534 GB, free: 488 kB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.647e-06/0.004162, allocations: 7.938 kB / 0.9534 GB, free: 480 kB / 0.9011 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.0003552/0.004517, allocations: 349.4 kB / 0.9538 GB, free: 88 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.004553, allocations: 12.03 kB / 0.9538 GB, free: 76 kB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.362e-05/0.004576, allocations: 34.75 kB / 0.9538 GB, free: 32 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.669e-05/0.004603, allocations: 16.83 kB / 0.9538 GB, free: 16 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.918e-05/0.004692, allocations: 121.7 kB / 0.9539 GB, free: 15.87 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.809e-06/0.004702, allocations: 384 / 0.9539 GB, free: 15.87 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.003e-05/0.004712, allocations: 4.375 kB / 0.954 GB, free: 15.87 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001388/0.004851, allocations: 107.9 kB / 0.9541 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.211e-06/0.004857, allocations: 192 / 0.9541 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.759e-06/0.004867, allocations: 8.125 kB / 0.9541 GB, free: 15.74 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.127e-06/0.004871, allocations: 0 / 0.9541 GB, free: 15.74 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.979e-05/0.004941, allocations: 73.66 kB / 0.9541 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002881/0.005229, allocations: 240 kB / 0.9544 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 8.232e-05/0.005311, allocations: 84.25 kB / 0.9544 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.752e-05/0.005369, allocations: 78.55 kB / 0.9545 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.429e-05/0.005383, allocations: 7.938 kB / 0.9545 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.887e-05/0.005402, allocations: 30.56 kB / 0.9546 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=3): time 7.91e-07/0.005403, allocations: 0 / 0.9546 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of matching and sorting (n=3): time 0.0002556/0.005658, allocations: 242.8 kB / 0.9548 GB, free: 14.89 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.442e-05/0.005693, allocations: 85.09 kB / 0.9549 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.82e-05/0.005761, allocations: 121.8 kB / 0.955 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.122e-05/0.005772, allocations: 29.73 kB / 0.955 GB, free: 14.63 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.634e-05/0.005809, allocations: 92.12 kB / 0.9551 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.215e-05/0.005821, allocations: 7.891 kB / 0.9551 GB, free: 14.53 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.139e-05/0.005852, allocations: 25.66 kB / 0.9551 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.309e-05/0.005925, allocations: 322.8 kB / 0.9554 GB, free: 14.17 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.534e-05/0.006001, allocations: 111.4 kB / 0.9555 GB, free: 14.05 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.027e-05/0.006071, allocations: 123.3 kB / 0.9557 GB, free: 13.92 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000127/0.006198, allocations: 198 kB / 0.9559 GB, free: 13.7 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.006201, allocations: 4 kB / 0.9559 GB, free: 13.7 MB / 0.9167 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001815/0.006382, allocations: 292.4 kB / 0.9561 GB, free: 13.38 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001068/0.006489, allocations: 65.73 kB / 0.9562 GB, free: 13.31 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.006493, allocations: 0 / 0.9562 GB, free: 13.31 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.021e-05/0.006503, allocations: 0 / 0.9562 GB, free: 13.31 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.614e-05/0.006549, allocations: 4 kB / 0.9562 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.006553, allocations: 0 / 0.9562 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.445e-05/0.006578, allocations: 7.984 kB / 0.9562 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.006586, allocations: 4 kB / 0.9562 GB, free: 13.29 MB / 0.9167 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.48e-05/0.006661, allocations: 151.5 kB / 0.9564 GB, free: 13.13 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.441e-05/0.006675, allocations: 11.89 kB / 0.9564 GB, free: 13.12 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.093e-05/0.006696, allocations: 12 kB / 0.9564 GB, free: 13.1 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.006698, allocations: 0 / 0.9564 GB, free: 13.1 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/0.006702, allocations: 0 / 0.9564 GB, free: 13.1 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.006705, allocations: 0 / 0.9564 GB, free: 13.1 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001041/0.006809, allocations: 136.7 kB / 0.9565 GB, free: 12.92 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.00681, allocations: 7.875 kB / 0.9565 GB, free: 12.91 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.166e-05/0.006822, allocations: 0 / 0.9565 GB, free: 12.91 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.006825, allocations: 4 kB / 0.9565 GB, free: 12.91 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.006832, allocations: 0 / 0.9565 GB, free: 12.91 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.61e-07/0.006832, allocations: 0 / 0.9565 GB, free: 12.91 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-07/0.006833, allocations: 4 kB / 0.9565 GB, free: 12.91 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001733/0.007006, allocations: 278.8 kB / 0.9568 GB, free: 12.61 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.276e-05/0.007019, allocations: 7.938 kB / 0.9568 GB, free: 12.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.193e-05/0.007031, allocations: 0 / 0.9568 GB, free: 12.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.566e-05/0.007067, allocations: 11.98 kB / 0.9568 GB, free: 12.59 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.677e-05/0.007143, allocations: 7.938 kB / 0.9568 GB, free: 12.58 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.007147, allocations: 0 / 0.9568 GB, free: 12.58 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.789e-05/0.007185, allocations: 99.2 kB / 0.9569 GB, free: 12.48 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.007185, allocations: 0 / 0.9569 GB, free: 12.48 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001983/0.007384, allocations: 63.86 kB / 0.957 GB, free: 12.42 MB / 0.9167 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.0004655/0.007849, allocations: 0.8719 MB / 0.9578 GB, free: 11.51 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002395/0.008089, allocations: 323.8 kB / 0.9581 GB, free: 11.15 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.00809, allocations: 0 / 0.9581 GB, free: 11.15 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 7.257e-05/0.008163, allocations: 133.1 kB / 0.9583 GB, free: 11 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001555/0.008318, allocations: 0 / 0.9583 GB, free: 11 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001309/0.009628, allocations: 2.061 MB / 0.9603 GB, free: 8.793 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.502e-05/0.009683, allocations: 71.33 kB / 0.9603 GB, free: 8.703 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 1.77e-05/0.009701, allocations: 0 / 0.9603 GB, free: 8.703 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.29e-05/0.009733, allocations: 16.5 kB / 0.9604 GB, free: 8.688 MB / 0.9167 GB Notification: Performance of SimCode: time 6.01e-07/0.009734, allocations: 0 / 0.9604 GB, free: 8.688 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0182/0.02794, allocations: 3.452 MB / 0.9637 GB, free: 5.426 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.881/6.909, allocations: 6.953 kB / 0.9637 GB, free: 5.422 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.fmu > Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 10.885814771987498]