Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.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.Conversions.Validation.BooleanToReal,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal",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.004324/0.004324, allocations: 96.52 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.00124/0.00124, allocations: 201 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.424/1.424, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.923/2.923, allocations: 482.4 MB / 0.7548 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001972, allocations: 67.89 kB / 1.083 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2867/0.2887, allocations: 162.2 MB / 1.241 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001817/0.2906, allocations: 0.6126 MB / 1.242 GB, free: 9.609 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001532/0.2921, allocations: 1.1 MB / 1.243 GB, free: 8.496 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.415e-05/0.2922, allocations: 0 / 1.243 GB, free: 8.496 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.335e-05/0.2922, allocations: 0 / 1.243 GB, free: 8.496 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.278e-05/0.2923, allocations: 7.938 kB / 1.243 GB, free: 8.488 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004864/0.2928, allocations: 127.1 kB / 1.243 GB, free: 8.367 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001715/0.293, allocations: 99.8 kB / 1.243 GB, free: 8.27 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.019e-05/0.2931, allocations: 7.938 kB / 1.243 GB, free: 8.262 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.368e-05/0.2931, allocations: 39.97 kB / 1.243 GB, free: 8.223 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001028/0.2932, allocations: 35.89 kB / 1.243 GB, free: 8.188 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.793e-05/0.2933, allocations: 8 kB / 1.243 GB, free: 8.18 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.389e-05/0.2934, allocations: 19.98 kB / 1.243 GB, free: 8.16 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.748e-05/0.2934, allocations: 4 kB / 1.243 GB, free: 8.156 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 6.178e-05/0.2935, allocations: 35.84 kB / 1.243 GB, free: 8.121 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001602/0.2936, allocations: 79.78 kB / 1.244 GB, free: 8.043 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.175e-06/0.2936, allocations: 0 / 1.244 GB, free: 8.043 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.172e-06/0.2936, allocations: 0 / 1.244 GB, free: 8.043 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.2937, allocations: 0 / 1.244 GB, free: 8.043 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.0004756/0.2941, allocations: 389 kB / 1.244 GB, free: 7.605 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.2942, allocations: 12.03 kB / 1.244 GB, free: 7.594 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.101e-05/0.2942, allocations: 30.75 kB / 1.244 GB, free: 7.555 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.625e-05/0.2943, allocations: 4.938 kB / 1.244 GB, free: 7.551 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001355/0.2944, allocations: 172.3 kB / 1.244 GB, free: 7.344 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.946e-05/0.2944, allocations: 8.375 kB / 1.244 GB, free: 7.336 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.996e-05/0.2944, allocations: 4.375 kB / 1.244 GB, free: 7.332 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.762e-05/0.2945, allocations: 42.25 kB / 1.244 GB, free: 7.285 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.2946, allocations: 3.938 kB / 1.244 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.535e-06/0.2946, allocations: 0 / 1.244 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.2946, allocations: 4 kB / 1.244 GB, free: 7.277 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.418e-05/0.2946, allocations: 4 kB / 1.244 GB, free: 7.273 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003936/0.295, allocations: 300.8 kB / 1.244 GB, free: 6.93 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.821e-05/0.2951, allocations: 30.45 kB / 1.245 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.726e-05/0.2951, allocations: 12.92 kB / 1.245 GB, free: 6.875 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.081e-06/0.2951, allocations: 0 / 1.245 GB, free: 6.875 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001435/0.2953, allocations: 63.39 kB / 1.245 GB, free: 6.801 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.2953, allocations: 0 / 1.245 GB, free: 6.801 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0001998/0.2955, allocations: 73.61 kB / 1.245 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.119e-05/0.2955, allocations: 55.41 kB / 1.245 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.435e-05/0.2956, allocations: 109.8 kB / 1.245 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.405e-05/0.2957, allocations: 25.7 kB / 1.245 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.646e-05/0.2957, allocations: 88.14 kB / 1.245 GB, free: 6.418 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.412e-05/0.2958, allocations: 7.891 kB / 1.245 GB, free: 6.41 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.813e-05/0.2958, allocations: 33.7 kB / 1.245 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.296, allocations: 322.8 kB / 1.245 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.103e-05/0.2961, allocations: 27.98 kB / 1.245 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.923e-05/0.2962, allocations: 50.56 kB / 1.245 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001293/0.2963, allocations: 96.14 kB / 1.245 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.2963, allocations: 3.938 kB / 1.245 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002677/0.2966, allocations: 147.2 kB / 1.246 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.048e-05/0.2966, allocations: 41.69 kB / 1.246 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.2966, allocations: 0 / 1.246 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.2967, allocations: 4 kB / 1.246 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.387e-05/0.2967, allocations: 240 / 1.246 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.2967, allocations: 4.391 kB / 1.246 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002007/0.2969, allocations: 28.03 kB / 1.246 GB, free: 5.609 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.161e-05/0.297, allocations: 7.984 kB / 1.246 GB, free: 5.602 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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 9.544e-05/0.2971, allocations: 126.2 kB / 1.246 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.334e-05/0.2971, allocations: 7.984 kB / 1.246 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.237e-05/0.2971, allocations: 3.906 kB / 1.246 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-06/0.2971, allocations: 0 / 1.246 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.2971, allocations: 0 / 1.246 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.2971, allocations: 0 / 1.246 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001409/0.2973, allocations: 173.6 kB / 1.246 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2973, allocations: 4 kB / 1.246 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.692e-05/0.2973, allocations: 4 kB / 1.246 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.2973, allocations: 0 / 1.246 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.142e-06/0.2973, allocations: 0 / 1.246 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.2973, allocations: 0 / 1.246 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.2973, allocations: 0 / 1.246 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000134/0.2975, allocations: 89 kB / 1.246 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.402e-05/0.2975, allocations: 81.11 kB / 1.246 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.586e-05/0.2975, allocations: 8.062 kB / 1.246 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.742e-05/0.2976, allocations: 7.938 kB / 1.246 GB, free: 5.004 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.521e-05/0.2976, allocations: 11.92 kB / 1.246 GB, free: 4.992 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-06/0.2976, allocations: 0 / 1.246 GB, free: 4.992 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.735e-05/0.2977, allocations: 83.28 kB / 1.246 GB, free: 4.91 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2977, allocations: 0 / 1.246 GB, free: 4.91 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002167/0.2979, allocations: 16 kB / 1.246 GB, free: 4.895 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0004382/0.2983, allocations: 0.6319 MB / 1.247 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002271/0.2986, allocations: 131.3 kB / 1.247 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.2986, allocations: 0 / 1.247 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.482e-05/0.2986, allocations: 12 kB / 1.247 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001896/0.2988, allocations: 16.7 kB / 1.247 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001482/0.3003, allocations: 1.396 MB / 1.248 GB, free: 2.57 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002932/0.3006, allocations: 0.6846 MB / 1.249 GB, free: 1.859 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.906e-05/0.3006, allocations: 0 / 1.249 GB, free: 1.859 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.14e-05/0.3007, allocations: 15.42 kB / 1.249 GB, free: 1.844 MB / 0.9981 GB Notification: Performance of SimCode: time 2.41e-07/0.3007, allocations: 0 / 1.249 GB, free: 1.844 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.549/0.8497, allocations: 2.014 MB / 1.251 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.606/8.455, allocations: 10.59 kB / 1.251 GB, free: 15.16 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.csv --start-time 0 --stop-time 4 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 Buildings_latest_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches