Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.BooleanToInteger,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger",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.001257/0.001257, allocations: 108 kB / 15.6 MB, free: 132 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.001216/0.001216, allocations: 197.4 kB / 16.54 MB, free: 6.672 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.226/1.226, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.473/2.473, allocations: 469.4 MB / 0.742 GB, free: 7.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 67.41 kB / 0.9083 GB, free: 34.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2289/0.2301, allocations: 159.1 MB / 1.064 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001704/0.2318, allocations: 0.6081 MB / 1.064 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001154/0.233, allocations: 1.117 MB / 1.065 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.475e-05/0.233, allocations: 0 / 1.065 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.206e-05/0.2331, allocations: 3.938 kB / 1.065 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.923e-05/0.2331, allocations: 3.938 kB / 1.065 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004081/0.2335, allocations: 122.6 kB / 1.065 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001211/0.2337, allocations: 99.75 kB / 1.066 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.458e-05/0.2337, allocations: 12 kB / 1.066 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.816e-05/0.2338, allocations: 31.97 kB / 1.066 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.638e-05/0.2339, allocations: 27.91 kB / 1.066 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.309e-05/0.2339, allocations: 8 kB / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 6.63e-05/0.234, allocations: 23.97 kB / 1.066 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.52e-05/0.234, allocations: 4 kB / 1.066 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.233e-05/0.2341, allocations: 35.84 kB / 1.066 GB, free: 12.37 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001317/0.2342, allocations: 71.86 kB / 1.066 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.2342, allocations: 7.922 kB / 1.066 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.242e-06/0.2342, allocations: 0 / 1.066 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.2342, allocations: 0 / 1.066 GB, free: 12.29 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003663/0.2346, allocations: 385.4 kB / 1.066 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.232e-05/0.2346, allocations: 12.03 kB / 1.066 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.428e-05/0.2347, allocations: 34.69 kB / 1.066 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.668e-05/0.2347, allocations: 4.938 kB / 1.066 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.647e-05/0.2348, allocations: 168.3 kB / 1.066 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.2348, allocations: 4.375 kB / 1.066 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.089e-05/0.2348, allocations: 8.359 kB / 1.066 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.815e-05/0.2349, allocations: 42.25 kB / 1.066 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-06/0.2349, allocations: 3.938 kB / 1.066 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.383e-06/0.235, allocations: 4 kB / 1.066 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.235, allocations: 0 / 1.066 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.266e-05/0.235, allocations: 7.938 kB / 1.066 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000327/0.2353, allocations: 300.8 kB / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.766e-05/0.2354, allocations: 30.52 kB / 1.067 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.012e-05/0.2354, allocations: 8.922 kB / 1.067 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 7.273e-06/0.2354, allocations: 4 kB / 1.067 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000121/0.2356, allocations: 67.36 kB / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.372e-06/0.2356, allocations: 0 / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0001703/0.2358, allocations: 77.52 kB / 1.067 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.231e-05/0.2358, allocations: 55.41 kB / 1.067 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.433e-05/0.2359, allocations: 105.8 kB / 1.067 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.041e-05/0.2359, allocations: 25.7 kB / 1.067 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.555e-05/0.2359, allocations: 92.14 kB / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.074e-05/0.236, allocations: 7.906 kB / 1.067 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.899e-05/0.236, allocations: 29.7 kB / 1.067 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.449e-05/0.2361, allocations: 318.8 kB / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.08e-05/0.2362, allocations: 27.98 kB / 1.068 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.825e-05/0.2363, allocations: 50.56 kB / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001062/0.2364, allocations: 96.2 kB / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.2364, allocations: 0 / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002346/0.2366, allocations: 147.3 kB / 1.068 GB, free: 9.945 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.118e-05/0.2367, allocations: 41.62 kB / 1.068 GB, free: 9.898 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.2367, allocations: 4 kB / 1.068 GB, free: 9.895 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.749e-06/0.2367, allocations: 0 / 1.068 GB, free: 9.895 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.254e-05/0.2367, allocations: 4 kB / 1.068 GB, free: 9.891 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.2368, allocations: 0 / 1.068 GB, free: 9.891 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002032/0.237, allocations: 35.88 kB / 1.068 GB, free: 9.855 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.84e-05/0.237, allocations: 7.984 kB / 1.068 GB, free: 9.848 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.y,booToInt.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 7.307e-05/0.2371, allocations: 117.8 kB / 1.068 GB, free: 9.723 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.082e-05/0.2371, allocations: 4 kB / 1.068 GB, free: 9.719 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.033e-05/0.2371, allocations: 7.906 kB / 1.068 GB, free: 9.707 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.2371, allocations: 0 / 1.068 GB, free: 9.707 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.2371, allocations: 0 / 1.068 GB, free: 9.707 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.2371, allocations: 8 kB / 1.068 GB, free: 9.699 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001104/0.2372, allocations: 161.6 kB / 1.068 GB, free: 9.492 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.2373, allocations: 0 / 1.068 GB, free: 9.492 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.711e-05/0.2373, allocations: 4 kB / 1.068 GB, free: 9.488 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.2373, allocations: 0 / 1.068 GB, free: 9.488 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.092e-06/0.2373, allocations: 0 / 1.068 GB, free: 9.488 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.2373, allocations: 3.938 kB / 1.068 GB, free: 9.484 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.2373, allocations: 4 kB / 1.068 GB, free: 9.48 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000104/0.2374, allocations: 96.89 kB / 1.068 GB, free: 9.367 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.227e-05/0.2375, allocations: 81.11 kB / 1.068 GB, free: 9.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.136e-05/0.2375, allocations: 0 / 1.068 GB, free: 9.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.372e-05/0.2375, allocations: 0 / 1.068 GB, free: 9.27 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.302e-05/0.2375, allocations: 7.984 kB / 1.068 GB, free: 9.262 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.2375, allocations: 0 / 1.068 GB, free: 9.262 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.75e-05/0.2376, allocations: 91.66 kB / 1.068 GB, free: 9.172 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2376, allocations: 0 / 1.068 GB, free: 9.172 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002062/0.2378, allocations: 12 kB / 1.068 GB, free: 9.16 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: 4 ($whenCondition1,$whenCondition2,booToInt.y,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.0003337/0.2381, allocations: 0.6363 MB / 1.069 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001894/0.2383, allocations: 127.3 kB / 1.069 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2383, allocations: 0 / 1.069 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.174e-05/0.2384, allocations: 20.36 kB / 1.069 GB, free: 8.34 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001803/0.2386, allocations: 12.11 kB / 1.069 GB, free: 8.328 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001198/0.2398, allocations: 1.389 MB / 1.071 GB, free: 6.84 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001864/0.24, allocations: 0.6768 MB / 1.071 GB, free: 6.137 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.941e-05/0.24, allocations: 4.344 kB / 1.071 GB, free: 6.133 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.48e-05/0.24, allocations: 15.44 kB / 1.071 GB, free: 6.117 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.24, allocations: 4 kB / 1.071 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01579/0.2558, allocations: 1.991 MB / 1.073 GB, free: 4.258 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.688/6.944, allocations: 13.88 kB / 1.073 GB, free: 4.25 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 Buildings_latest_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches