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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001423/0.001423, allocations: 112.9 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 189.9 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.298/1.298, allocations: 225.6 MB / 249.3 MB, free: 3.191 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.481/2.481, allocations: 476.7 MB / 0.7628 GB, free: 15.11 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Controls.OBC.CDL.Reals.Validation.Max,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Max,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001879/0.001879, allocations: 72.11 kB / 1.107 GB, free: 5.078 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7697/0.7716, allocations: 168.7 MB / 1.271 GB, free: 7.676 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.001655/0.7733, allocations: 0.7188 MB / 1.272 GB, free: 7.246 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0006696/0.7739, allocations: 0.8162 MB / 1.273 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.039e-05/0.774, allocations: 0.9688 kB / 1.273 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.492e-05/0.774, allocations: 5.031 kB / 1.273 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.61e-05/0.774, allocations: 9.344 kB / 1.273 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 8.701e-05/0.7741, allocations: 14.88 kB / 1.273 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 8.043e-05/0.7742, allocations: 39.12 kB / 1.273 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.654e-05/0.7743, allocations: 9.422 kB / 1.273 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.532e-05/0.7743, allocations: 17.12 kB / 1.273 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.542e-05/0.7744, allocations: 22.44 kB / 1.273 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.607e-05/0.7744, allocations: 3.344 kB / 1.273 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.095e-05/0.7744, allocations: 3.969 kB / 1.273 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.631e-05/0.7744, allocations: 15.02 kB / 1.273 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.186e-05/0.7745, allocations: 18.12 kB / 1.273 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 8.872e-05/0.7746, allocations: 46.08 kB / 1.273 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.7746, allocations: 0 / 1.273 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.203e-06/0.7746, allocations: 0.625 kB / 1.273 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.105e-06/0.7746, allocations: 0 / 1.273 GB, free: 6.527 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.0003943/0.775, allocations: 364.8 kB / 1.273 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/0.775, allocations: 9.984 kB / 1.273 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.424e-05/0.775, allocations: 32.27 kB / 1.274 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.107e-05/0.775, allocations: 10.64 kB / 1.274 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.078e-05/0.7751, allocations: 168.8 kB / 1.274 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.7751, allocations: 2.125 kB / 1.274 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.11e-05/0.7751, allocations: 1.969 kB / 1.274 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002228/0.7753, allocations: 68.62 kB / 1.274 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.934e-06/0.7754, allocations: 4.812 kB / 1.274 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-06/0.7754, allocations: 0 / 1.274 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.656e-06/0.7754, allocations: 0.875 kB / 1.274 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002779/0.7756, allocations: 70.45 kB / 1.274 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002381/0.7759, allocations: 274.6 kB / 1.274 GB, free: 5.562 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001824/0.7761, allocations: 54.92 kB / 1.274 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001511/0.7762, allocations: 41.25 kB / 1.274 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.9e-05/0.7762, allocations: 0.75 kB / 1.274 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.306e-05/0.7762, allocations: 35.31 kB / 1.274 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 9.11e-07/0.7762, allocations: 0.9375 kB / 1.274 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0004865/0.7767, allocations: 131 kB / 1.274 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.859e-05/0.7768, allocations: 51.41 kB / 1.274 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.949e-05/0.7768, allocations: 110.5 kB / 1.274 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.182e-06/0.7768, allocations: 25.7 kB / 1.275 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.267e-05/0.7768, allocations: 96.05 kB / 1.275 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.39e-05/0.7768, allocations: 5.484 kB / 1.275 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.741e-05/0.7769, allocations: 20.91 kB / 1.275 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.172e-05/0.7769, allocations: 314.6 kB / 1.275 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001373/0.777, allocations: 30.84 kB / 1.275 GB, free: 4.789 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001267/0.7772, allocations: 37.7 kB / 1.275 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000249/0.7774, allocations: 76.94 kB / 1.275 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.7774, allocations: 0 / 1.275 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002911/0.7777, allocations: 94.3 kB / 1.275 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/0.7777, allocations: 4.781 kB / 1.275 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.7777, allocations: 8.812 kB / 1.275 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.7777, allocations: 0 / 1.275 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.7778, allocations: 24.62 kB / 1.275 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.957e-06/0.7779, allocations: 0 / 1.275 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.419e-05/0.7779, allocations: 15.83 kB / 1.275 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-06/0.7779, allocations: 0.7812 kB / 1.275 GB, free: 4.695 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 3.7e-05/0.778, allocations: 113 kB / 1.275 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.397e-05/0.778, allocations: 6.25 kB / 1.275 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003195/0.7783, allocations: 107.9 kB / 1.275 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.7783, allocations: 1.094 kB / 1.275 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.7783, allocations: 1.594 kB / 1.275 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.7783, allocations: 1.094 kB / 1.275 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001057/0.7784, allocations: 171.8 kB / 1.276 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.7784, allocations: 0 / 1.276 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.856e-05/0.7785, allocations: 14.83 kB / 1.276 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.7785, allocations: 0.9062 kB / 1.276 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.492e-06/0.7785, allocations: 4 kB / 1.276 GB, free: 4.312 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.7785, allocations: 0.7812 kB / 1.276 GB, free: 4.312 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.7785, allocations: 0.9688 kB / 1.276 GB, free: 4.312 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003034/0.7788, allocations: 201.8 kB / 1.276 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.368e-05/0.7788, allocations: 84.61 kB / 1.276 GB, free: 4.062 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.191e-05/0.7789, allocations: 1 kB / 1.276 GB, free: 4.062 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.997e-05/0.779, allocations: 11.58 kB / 1.276 GB, free: 4.062 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.492e-05/0.779, allocations: 5.906 kB / 1.276 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.366e-06/0.779, allocations: 0.9688 kB / 1.276 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.369e-05/0.779, allocations: 84.09 kB / 1.276 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.779, allocations: 0 / 1.276 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002037/0.7792, allocations: 11 kB / 1.276 GB, free: 3.98 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.0004743/0.7797, allocations: 0.7397 MB / 1.277 GB, free: 3.297 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000319/0.78, allocations: 71.73 kB / 1.277 GB, free: 3.285 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.78, allocations: 0 / 1.277 GB, free: 3.285 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001423/0.7802, allocations: 34.81 kB / 1.277 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002462/0.7804, allocations: 4.969 kB / 1.277 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003451/0.7807, allocations: 167.6 kB / 1.277 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.818e-05/0.7808, allocations: 0.6872 MB / 1.278 GB, free: 2.41 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.332e-05/0.7809, allocations: 6.312 kB / 1.278 GB, free: 2.406 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.388e-05/0.7809, allocations: 14.66 kB / 1.278 GB, free: 2.395 MB / 0.9981 GB Notification: Performance of SimCode: time 2.81e-07/0.7809, allocations: 1.156 kB / 1.278 GB, free: 2.395 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02234/0.8032, allocations: 1.62 MB / 1.279 GB, free: 18.01 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.845/7.648, allocations: 6.016 kB / 1.279 GB, free: 18.01 MB / 1.014 GB " [Timeout remaining time 292] (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 --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: 12.946602333000556]