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.00155/0.00155, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001717/0.001717, allocations: 195.7 kB / 16.53 MB, free: 6.664 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.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.523/2.523, allocations: 461.9 MB / 0.7346 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001484, allocations: 70.25 kB / 0.8992 GB, free: 37.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2948/0.2963, allocations: 157.4 MB / 1.053 GB, free: 8.27 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.002037/0.2984, allocations: 0.7081 MB / 1.054 GB, free: 7.562 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000867/0.2993, allocations: 0.8156 MB / 1.054 GB, free: 6.734 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.558e-05/0.2993, allocations: 0 / 1.054 GB, free: 6.734 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.005e-05/0.2994, allocations: 3.938 kB / 1.054 GB, free: 6.73 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.798e-05/0.2995, allocations: 7.938 kB / 1.054 GB, free: 6.723 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 8.602e-05/0.2995, allocations: 11.98 kB / 1.054 GB, free: 6.711 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.226e-05/0.2996, allocations: 43.86 kB / 1.054 GB, free: 6.668 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.37e-05/0.2997, allocations: 15.98 kB / 1.054 GB, free: 6.652 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.147e-05/0.2998, allocations: 11.98 kB / 1.054 GB, free: 6.641 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.56e-05/0.2998, allocations: 27.86 kB / 1.055 GB, free: 6.613 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.51e-05/0.2999, allocations: 0 / 1.055 GB, free: 6.613 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.284e-05/0.2999, allocations: 4 kB / 1.055 GB, free: 6.609 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.945e-05/0.2999, allocations: 19.91 kB / 1.055 GB, free: 6.59 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.672e-05/0.2999, allocations: 15.88 kB / 1.055 GB, free: 6.574 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.373e-05/0.3, allocations: 31.88 kB / 1.055 GB, free: 6.543 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.3, allocations: 8 kB / 1.055 GB, free: 6.535 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.402e-06/0.3, allocations: 0 / 1.055 GB, free: 6.535 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.3001, allocations: 0 / 1.055 GB, free: 6.535 MB / 0.8106 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.0004629/0.3005, allocations: 369.2 kB / 1.055 GB, free: 6.125 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.3006, allocations: 8.625 kB / 1.055 GB, free: 6.117 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.647e-05/0.3006, allocations: 30.75 kB / 1.055 GB, free: 6.078 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.474e-05/0.3006, allocations: 8.844 kB / 1.055 GB, free: 6.07 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.364e-05/0.3007, allocations: 164.3 kB / 1.055 GB, free: 5.871 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.857e-05/0.3008, allocations: 12.38 kB / 1.055 GB, free: 5.859 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.049e-05/0.3008, allocations: 384 / 1.055 GB, free: 5.859 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002327/0.301, allocations: 70.2 kB / 1.055 GB, free: 5.785 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.301, allocations: 3.938 kB / 1.055 GB, free: 5.781 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.868e-06/0.301, allocations: 4 kB / 1.055 GB, free: 5.777 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.301, allocations: 0 / 1.055 GB, free: 5.777 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002922/0.3013, allocations: 71.86 kB / 1.055 GB, free: 5.707 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003079/0.3017, allocations: 264.8 kB / 1.056 GB, free: 5.398 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002007/0.3019, allocations: 54.55 kB / 1.056 GB, free: 5.336 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000147/0.302, allocations: 40.91 kB / 1.056 GB, free: 5.293 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.962e-05/0.3021, allocations: 3.984 kB / 1.056 GB, free: 5.289 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.161e-05/0.3021, allocations: 38.5 kB / 1.056 GB, free: 5.242 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.3021, allocations: 0 / 1.056 GB, free: 5.242 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0005196/0.3026, allocations: 129.6 kB / 1.056 GB, free: 5.109 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.104e-05/0.3026, allocations: 55.39 kB / 1.056 GB, free: 5.043 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.095e-05/0.3027, allocations: 105.9 kB / 1.056 GB, free: 4.93 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.3027, allocations: 29.69 kB / 1.056 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.719e-05/0.3028, allocations: 88.08 kB / 1.056 GB, free: 4.805 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.732e-05/0.3028, allocations: 7.812 kB / 1.056 GB, free: 4.797 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-05/0.3028, allocations: 13.72 kB / 1.056 GB, free: 4.777 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.848e-05/0.3029, allocations: 322.8 kB / 1.056 GB, free: 4.453 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001428/0.3031, allocations: 31.97 kB / 1.056 GB, free: 4.422 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001334/0.3032, allocations: 35.89 kB / 1.056 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002585/0.3035, allocations: 76.67 kB / 1.057 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3035, allocations: 0 / 1.057 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003084/0.3038, allocations: 97.61 kB / 1.057 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.3038, allocations: 4 kB / 1.057 GB, free: 4.203 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.3038, allocations: 4 kB / 1.057 GB, free: 4.199 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.3039, allocations: 336 / 1.057 GB, free: 4.199 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001155/0.304, allocations: 15.98 kB / 1.057 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.304, allocations: 4 kB / 1.057 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.67e-05/0.3041, allocations: 11.98 kB / 1.057 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.3041, allocations: 0 / 1.057 GB, free: 4.168 MB / 0.8106 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.632e-05/0.3042, allocations: 121.7 kB / 1.057 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.734e-05/0.3042, allocations: 7.891 kB / 1.057 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003428/0.3045, allocations: 113.5 kB / 1.057 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.3046, allocations: 0 / 1.057 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.3046, allocations: 0 / 1.057 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.3046, allocations: 0 / 1.057 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001587/0.3047, allocations: 173.5 kB / 1.057 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.3047, allocations: 0 / 1.057 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.822e-05/0.3048, allocations: 19.97 kB / 1.057 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.3048, allocations: 0 / 1.057 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-06/0.3049, allocations: 0 / 1.057 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.3049, allocations: 4 kB / 1.057 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.3049, allocations: 0 / 1.057 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003548/0.3052, allocations: 195.4 kB / 1.057 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.508e-05/0.3053, allocations: 85.02 kB / 1.057 GB, free: 3.355 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.532e-05/0.3053, allocations: 3.984 kB / 1.057 GB, free: 3.352 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.3054, allocations: 15.98 kB / 1.057 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.788e-05/0.3055, allocations: 0 / 1.057 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.242e-06/0.3055, allocations: 4 kB / 1.057 GB, free: 3.332 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.468e-05/0.3055, allocations: 87.27 kB / 1.057 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3055, allocations: 0 / 1.057 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000214/0.3057, allocations: 8 kB / 1.057 GB, free: 3.238 MB / 0.8106 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.0006427/0.3064, allocations: 0.7319 MB / 1.058 GB, free: 2.48 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000316/0.3067, allocations: 67.92 kB / 1.058 GB, free: 2.414 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3067, allocations: 7.938 kB / 1.058 GB, free: 2.406 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001421/0.3069, allocations: 31.97 kB / 1.058 GB, free: 2.375 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003026/0.3072, allocations: 15.92 kB / 1.058 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00044/0.3076, allocations: 165.1 kB / 1.058 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002198/0.3079, allocations: 0.6846 MB / 1.059 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.694e-05/0.3079, allocations: 0 / 1.059 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.018e-05/0.3079, allocations: 15.44 kB / 1.059 GB, free: 1.434 MB / 0.8106 GB Notification: Performance of SimCode: time 2.11e-07/0.308, allocations: 0 / 1.059 GB, free: 1.434 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01703/0.325, allocations: 1.581 MB / 1.061 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.333/7.658, allocations: 6.25 kB / 1.061 GB, free: 15.92 MB / 0.8262 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