Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.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.00134/0.00134, allocations: 118.6 kB / 17.16 MB, free: 5.914 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.001635/0.001635, allocations: 206.2 kB / 20.13 MB, free: 2.969 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.572/1.572, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.045/3.045, allocations: 0.5003 GB / 0.8026 GB, free: 6.77 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Controls.OBC.CDL.Reals.Validation.Average,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Average",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Average,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Average",fmuType="cs",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.002285/0.002285, allocations: 75.89 kB / 1.165 GB, free: 464 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.227/1.229, allocations: 179 MB / 1.34 GB, free: 16.24 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.002234/1.232, allocations: 0.6944 MB / 1.341 GB, free: 15.8 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001222/1.233, allocations: 0.8335 MB / 1.342 GB, free: 15.17 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.096e-05/1.233, allocations: 5.094 kB / 1.342 GB, free: 15.16 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.982e-05/1.233, allocations: 3.938 kB / 1.342 GB, free: 15.16 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.202e-05/1.233, allocations: 6.281 kB / 1.342 GB, free: 15.16 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 6.929e-05/1.233, allocations: 14.7 kB / 1.342 GB, free: 15.15 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001145/1.233, allocations: 46.72 kB / 1.342 GB, free: 15.12 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/1.233, allocations: 13.62 kB / 1.342 GB, free: 15.12 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 8.984e-05/1.233, allocations: 18.31 kB / 1.342 GB, free: 15.11 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.802e-05/1.234, allocations: 17.83 kB / 1.342 GB, free: 15.1 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.562e-05/1.234, allocations: 3.688 kB / 1.342 GB, free: 15.1 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.218e-05/1.234, allocations: 4.062 kB / 1.342 GB, free: 15.1 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.682e-05/1.234, allocations: 15.56 kB / 1.342 GB, free: 15.09 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.762e-05/1.234, allocations: 17.28 kB / 1.342 GB, free: 15.08 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001322/1.234, allocations: 42.41 kB / 1.342 GB, free: 15.06 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/1.234, allocations: 0 / 1.342 GB, free: 15.06 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.374e-06/1.234, allocations: 0 / 1.342 GB, free: 15.06 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.193e-06/1.234, allocations: 1.219 kB / 1.342 GB, free: 15.06 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005702/1.234, allocations: 368.5 kB / 1.342 GB, free: 14.69 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/1.234, allocations: 14.69 kB / 1.342 GB, free: 14.68 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.552e-05/1.234, allocations: 192 / 1.342 GB, free: 14.68 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.736e-05/1.234, allocations: 32.84 kB / 1.342 GB, free: 14.64 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.988e-05/1.234, allocations: 3.719 kB / 1.342 GB, free: 14.64 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001335/1.235, allocations: 172.6 kB / 1.342 GB, free: 14.44 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.005e-06/1.235, allocations: 384 / 1.342 GB, free: 14.44 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.386e-05/1.235, allocations: 1.969 kB / 1.342 GB, free: 14.44 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000265/1.235, allocations: 77.11 kB / 1.343 GB, free: 14.39 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/1.235, allocations: 4 kB / 1.343 GB, free: 14.39 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/1.235, allocations: 5.141 kB / 1.343 GB, free: 14.39 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/1.235, allocations: 4 kB / 1.343 GB, free: 14.38 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003031/1.235, allocations: 62.58 kB / 1.343 GB, free: 14.38 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003642/1.236, allocations: 275.1 kB / 1.343 GB, free: 14.09 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002087/1.236, allocations: 58.22 kB / 1.343 GB, free: 14.05 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001594/1.236, allocations: 37.45 kB / 1.343 GB, free: 14.04 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.74e-05/1.236, allocations: 0.7969 kB / 1.343 GB, free: 14.04 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.674e-05/1.236, allocations: 32.22 kB / 1.343 GB, free: 14 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/1.236, allocations: 4 kB / 1.343 GB, free: 14 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0005881/1.237, allocations: 127.4 kB / 1.343 GB, free: 13.95 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.011e-05/1.237, allocations: 52.06 kB / 1.343 GB, free: 13.89 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.589e-05/1.237, allocations: 106.7 kB / 1.343 GB, free: 13.79 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.185e-05/1.237, allocations: 28.56 kB / 1.343 GB, free: 13.75 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.066e-05/1.237, allocations: 93.81 kB / 1.343 GB, free: 13.66 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.235e-05/1.237, allocations: 13.8 kB / 1.343 GB, free: 13.65 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.168e-05/1.237, allocations: 13.73 kB / 1.343 GB, free: 13.63 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.714e-05/1.237, allocations: 321.6 kB / 1.344 GB, free: 13.31 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001544/1.237, allocations: 26.38 kB / 1.344 GB, free: 13.31 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001491/1.237, allocations: 35.44 kB / 1.344 GB, free: 13.3 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002833/1.237, allocations: 66.72 kB / 1.344 GB, free: 13.29 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/1.237, allocations: 0 / 1.344 GB, free: 13.29 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000327/1.238, allocations: 107 kB / 1.344 GB, free: 13.24 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/1.238, allocations: 8.719 kB / 1.344 GB, free: 13.23 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/1.238, allocations: 0 / 1.344 GB, free: 13.23 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.036e-05/1.238, allocations: 1.953 kB / 1.344 GB, free: 13.23 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001406/1.238, allocations: 14.02 kB / 1.344 GB, free: 13.23 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/1.238, allocations: 1.656 kB / 1.344 GB, free: 13.23 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.71e-05/1.238, allocations: 11.78 kB / 1.344 GB, free: 13.23 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-06/1.238, allocations: 1.406 kB / 1.344 GB, free: 13.23 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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.734e-05/1.238, allocations: 117.7 kB / 1.344 GB, free: 13.11 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.878e-05/1.238, allocations: 9.891 kB / 1.344 GB, free: 13.11 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.833e-05/1.238, allocations: 6.125 kB / 1.344 GB, free: 13.09 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/1.238, allocations: 1.375 kB / 1.344 GB, free: 13.09 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/1.238, allocations: 0.7969 kB / 1.344 GB, free: 13.09 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/1.238, allocations: 3.938 kB / 1.344 GB, free: 13.09 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001518/1.238, allocations: 170.8 kB / 1.344 GB, free: 12.89 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/1.238, allocations: 0.7031 kB / 1.344 GB, free: 12.89 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001009/1.238, allocations: 16.39 kB / 1.344 GB, free: 12.89 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/1.238, allocations: 0 / 1.344 GB, free: 12.89 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/1.238, allocations: 4 kB / 1.344 GB, free: 12.89 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/1.238, allocations: 5.312 kB / 1.344 GB, free: 12.88 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/1.238, allocations: 0.6094 kB / 1.344 GB, free: 12.88 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003615/1.239, allocations: 198.6 kB / 1.344 GB, free: 12.73 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.703e-05/1.239, allocations: 81.72 kB / 1.345 GB, free: 12.64 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.499e-05/1.239, allocations: 6.078 kB / 1.345 GB, free: 12.63 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/1.239, allocations: 15.45 kB / 1.345 GB, free: 12.63 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.68e-05/1.239, allocations: 4.25 kB / 1.345 GB, free: 12.63 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/1.239, allocations: 4 kB / 1.345 GB, free: 12.62 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.612e-05/1.239, allocations: 88.94 kB / 1.345 GB, free: 12.55 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.239, allocations: 0 / 1.345 GB, free: 12.55 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002131/1.239, allocations: 10.06 kB / 1.345 GB, free: 12.54 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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.0006345/1.24, allocations: 0.7307 MB / 1.345 GB, free: 11.87 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000397/1.24, allocations: 70.09 kB / 1.345 GB, free: 11.86 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/1.24, allocations: 0 / 1.345 GB, free: 11.86 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001671/1.24, allocations: 38.33 kB / 1.346 GB, free: 11.85 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003722/1.241, allocations: 7.125 kB / 1.346 GB, free: 11.85 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005265/1.241, allocations: 172.7 kB / 1.346 GB, free: 11.68 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001928/1.242, allocations: 0.6833 MB / 1.346 GB, free: 10.98 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.821e-05/1.242, allocations: 1.75 kB / 1.346 GB, free: 10.98 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.494e-05/1.242, allocations: 14.92 kB / 1.346 GB, free: 10.96 MB / 1.061 GB Notification: Performance of SimCode: time 3.71e-07/1.242, allocations: 0 / 1.346 GB, free: 10.96 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02003/1.262, allocations: 1.673 MB / 1.348 GB, free: 10.57 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.316/9.578, allocations: 13.53 kB / 1.348 GB, free: 10.56 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Average_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Average.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Average.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.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: 16.41397393902298]