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.001455/0.001455, 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.001425/0.001425, allocations: 195.8 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.325/1.325, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.619/2.619, allocations: 469.8 MB / 0.7424 GB, free: 7.48 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001803/0.001803, allocations: 70.27 kB / 0.9087 GB, free: 34.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2602/0.262, allocations: 159.1 MB / 1.064 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.00181/0.2639, allocations: 0.7042 MB / 1.065 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008154/0.2647, allocations: 0.8118 MB / 1.066 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.538e-05/0.2647, allocations: 0 / 1.066 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.373e-05/0.2648, allocations: 7.875 kB / 1.066 GB, free: 12.69 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.036e-05/0.2648, allocations: 7.875 kB / 1.066 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 8.709e-05/0.2649, allocations: 11.98 kB / 1.066 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.931e-05/0.265, allocations: 43.92 kB / 1.066 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.626e-05/0.2651, allocations: 11.98 kB / 1.066 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.78e-05/0.2651, allocations: 19.92 kB / 1.066 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.159e-05/0.2652, allocations: 15.92 kB / 1.066 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.917e-05/0.2652, allocations: 4 kB / 1.066 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.155e-05/0.2652, allocations: 4 kB / 1.066 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.969e-05/0.2653, allocations: 11.97 kB / 1.066 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.033e-05/0.2653, allocations: 19.88 kB / 1.066 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 7.266e-05/0.2654, allocations: 39.88 kB / 1.066 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.2654, allocations: 0 / 1.066 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.022e-06/0.2654, allocations: 0 / 1.066 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.818e-06/0.2654, allocations: 0 / 1.066 GB, free: 12.5 MB / 0.8262 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.0004852/0.2659, allocations: 367.7 kB / 1.066 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.2659, allocations: 12.03 kB / 1.066 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.631e-05/0.266, allocations: 30.75 kB / 1.066 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.312e-05/0.266, allocations: 4.844 kB / 1.066 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001212/0.2661, allocations: 172.3 kB / 1.066 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.2661, allocations: 4.375 kB / 1.066 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.177e-05/0.2662, allocations: 8.359 kB / 1.066 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000232/0.2664, allocations: 70.22 kB / 1.066 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.2664, allocations: 3.938 kB / 1.066 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-06/0.2664, allocations: 0 / 1.066 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.226e-06/0.2664, allocations: 0 / 1.066 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002806/0.2667, allocations: 67.92 kB / 1.066 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003279/0.267, allocations: 280.7 kB / 1.067 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000191/0.2672, allocations: 50.55 kB / 1.067 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001485/0.2674, allocations: 44.91 kB / 1.067 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.374e-05/0.2674, allocations: 0 / 1.067 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.523e-05/0.2675, allocations: 30.56 kB / 1.067 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.2675, allocations: 4 kB / 1.067 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0005233/0.268, allocations: 133.5 kB / 1.067 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.798e-05/0.268, allocations: 55.34 kB / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.234e-05/0.2681, allocations: 105.8 kB / 1.067 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.2681, allocations: 29.7 kB / 1.067 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.345e-05/0.2682, allocations: 88.08 kB / 1.067 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.183e-05/0.2682, allocations: 11.81 kB / 1.067 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.196e-05/0.2683, allocations: 13.72 kB / 1.067 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.2684, allocations: 322.8 kB / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001448/0.2686, allocations: 31.97 kB / 1.068 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001318/0.2687, allocations: 27.95 kB / 1.068 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002735/0.269, allocations: 76.73 kB / 1.068 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.269, allocations: 0 / 1.068 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003211/0.2693, allocations: 101.8 kB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.2693, allocations: 5.25 kB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.2693, allocations: 0 / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.2693, allocations: 0 / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/0.2695, allocations: 20.03 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.2695, allocations: 0 / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.126e-05/0.2696, allocations: 15.97 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/0.2696, allocations: 0 / 1.068 GB, free: 10.12 MB / 0.8262 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.531e-05/0.2697, allocations: 117.8 kB / 1.068 GB, free: 9.996 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.449e-05/0.2697, allocations: 7.906 kB / 1.068 GB, free: 9.988 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003515/0.27, allocations: 109.5 kB / 1.068 GB, free: 9.871 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.2701, allocations: 0 / 1.068 GB, free: 9.871 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.2701, allocations: 0 / 1.068 GB, free: 9.871 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.2701, allocations: 0 / 1.068 GB, free: 9.871 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001744/0.2702, allocations: 173.5 kB / 1.068 GB, free: 9.652 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.2703, allocations: 0 / 1.068 GB, free: 9.652 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.877e-05/0.2704, allocations: 19.97 kB / 1.068 GB, free: 9.633 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.2704, allocations: 0 / 1.068 GB, free: 9.633 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-06/0.2704, allocations: 0 / 1.068 GB, free: 9.633 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.2704, allocations: 4 kB / 1.068 GB, free: 9.629 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.2704, allocations: 0 / 1.068 GB, free: 9.629 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003563/0.2707, allocations: 197.2 kB / 1.068 GB, free: 9.422 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.377e-05/0.2708, allocations: 89 kB / 1.069 GB, free: 9.316 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.591e-05/0.2708, allocations: 4 kB / 1.069 GB, free: 9.312 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.2709, allocations: 15.98 kB / 1.069 GB, free: 9.297 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.088e-05/0.271, allocations: 7.938 kB / 1.069 GB, free: 9.289 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.367e-06/0.271, allocations: 0 / 1.069 GB, free: 9.289 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.051e-05/0.271, allocations: 91.27 kB / 1.069 GB, free: 9.199 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.01e-07/0.271, allocations: 0 / 1.069 GB, free: 9.199 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002066/0.2712, allocations: 8 kB / 1.069 GB, free: 9.191 MB / 0.8262 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.0006609/0.2719, allocations: 0.728 MB / 1.069 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003244/0.2722, allocations: 71.86 kB / 1.069 GB, free: 8.367 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2723, allocations: 3.938 kB / 1.069 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001444/0.2724, allocations: 35.97 kB / 1.069 GB, free: 8.328 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002502/0.2727, allocations: 15.92 kB / 1.069 GB, free: 8.312 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003969/0.2731, allocations: 156.8 kB / 1.07 GB, free: 8.121 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002719/0.2733, allocations: 0.6807 MB / 1.07 GB, free: 7.414 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.423e-05/0.2734, allocations: 0 / 1.07 GB, free: 7.414 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.772e-05/0.2734, allocations: 15.44 kB / 1.07 GB, free: 7.398 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.2734, allocations: 4 kB / 1.07 GB, free: 7.395 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7978/1.071, allocations: 1.585 MB / 1.072 GB, free: 5.875 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.725/10.8, allocations: 8.797 kB / 1.072 GB, free: 5.867 MB / 0.8262 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