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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006337/0.006337, allocations: 99.77 kB / 15.73 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001746/0.001746, allocations: 193.6 kB / 16.67 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.293/1.293, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.487/2.487, allocations: 469.8 MB / 0.7425 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001744/0.001744, allocations: 75.88 kB / 1.065 GB, free: 14 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7205/0.7223, allocations: 159.1 MB / 1.22 GB, free: 2.035 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.001726/0.7241, allocations: 0.7043 MB / 1.221 GB, free: 1.332 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0008919/0.725, allocations: 0.8078 MB / 1.222 GB, free: 0.5117 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.245e-05/0.725, allocations: 4 kB / 1.222 GB, free: 0.5078 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.315e-05/0.7251, allocations: 3.938 kB / 1.222 GB, free: 0.5039 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.027e-05/0.7251, allocations: 3.938 kB / 1.222 GB, free: 0.5 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 8.556e-05/0.7252, allocations: 11.98 kB / 1.222 GB, free: 500 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.945e-05/0.7253, allocations: 51.83 kB / 1.222 GB, free: 448 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 8.306e-05/0.7254, allocations: 12 kB / 1.222 GB, free: 436 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.96e-05/0.7255, allocations: 15.92 kB / 1.222 GB, free: 420 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.268e-05/0.7255, allocations: 27.86 kB / 1.222 GB, free: 392 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.717e-05/0.7256, allocations: 4 kB / 1.222 GB, free: 388 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.191e-05/0.7256, allocations: 4 kB / 1.222 GB, free: 384 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.762e-05/0.7256, allocations: 7.984 kB / 1.222 GB, free: 376 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.495e-05/0.7256, allocations: 11.94 kB / 1.222 GB, free: 364 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 9.498e-05/0.7257, allocations: 51.72 kB / 1.222 GB, free: 312 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.7257, allocations: 0 / 1.222 GB, free: 312 kB / 0.9356 GB Notification: Performance of FrontEnd: time 1.353e-06/0.7257, allocations: 4 kB / 1.222 GB, free: 308 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.977e-06/0.7258, allocations: 0 / 1.222 GB, free: 308 kB / 0.9356 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.0004939/0.7263, allocations: 367 kB / 1.222 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.7263, allocations: 8.031 kB / 1.222 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.219e-05/0.7263, allocations: 30.75 kB / 1.222 GB, free: 15.85 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.079e-05/0.7264, allocations: 8.891 kB / 1.222 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001303/0.7265, allocations: 168.4 kB / 1.222 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.763e-06/0.7265, allocations: 384 / 1.222 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.134e-05/0.7265, allocations: 8.375 kB / 1.222 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002327/0.7268, allocations: 66.22 kB / 1.223 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.7268, allocations: 3.938 kB / 1.223 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.7268, allocations: 7.938 kB / 1.223 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-06/0.7268, allocations: 0 / 1.223 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002808/0.7271, allocations: 67.92 kB / 1.223 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003264/0.7274, allocations: 264.9 kB / 1.223 GB, free: 15.17 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000191/0.7276, allocations: 58.62 kB / 1.223 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001454/0.7278, allocations: 40.81 kB / 1.223 GB, free: 15.06 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.319e-05/0.7278, allocations: 7.938 kB / 1.223 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.095e-05/0.7278, allocations: 30.56 kB / 1.223 GB, free: 15.02 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.7278, allocations: 0 / 1.223 GB, free: 15.02 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0005143/0.7284, allocations: 125.6 kB / 1.223 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.11e-05/0.7284, allocations: 55.41 kB / 1.223 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.398e-05/0.7285, allocations: 113.8 kB / 1.223 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.425e-05/0.7285, allocations: 25.7 kB / 1.223 GB, free: 14.67 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.109e-05/0.7286, allocations: 88.08 kB / 1.223 GB, free: 14.58 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.807e-05/0.7286, allocations: 11.91 kB / 1.223 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.539e-05/0.7286, allocations: 13.7 kB / 1.223 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.7288, allocations: 318.8 kB / 1.224 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001479/0.7289, allocations: 35.91 kB / 1.224 GB, free: 14.19 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001296/0.7291, allocations: 35.89 kB / 1.224 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002673/0.7293, allocations: 72.72 kB / 1.224 GB, free: 14.08 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.7293, allocations: 4 kB / 1.224 GB, free: 14.08 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003134/0.7297, allocations: 97.62 kB / 1.224 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.7297, allocations: 8 kB / 1.224 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.7297, allocations: 3.938 kB / 1.224 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.7297, allocations: 0 / 1.224 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001136/0.7298, allocations: 11.98 kB / 1.224 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.7298, allocations: 0 / 1.224 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.012e-05/0.7299, allocations: 23.92 kB / 1.224 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.7299, allocations: 0 / 1.224 GB, free: 13.93 MB / 0.9512 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 7.328e-05/0.73, allocations: 121.7 kB / 1.224 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.213e-05/0.73, allocations: 0 / 1.224 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003465/0.7304, allocations: 105.5 kB / 1.224 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.7304, allocations: 4 kB / 1.224 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/0.7304, allocations: 0 / 1.224 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.265e-06/0.7304, allocations: 4 kB / 1.224 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001664/0.7306, allocations: 173.6 kB / 1.224 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.7306, allocations: 0 / 1.224 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.187e-05/0.7307, allocations: 15.98 kB / 1.224 GB, free: 13.44 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.7307, allocations: 0 / 1.224 GB, free: 13.44 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.7307, allocations: 0 / 1.224 GB, free: 13.44 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.7307, allocations: 4 kB / 1.224 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.646e-06/0.7307, allocations: 0 / 1.224 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003549/0.7311, allocations: 203.7 kB / 1.225 GB, free: 13.22 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.878e-05/0.7311, allocations: 77.11 kB / 1.225 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.125e-05/0.7312, allocations: 0 / 1.225 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.986e-05/0.7313, allocations: 15.98 kB / 1.225 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.618e-05/0.7313, allocations: 16.02 kB / 1.225 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.7313, allocations: 0 / 1.225 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.632e-05/0.7314, allocations: 87.58 kB / 1.225 GB, free: 13.01 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7314, allocations: 4 kB / 1.225 GB, free: 13 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002013/0.7316, allocations: 4 kB / 1.225 GB, free: 13 MB / 0.9512 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.0006566/0.7322, allocations: 0.7362 MB / 1.226 GB, free: 12.24 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003191/0.7326, allocations: 67.92 kB / 1.226 GB, free: 12.17 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.7326, allocations: 3.938 kB / 1.226 GB, free: 12.17 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001476/0.7327, allocations: 39.95 kB / 1.226 GB, free: 12.13 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002491/0.733, allocations: 8 kB / 1.226 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003744/0.7334, allocations: 162.9 kB / 1.226 GB, free: 11.92 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002681/0.7337, allocations: 0.6845 MB / 1.226 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.665e-05/0.7337, allocations: 4 kB / 1.226 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.793e-05/0.7337, allocations: 19.38 kB / 1.226 GB, free: 11.19 MB / 0.9512 GB Notification: Performance of SimCode: time 2.3e-07/0.7337, allocations: 0 / 1.226 GB, free: 11.19 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6293/1.363, allocations: 1.614 MB / 1.228 GB, free: 9.656 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/12.83, allocations: 7.531 kB / 1.228 GB, free: 9.652 MB / 0.9512 GB (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) 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) Reference file matches