Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Max,fileNamePrefix="Buildings_latest_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.006924/0.006924, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001661/0.001661, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.354/1.354, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.787/2.787, allocations: 461.9 MB / 0.7348 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001295, allocations: 68.14 kB / 1.054 GB, free: 7.531 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2981/0.2994, allocations: 157.4 MB / 1.207 GB, free: 10.03 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.002283/0.3017, allocations: 0.704 MB / 1.208 GB, free: 9.328 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001079/0.3028, allocations: 0.804 MB / 1.209 GB, free: 8.512 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.671e-05/0.3029, allocations: 0 / 1.209 GB, free: 8.512 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.772e-05/0.3029, allocations: 3.938 kB / 1.209 GB, free: 8.508 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.606e-05/0.3031, allocations: 7.938 kB / 1.209 GB, free: 8.5 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001332/0.3032, allocations: 11.98 kB / 1.209 GB, free: 8.488 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001129/0.3033, allocations: 55.77 kB / 1.209 GB, free: 8.434 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.3034, allocations: 8 kB / 1.209 GB, free: 8.426 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.624e-05/0.3035, allocations: 15.98 kB / 1.209 GB, free: 8.41 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.194e-05/0.3036, allocations: 15.92 kB / 1.209 GB, free: 8.395 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.031e-05/0.3036, allocations: 4 kB / 1.209 GB, free: 8.391 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.281e-05/0.3036, allocations: 4 kB / 1.209 GB, free: 8.387 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.53e-05/0.3037, allocations: 15.92 kB / 1.209 GB, free: 8.371 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.875e-05/0.3037, allocations: 15.94 kB / 1.209 GB, free: 8.355 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001244/0.3038, allocations: 51.78 kB / 1.209 GB, free: 8.305 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.3039, allocations: 0 / 1.209 GB, free: 8.305 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.024e-06/0.3039, allocations: 0 / 1.209 GB, free: 8.305 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.017e-06/0.3039, allocations: 0 / 1.209 GB, free: 8.305 MB / 0.9669 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.000583/0.3045, allocations: 363.6 kB / 1.209 GB, free: 7.898 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 6.161e-05/0.3045, allocations: 12.62 kB / 1.209 GB, free: 7.887 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.71e-05/0.3046, allocations: 34.75 kB / 1.209 GB, free: 7.844 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.045e-05/0.3046, allocations: 0.9375 kB / 1.209 GB, free: 7.844 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001413/0.3048, allocations: 184.1 kB / 1.21 GB, free: 7.625 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.306e-06/0.3048, allocations: 384 / 1.21 GB, free: 7.625 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.358e-05/0.3048, allocations: 4.375 kB / 1.21 GB, free: 7.621 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002522/0.3051, allocations: 66.22 kB / 1.21 GB, free: 7.551 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.3051, allocations: 3.938 kB / 1.21 GB, free: 7.547 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.3051, allocations: 0 / 1.21 GB, free: 7.547 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.3051, allocations: 11.94 kB / 1.21 GB, free: 7.535 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002593/0.3054, allocations: 59.92 kB / 1.21 GB, free: 7.477 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004213/0.3058, allocations: 272.8 kB / 1.21 GB, free: 7.16 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001809/0.306, allocations: 58.53 kB / 1.21 GB, free: 7.094 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001375/0.3061, allocations: 36.92 kB / 1.21 GB, free: 7.055 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/0.3062, allocations: 0 / 1.21 GB, free: 7.055 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.284e-05/0.3062, allocations: 30.56 kB / 1.21 GB, free: 7.016 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.3062, allocations: 4 kB / 1.21 GB, free: 7.012 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0005054/0.3067, allocations: 133.5 kB / 1.21 GB, free: 6.875 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.49e-05/0.3068, allocations: 51.41 kB / 1.21 GB, free: 6.812 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.964e-05/0.3069, allocations: 109.8 kB / 1.21 GB, free: 6.695 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/0.3069, allocations: 29.7 kB / 1.21 GB, free: 6.66 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.697e-05/0.3069, allocations: 84.14 kB / 1.21 GB, free: 6.574 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.201e-05/0.307, allocations: 7.906 kB / 1.21 GB, free: 6.566 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.529e-05/0.307, allocations: 21.7 kB / 1.211 GB, free: 6.539 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001113/0.3071, allocations: 314.8 kB / 1.211 GB, free: 6.223 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001421/0.3073, allocations: 31.97 kB / 1.211 GB, free: 6.191 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001148/0.3074, allocations: 27.95 kB / 1.211 GB, free: 6.164 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002416/0.3077, allocations: 80.72 kB / 1.211 GB, free: 6.082 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.3077, allocations: 0 / 1.211 GB, free: 6.082 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003003/0.308, allocations: 105.4 kB / 1.211 GB, free: 5.973 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.308, allocations: 4 kB / 1.211 GB, free: 5.969 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.308, allocations: 0 / 1.211 GB, free: 5.969 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.308, allocations: 4 kB / 1.211 GB, free: 5.965 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.3082, allocations: 15.98 kB / 1.211 GB, free: 5.949 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.3082, allocations: 0 / 1.211 GB, free: 5.949 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.601e-05/0.3083, allocations: 15.97 kB / 1.211 GB, free: 5.934 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.3083, allocations: 4 kB / 1.211 GB, free: 5.93 MB / 0.9669 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.665e-05/0.3084, allocations: 117.8 kB / 1.211 GB, free: 5.805 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.567e-05/0.3084, allocations: 0 / 1.211 GB, free: 5.805 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003576/0.3088, allocations: 109.8 kB / 1.211 GB, free: 5.684 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.3088, allocations: 0 / 1.211 GB, free: 5.684 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.3088, allocations: 48 / 1.211 GB, free: 5.684 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.3088, allocations: 3.984 kB / 1.211 GB, free: 5.68 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001727/0.309, allocations: 181.5 kB / 1.211 GB, free: 5.453 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.309, allocations: 0 / 1.211 GB, free: 5.453 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.397e-05/0.3091, allocations: 15.98 kB / 1.212 GB, free: 5.438 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.3091, allocations: 4 kB / 1.212 GB, free: 5.434 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.3091, allocations: 0 / 1.212 GB, free: 5.434 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.3091, allocations: 0 / 1.212 GB, free: 5.434 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.3091, allocations: 0 / 1.212 GB, free: 5.434 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003466/0.3095, allocations: 199.3 kB / 1.212 GB, free: 5.223 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.602e-05/0.3095, allocations: 89.05 kB / 1.212 GB, free: 5.117 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.411e-05/0.3095, allocations: 0 / 1.212 GB, free: 5.117 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.851e-05/0.3096, allocations: 15.92 kB / 1.212 GB, free: 5.102 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.494e-05/0.3097, allocations: 7.984 kB / 1.212 GB, free: 5.094 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.3097, allocations: 0 / 1.212 GB, free: 5.094 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.333e-05/0.3098, allocations: 87.28 kB / 1.212 GB, free: 5.008 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3098, allocations: 0 / 1.212 GB, free: 5.008 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002184/0.31, allocations: 8 kB / 1.212 GB, free: 5 MB / 0.9669 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.0006638/0.3107, allocations: 0.7318 MB / 1.213 GB, free: 4.242 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003197/0.311, allocations: 71.86 kB / 1.213 GB, free: 4.172 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.311, allocations: 0 / 1.213 GB, free: 4.172 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001408/0.3111, allocations: 39.95 kB / 1.213 GB, free: 4.133 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003192/0.3115, allocations: 0 / 1.213 GB, free: 4.133 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004935/0.312, allocations: 174.9 kB / 1.213 GB, free: 3.922 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002748/0.3123, allocations: 0.6768 MB / 1.214 GB, free: 3.219 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.747e-05/0.3123, allocations: 4 kB / 1.214 GB, free: 3.215 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.411e-05/0.3123, allocations: 11.44 kB / 1.214 GB, free: 3.203 MB / 0.9669 GB Notification: Performance of SimCode: time 2.21e-07/0.3123, allocations: 0 / 1.214 GB, free: 3.203 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01846/0.3308, allocations: 1.632 MB / 1.215 GB, free: 1.66 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.69/8.021, allocations: 11.31 kB / 1.215 GB, free: 1.652 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Max_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Max.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Max.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches