Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.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-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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.Log,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Log",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Log,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Log",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.004937/0.004937, allocations: 97.41 kB / 15.73 MB, free: 6.047 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.001117/0.001117, allocations: 197 kB / 16.67 MB, free: 5.973 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.349/1.349, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.678/2.678, allocations: 469.4 MB / 0.7422 GB, free: 7.582 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00237/0.00237, allocations: 63.91 kB / 1.064 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2865/0.2889, allocations: 159.1 MB / 1.22 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log): time 0.001696/0.2907, allocations: 0.6595 MB / 1.22 GB, free: 13.92 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0008387/0.2915, allocations: 0.8019 MB / 1.221 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.105e-05/0.2916, allocations: 0 / 1.221 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.305e-05/0.2916, allocations: 4 kB / 1.221 GB, free: 13.1 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.892e-05/0.2917, allocations: 7.938 kB / 1.221 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001217/0.2918, allocations: 4 kB / 1.221 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.132e-05/0.2919, allocations: 19.92 kB / 1.221 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.953e-05/0.292, allocations: 11.98 kB / 1.221 GB, free: 13.06 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.608e-05/0.292, allocations: 15.92 kB / 1.221 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.615e-05/0.2921, allocations: 11.92 kB / 1.221 GB, free: 13.03 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.476e-05/0.2921, allocations: 0 / 1.221 GB, free: 13.03 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.285e-06/0.2921, allocations: 7.938 kB / 1.221 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.473e-05/0.2921, allocations: 8 kB / 1.221 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.326e-05/0.2922, allocations: 7.938 kB / 1.221 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 6.933e-05/0.2922, allocations: 19.97 kB / 1.221 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.2923, allocations: 0 / 1.221 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.252e-06/0.2923, allocations: 0 / 1.221 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.595e-06/0.2923, allocations: 0 / 1.221 GB, free: 12.99 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003922/0.2927, allocations: 335.5 kB / 1.222 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.487e-05/0.2927, allocations: 8.031 kB / 1.222 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.144e-05/0.2927, allocations: 42.67 kB / 1.222 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.252e-05/0.2928, allocations: 8.891 kB / 1.222 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.949e-05/0.2929, allocations: 164.3 kB / 1.222 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.2929, allocations: 4.375 kB / 1.222 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.748e-06/0.2929, allocations: 4.312 kB / 1.222 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001648/0.2931, allocations: 54.23 kB / 1.222 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.2931, allocations: 3.938 kB / 1.222 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.314e-06/0.2931, allocations: 0 / 1.222 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.397e-06/0.2931, allocations: 0 / 1.222 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000167/0.2933, allocations: 39.95 kB / 1.222 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002824/0.2936, allocations: 244.9 kB / 1.222 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001229/0.2937, allocations: 38.5 kB / 1.222 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.815e-05/0.2938, allocations: 24.89 kB / 1.222 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.935e-05/0.2938, allocations: 7.984 kB / 1.222 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.169e-05/0.2939, allocations: 34.56 kB / 1.222 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.2939, allocations: 0 / 1.222 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003568/0.2942, allocations: 81.58 kB / 1.222 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.12e-05/0.2943, allocations: 51.41 kB / 1.222 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.629e-05/0.2943, allocations: 97.98 kB / 1.223 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/0.2944, allocations: 33.7 kB / 1.223 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.623e-05/0.2944, allocations: 84.09 kB / 1.223 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.691e-05/0.2944, allocations: 7.938 kB / 1.223 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.944e-05/0.2945, allocations: 13.72 kB / 1.223 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.103e-05/0.2946, allocations: 314.8 kB / 1.223 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.275e-05/0.2947, allocations: 11.98 kB / 1.223 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.575e-05/0.2947, allocations: 23.98 kB / 1.223 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001585/0.2949, allocations: 40.81 kB / 1.223 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.287e-06/0.2949, allocations: 3.938 kB / 1.223 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001944/0.2951, allocations: 65.59 kB / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.2951, allocations: 9.406 kB / 1.223 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.487e-06/0.2951, allocations: 0 / 1.223 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.2952, allocations: 8.031 kB / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.351e-05/0.2952, allocations: 4 kB / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.553e-06/0.2953, allocations: 3.984 kB / 1.223 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.647e-05/0.2953, allocations: 4 kB / 1.223 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.164e-06/0.2953, allocations: 4 kB / 1.223 GB, free: 10.91 MB / 0.9825 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 (2): * Single equations (assignments): 2 * 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.691e-05/0.2954, allocations: 114.3 kB / 1.223 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.366e-05/0.2954, allocations: 0 / 1.223 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000222/0.2957, allocations: 80.7 kB / 1.223 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.2957, allocations: 192 / 1.223 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.2957, allocations: 3.938 kB / 1.223 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.2957, allocations: 3.984 kB / 1.223 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001452/0.2958, allocations: 157.6 kB / 1.223 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.2958, allocations: 0 / 1.223 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.156e-05/0.2959, allocations: 11.98 kB / 1.224 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.2959, allocations: 0 / 1.224 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.2959, allocations: 4 kB / 1.224 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.2959, allocations: 8.016 kB / 1.224 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.2959, allocations: 0 / 1.224 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002268/0.2962, allocations: 163.4 kB / 1.224 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.175e-05/0.2962, allocations: 77.11 kB / 1.224 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.262e-05/0.2962, allocations: 4 kB / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.084e-05/0.2963, allocations: 12.02 kB / 1.224 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.478e-05/0.2964, allocations: 11.94 kB / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.2964, allocations: 0 / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.524e-05/0.2964, allocations: 83.27 kB / 1.224 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.4e-07/0.2964, allocations: 0 / 1.224 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002196/0.2966, allocations: 4 kB / 1.224 GB, free: 10.09 MB / 0.9825 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 (2): * Single equations (assignments): 2 * 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.000511/0.2972, allocations: 0.6929 MB / 1.225 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002123/0.2974, allocations: 43.89 kB / 1.225 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.2974, allocations: 0 / 1.225 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.587e-05/0.2975, allocations: 20.08 kB / 1.225 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002755/0.2978, allocations: 4.062 kB / 1.225 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003869/0.2982, allocations: 135 kB / 1.225 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002201/0.2984, allocations: 0.6768 MB / 1.225 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.593e-05/0.2984, allocations: 4 kB / 1.225 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.601e-05/0.2985, allocations: 11.44 kB / 1.225 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of SimCode: time 2.31e-07/0.2985, allocations: 0 / 1.225 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0151/0.3136, allocations: 1.281 MB / 1.227 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.056/7.37, allocations: 5.625 kB / 1.227 GB, free: 7.215 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Log.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Log.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches