Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.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.001853/0.001853, 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.002296/0.002296, 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.56/1.56, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.79/2.79, allocations: 476.7 MB / 0.7678 GB, free: 9.359 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.Controls.OBC.CDL.Reals.Validation.Max,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Max",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Max,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Max",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.002246/0.002246, allocations: 71.89 kB / 1.113 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9229/0.9252, allocations: 169.9 MB / 1.279 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.002445/0.9276, allocations: 0.7156 MB / 1.28 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001298/0.9289, allocations: 0.8395 MB / 1.281 GB, free: 10.65 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.35e-05/0.9289, allocations: 1.094 kB / 1.281 GB, free: 10.65 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.471e-05/0.929, allocations: 3.938 kB / 1.281 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.263e-05/0.9291, allocations: 10.92 kB / 1.281 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001147/0.9292, allocations: 9.781 kB / 1.281 GB, free: 10.63 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001054/0.9293, allocations: 46.84 kB / 1.281 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.9294, allocations: 12.58 kB / 1.281 GB, free: 10.6 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.249e-05/0.9295, allocations: 22.73 kB / 1.281 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.231e-05/0.9295, allocations: 18.39 kB / 1.281 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.73e-05/0.9295, allocations: 3.406 kB / 1.281 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.081e-05/0.9295, allocations: 4.156 kB / 1.281 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.818e-05/0.9296, allocations: 7.109 kB / 1.281 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.714e-05/0.9296, allocations: 21.41 kB / 1.281 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001048/0.9297, allocations: 46.27 kB / 1.281 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.9297, allocations: 1.125 kB / 1.281 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.483e-06/0.9297, allocations: 0 / 1.281 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.9297, allocations: 0 / 1.281 GB, free: 10.54 MB / 0.9981 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.0006067/0.9303, allocations: 367.7 kB / 1.281 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.9304, allocations: 9.688 kB / 1.281 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.284e-05/0.9304, allocations: 5.062 kB / 1.281 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.501e-05/0.9304, allocations: 35.5 kB / 1.281 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.727e-05/0.9304, allocations: 3.391 kB / 1.281 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001376/0.9306, allocations: 168.1 kB / 1.281 GB, free: 9.926 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.9306, allocations: 1.469 kB / 1.281 GB, free: 9.926 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.34e-05/0.9306, allocations: 7.125 kB / 1.281 GB, free: 9.922 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002874/0.9309, allocations: 76.78 kB / 1.281 GB, free: 9.875 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.9309, allocations: 0 / 1.281 GB, free: 9.875 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.888e-06/0.9309, allocations: 0 / 1.281 GB, free: 9.875 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.9309, allocations: 0.9688 kB / 1.281 GB, free: 9.875 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003228/0.9312, allocations: 67.38 kB / 1.281 GB, free: 9.863 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004237/0.9317, allocations: 265.8 kB / 1.282 GB, free: 9.582 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002423/0.9319, allocations: 62.22 kB / 1.282 GB, free: 9.543 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001754/0.9321, allocations: 36.47 kB / 1.282 GB, free: 9.531 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.665e-05/0.9321, allocations: 2.016 kB / 1.282 GB, free: 9.531 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.245e-05/0.9321, allocations: 31.5 kB / 1.282 GB, free: 9.492 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.423e-06/0.9321, allocations: 0 / 1.282 GB, free: 9.492 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.000605/0.9328, allocations: 132.6 kB / 1.282 GB, free: 9.441 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.386e-05/0.9328, allocations: 52.59 kB / 1.282 GB, free: 9.379 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.9329, allocations: 111.7 kB / 1.282 GB, free: 9.273 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.628e-05/0.9329, allocations: 33.58 kB / 1.282 GB, free: 9.234 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.17e-05/0.933, allocations: 91.78 kB / 1.282 GB, free: 9.145 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.102e-05/0.933, allocations: 9.812 kB / 1.282 GB, free: 9.137 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.931e-05/0.933, allocations: 17.64 kB / 1.282 GB, free: 9.117 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.9332, allocations: 321.5 kB / 1.283 GB, free: 8.797 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000157/0.9333, allocations: 27.2 kB / 1.283 GB, free: 8.797 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001467/0.9335, allocations: 31.47 kB / 1.283 GB, free: 8.793 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003189/0.9338, allocations: 69.78 kB / 1.283 GB, free: 8.773 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.9338, allocations: 1.297 kB / 1.283 GB, free: 8.773 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003794/0.9342, allocations: 101.8 kB / 1.283 GB, free: 8.727 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.9342, allocations: 5.562 kB / 1.283 GB, free: 8.727 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.9342, allocations: 0.6562 kB / 1.283 GB, free: 8.727 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.9342, allocations: 0.5625 kB / 1.283 GB, free: 8.727 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000148/0.9344, allocations: 23.86 kB / 1.283 GB, free: 8.719 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.9344, allocations: 0.7031 kB / 1.283 GB, free: 8.719 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.689e-05/0.9345, allocations: 12.06 kB / 1.283 GB, free: 8.719 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-06/0.9345, allocations: 1.031 kB / 1.283 GB, free: 8.719 MB / 0.9981 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 8.315e-05/0.9346, allocations: 114.5 kB / 1.283 GB, free: 8.602 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.652e-05/0.9346, allocations: 1.531 kB / 1.283 GB, free: 8.602 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004357/0.935, allocations: 109.3 kB / 1.283 GB, free: 8.543 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.935, allocations: 0.9062 kB / 1.283 GB, free: 8.543 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/0.935, allocations: 5.016 kB / 1.283 GB, free: 8.539 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.935, allocations: 0.5 kB / 1.283 GB, free: 8.539 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002044/0.9352, allocations: 174.9 kB / 1.283 GB, free: 8.336 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.9352, allocations: 0.5 kB / 1.283 GB, free: 8.336 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001152/0.9354, allocations: 19.73 kB / 1.283 GB, free: 8.332 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.9354, allocations: 8.484 kB / 1.283 GB, free: 8.324 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/0.9354, allocations: 0.5 kB / 1.283 GB, free: 8.324 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.9354, allocations: 1.25 kB / 1.283 GB, free: 8.324 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.9354, allocations: 0.5 kB / 1.283 GB, free: 8.324 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004201/0.9358, allocations: 194.7 kB / 1.283 GB, free: 8.18 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.714e-05/0.9358, allocations: 87.39 kB / 1.283 GB, free: 8.078 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.718e-05/0.9359, allocations: 0.6562 kB / 1.283 GB, free: 8.078 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001132/0.936, allocations: 11.03 kB / 1.283 GB, free: 8.078 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.573e-05/0.936, allocations: 8.516 kB / 1.284 GB, free: 8.074 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.932e-06/0.936, allocations: 2.109 kB / 1.284 GB, free: 8.074 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.04e-05/0.9361, allocations: 87.02 kB / 1.284 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.9361, allocations: 0 / 1.284 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002263/0.9363, allocations: 9.875 kB / 1.284 GB, free: 7.992 MB / 0.9981 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.0008306/0.9371, allocations: 0.7321 MB / 1.284 GB, free: 7.316 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003685/0.9375, allocations: 74.97 kB / 1.284 GB, free: 7.301 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.9375, allocations: 0 / 1.284 GB, free: 7.301 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001631/0.9377, allocations: 38.3 kB / 1.284 GB, free: 7.293 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003511/0.938, allocations: 4.5 kB / 1.284 GB, free: 7.293 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000549/0.9386, allocations: 169 kB / 1.285 GB, free: 7.121 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003043/0.9389, allocations: 0.6807 MB / 1.285 GB, free: 6.426 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.805e-05/0.9389, allocations: 1.812 kB / 1.285 GB, free: 6.426 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.968e-05/0.939, allocations: 15.22 kB / 1.285 GB, free: 6.414 MB / 0.9981 GB Notification: Performance of SimCode: time 4.01e-07/0.939, allocations: 0 / 1.285 GB, free: 6.414 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01819/0.9571, allocations: 1.681 MB / 1.287 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.565/9.522, allocations: 4.656 kB / 1.287 GB, free: 5.988 MB / 0.9981 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Max_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Max.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Max.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.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.816015635035]