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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.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.006483/0.006483, allocations: 96.16 kB / 15.73 MB, free: 6.043 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.001724/0.001724, allocations: 195.8 kB / 16.68 MB, free: 5.969 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.435/1.435, allocations: 222.9 MB / 240.4 MB, free: 4.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.887/2.887, allocations: 482.4 MB / 0.7548 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002008/0.002008, allocations: 79.88 kB / 1.083 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2862/0.2882, allocations: 162.2 MB / 1.242 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log): time 0.001861/0.2901, allocations: 0.6673 MB / 1.242 GB, free: 9.441 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0009565/0.2911, allocations: 0.8 MB / 1.243 GB, free: 8.629 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.954e-05/0.2911, allocations: 0 / 1.243 GB, free: 8.629 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.35e-05/0.2912, allocations: 0 / 1.243 GB, free: 8.629 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.896e-05/0.2912, allocations: 11.94 kB / 1.243 GB, free: 8.617 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001171/0.2914, allocations: 7.984 kB / 1.243 GB, free: 8.609 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.203e-05/0.2914, allocations: 15.94 kB / 1.243 GB, free: 8.594 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.205e-05/0.2915, allocations: 11.98 kB / 1.243 GB, free: 8.582 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.181e-05/0.2916, allocations: 7.938 kB / 1.243 GB, free: 8.574 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.196e-05/0.2916, allocations: 15.97 kB / 1.243 GB, free: 8.559 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.653e-05/0.2916, allocations: 0 / 1.243 GB, free: 8.559 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.194e-05/0.2917, allocations: 4 kB / 1.243 GB, free: 8.555 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.892e-05/0.2917, allocations: 7.938 kB / 1.243 GB, free: 8.547 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 1.959e-05/0.2917, allocations: 4 kB / 1.243 GB, free: 8.543 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 7.545e-05/0.2918, allocations: 31.89 kB / 1.243 GB, free: 8.512 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.2918, allocations: 0 / 1.243 GB, free: 8.512 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.092e-06/0.2918, allocations: 0 / 1.243 GB, free: 8.512 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.694e-06/0.2918, allocations: 0 / 1.243 GB, free: 8.512 MB / 0.9981 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.0004731/0.2923, allocations: 335.5 kB / 1.243 GB, free: 8.133 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.2923, allocations: 8.031 kB / 1.243 GB, free: 8.125 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.313e-05/0.2924, allocations: 38.69 kB / 1.243 GB, free: 8.078 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.997e-05/0.2924, allocations: 0.9375 kB / 1.243 GB, free: 8.078 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000139/0.2926, allocations: 172.3 kB / 1.244 GB, free: 7.871 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.027e-06/0.2926, allocations: 384 / 1.244 GB, free: 7.871 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.812e-06/0.2926, allocations: 4.375 kB / 1.244 GB, free: 7.867 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001726/0.2928, allocations: 54.17 kB / 1.244 GB, free: 7.809 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.198e-06/0.2928, allocations: 3.938 kB / 1.244 GB, free: 7.805 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.208e-06/0.2928, allocations: 0 / 1.244 GB, free: 7.805 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.397e-06/0.2928, allocations: 3.938 kB / 1.244 GB, free: 7.801 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001772/0.293, allocations: 35.95 kB / 1.244 GB, free: 7.766 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003168/0.2933, allocations: 245 kB / 1.244 GB, free: 7.477 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001372/0.2935, allocations: 46.42 kB / 1.244 GB, free: 7.422 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.024e-05/0.2936, allocations: 20.91 kB / 1.244 GB, free: 7.398 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.934e-05/0.2936, allocations: 3.984 kB / 1.244 GB, free: 7.395 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.1e-05/0.2936, allocations: 42.56 kB / 1.244 GB, free: 7.344 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.2936, allocations: 0 / 1.244 GB, free: 7.344 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.000348/0.294, allocations: 77.64 kB / 1.244 GB, free: 7.262 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.877e-05/0.294, allocations: 51.41 kB / 1.244 GB, free: 7.199 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.289e-05/0.2941, allocations: 97.86 kB / 1.244 GB, free: 7.094 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/0.2942, allocations: 33.62 kB / 1.244 GB, free: 7.055 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.763e-05/0.2942, allocations: 88.27 kB / 1.244 GB, free: 6.965 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.38e-05/0.2942, allocations: 3.953 kB / 1.244 GB, free: 6.961 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.323e-05/0.2943, allocations: 13.72 kB / 1.244 GB, free: 6.941 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.2944, allocations: 314.8 kB / 1.245 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.435e-05/0.2945, allocations: 11.98 kB / 1.245 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.017e-05/0.2946, allocations: 23.97 kB / 1.245 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001619/0.2948, allocations: 40.89 kB / 1.245 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.2948, allocations: 3.938 kB / 1.245 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000204/0.295, allocations: 65.61 kB / 1.245 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.295, allocations: 8 kB / 1.245 GB, free: 6.465 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.295, allocations: 0 / 1.245 GB, free: 6.465 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.295, allocations: 0 / 1.245 GB, free: 6.465 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.662e-05/0.2951, allocations: 15.95 kB / 1.245 GB, free: 6.449 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.2951, allocations: 0 / 1.245 GB, free: 6.449 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.619e-05/0.2952, allocations: 4 kB / 1.245 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.084e-06/0.2952, allocations: 4 kB / 1.245 GB, free: 6.441 MB / 0.9981 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 8.704e-05/0.2953, allocations: 118.3 kB / 1.245 GB, free: 6.316 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.267e-05/0.2953, allocations: 0 / 1.245 GB, free: 6.316 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002442/0.2956, allocations: 72.78 kB / 1.245 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.2956, allocations: 192 / 1.245 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.2956, allocations: 0 / 1.245 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.2956, allocations: 3.984 kB / 1.245 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001747/0.2958, allocations: 161.5 kB / 1.245 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.2958, allocations: 0 / 1.245 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.289e-05/0.2958, allocations: 15.92 kB / 1.245 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.2959, allocations: 0 / 1.245 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.2959, allocations: 3.938 kB / 1.245 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.2959, allocations: 0 / 1.245 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.2959, allocations: 0 / 1.245 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002541/0.2961, allocations: 167.5 kB / 1.245 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.62e-05/0.2962, allocations: 85.05 kB / 1.245 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.624e-05/0.2962, allocations: 4 kB / 1.245 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.533e-05/0.2963, allocations: 0 / 1.245 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.04e-05/0.2963, allocations: 11.98 kB / 1.245 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-06/0.2964, allocations: 4.031 kB / 1.245 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.566e-05/0.2964, allocations: 79.28 kB / 1.246 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.5e-07/0.2964, allocations: 0 / 1.246 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002297/0.2967, allocations: 4 kB / 1.246 GB, free: 5.625 MB / 0.9981 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.0006056/0.2973, allocations: 0.6967 MB / 1.246 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002064/0.2975, allocations: 39.95 kB / 1.246 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.2975, allocations: 0 / 1.246 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.921e-05/0.2976, allocations: 19.98 kB / 1.246 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002665/0.2979, allocations: 1.094 kB / 1.246 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003993/0.2983, allocations: 139.2 kB / 1.246 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003042/0.2986, allocations: 0.6768 MB / 1.247 GB, free: 3.961 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.29e-05/0.2986, allocations: 4 kB / 1.247 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.457e-05/0.2987, allocations: 11.44 kB / 1.247 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of SimCode: time 2.51e-07/0.2987, allocations: 0 / 1.247 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02096/0.3196, allocations: 1.27 MB / 1.248 GB, free: 2.754 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.71/8.03, allocations: 9.438 kB / 1.248 GB, free: 2.746 MB / 0.9981 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 400 --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