Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Conversions.Validation.BooleanToReal,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,fileNamePrefix="Buildings_9_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.008311/0.008311, allocations: 101.1 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.00195/0.001951, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.443/1.443, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.431/2.431, allocations: 390.2 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 67.3 kB / 0.9504 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2868/0.288, allocations: 140.4 MB / 1.087 GB, free: 1.988 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001995/0.2901, allocations: 0.6064 MB / 1.088 GB, free: 1.383 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00144/0.2916, allocations: 1.122 MB / 1.089 GB, free: 252 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.038e-05/0.2916, allocations: 0 / 1.089 GB, free: 252 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.58e-05/0.2917, allocations: 0 / 1.089 GB, free: 252 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.955e-05/0.2918, allocations: 3.938 kB / 1.089 GB, free: 248 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005142/0.2923, allocations: 122.3 kB / 1.089 GB, free: 128 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001692/0.2925, allocations: 99.81 kB / 1.089 GB, free: 28 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 9.785e-05/0.2926, allocations: 11.98 kB / 1.089 GB, free: 16 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 8.755e-05/0.2927, allocations: 35.91 kB / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001031/0.2928, allocations: 27.91 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.321e-05/0.2928, allocations: 8 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 7.449e-05/0.2929, allocations: 19.98 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.253e-05/0.2929, allocations: 19.92 kB / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.521e-05/0.293, allocations: 27.91 kB / 1.09 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001687/0.2932, allocations: 87.77 kB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2932, allocations: 0 / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.302e-06/0.2932, allocations: 4 kB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.64e-06/0.2932, allocations: 0 / 1.09 GB, free: 15.79 MB / 0.8575 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.0005438/0.2937, allocations: 376 kB / 1.09 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/0.2938, allocations: 12.03 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.304e-05/0.2938, allocations: 30.75 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.338e-05/0.2939, allocations: 4.938 kB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/0.294, allocations: 181.1 kB / 1.09 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.093e-05/0.2941, allocations: 8.297 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.705e-05/0.2941, allocations: 4.375 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.882e-05/0.2942, allocations: 42.25 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.2942, allocations: 3.938 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.2942, allocations: 0 / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.2942, allocations: 0 / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.397e-05/0.2943, allocations: 12 kB / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004106/0.2947, allocations: 288.9 kB / 1.091 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.911e-05/0.2948, allocations: 34.45 kB / 1.091 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.571e-05/0.2948, allocations: 12.92 kB / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.099e-05/0.2948, allocations: 0 / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001601/0.295, allocations: 59.39 kB / 1.091 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.295, allocations: 0 / 1.091 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0002034/0.2952, allocations: 77.55 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.232e-05/0.2953, allocations: 55.41 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.242e-05/0.2954, allocations: 113.8 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.274e-05/0.2954, allocations: 29.7 kB / 1.091 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.172e-05/0.2954, allocations: 84.12 kB / 1.091 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.502e-05/0.2955, allocations: 11.91 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.176e-05/0.2955, allocations: 29.7 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.532e-05/0.2956, allocations: 314.8 kB / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.174e-05/0.2957, allocations: 39.92 kB / 1.091 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.548e-05/0.2958, allocations: 50.56 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001183/0.2959, allocations: 88.2 kB / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.2959, allocations: 4 kB / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002512/0.2962, allocations: 147.3 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.968e-05/0.2963, allocations: 41.75 kB / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.2963, allocations: 0 / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.2963, allocations: 0 / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.823e-05/0.2963, allocations: 4 kB / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.2964, allocations: 0 / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000204/0.2966, allocations: 31.88 kB / 1.092 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.182e-05/0.2966, allocations: 7.984 kB / 1.092 GB, free: 13.36 MB / 0.8575 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 0.0001002/0.2967, allocations: 121.7 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.234e-05/0.2967, allocations: 8 kB / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.536e-05/0.2968, allocations: 3.906 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.2968, allocations: 0 / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.87e-06/0.2968, allocations: 0 / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.2968, allocations: 4 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001248/0.2969, allocations: 161.6 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.2969, allocations: 0 / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.959e-05/0.2969, allocations: 8 kB / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.2969, allocations: 0 / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.297, allocations: 0 / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.297, allocations: 4 kB / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.297, allocations: 7.984 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001186/0.2971, allocations: 89.19 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.165e-05/0.2971, allocations: 81.05 kB / 1.092 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.285e-05/0.2972, allocations: 0 / 1.092 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.474e-05/0.2972, allocations: 0 / 1.092 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.94e-05/0.2972, allocations: 11.92 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/0.2972, allocations: 4 kB / 1.092 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.45e-05/0.2973, allocations: 87.28 kB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of sort global known variables: time 3.5e-07/0.2973, allocations: 0 / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002215/0.2975, allocations: 16 kB / 1.092 GB, free: 12.66 MB / 0.8575 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.000438/0.298, allocations: 0.6279 MB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002311/0.2982, allocations: 135.3 kB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2982, allocations: 0 / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.571e-05/0.2983, allocations: 16 kB / 1.093 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002108/0.2985, allocations: 15.98 kB / 1.093 GB, free: 11.83 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00143/0.2999, allocations: 1.385 MB / 1.094 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002574/0.3002, allocations: 0.6846 MB / 1.095 GB, free: 9.633 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.181e-05/0.3002, allocations: 256 / 1.095 GB, free: 9.633 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.576e-05/0.3003, allocations: 19.42 kB / 1.095 GB, free: 9.613 MB / 0.8575 GB Notification: Performance of SimCode: time 4.1e-07/0.3003, allocations: 0 / 1.095 GB, free: 9.613 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01795/0.3182, allocations: 2.016 MB / 1.097 GB, free: 7.719 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.704/8.022, allocations: 10.47 kB / 1.097 GB, free: 7.711 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 Buildings_9_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches