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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.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.001182/0.001182, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001176/0.001176, allocations: 195.5 kB / 16.14 MB, free: 6.645 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.169/1.169, allocations: 222.9 MB / 239.8 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.375/2.375, allocations: 461.8 MB / 0.7342 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 65.52 kB / 0.8985 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2336/0.2348, allocations: 157.4 MB / 1.052 GB, free: 8.219 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001579/0.2364, allocations: 0.6611 MB / 1.053 GB, free: 7.555 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001085/0.2375, allocations: 1.127 MB / 1.054 GB, free: 6.414 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.418e-05/0.2375, allocations: 0 / 1.054 GB, free: 6.414 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.483e-05/0.2376, allocations: 3.938 kB / 1.054 GB, free: 6.41 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.305e-05/0.2376, allocations: 0 / 1.054 GB, free: 6.41 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003288/0.2379, allocations: 113.8 kB / 1.054 GB, free: 6.305 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.313e-05/0.238, allocations: 79.83 kB / 1.054 GB, free: 6.227 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 6.721e-05/0.2381, allocations: 11.98 kB / 1.054 GB, free: 6.215 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.319e-05/0.2382, allocations: 31.91 kB / 1.054 GB, free: 6.184 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.899e-05/0.2382, allocations: 27.91 kB / 1.054 GB, free: 6.156 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.88e-05/0.2383, allocations: 4 kB / 1.054 GB, free: 6.152 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 5.453e-05/0.2383, allocations: 19.98 kB / 1.054 GB, free: 6.133 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.296e-05/0.2383, allocations: 3.938 kB / 1.054 GB, free: 6.129 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.107e-05/0.2384, allocations: 31.89 kB / 1.054 GB, free: 6.098 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001163/0.2385, allocations: 83.78 kB / 1.054 GB, free: 6.016 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.2385, allocations: 0 / 1.054 GB, free: 6.016 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.82e-07/0.2385, allocations: 4 kB / 1.054 GB, free: 6.012 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.996e-06/0.2385, allocations: 0 / 1.054 GB, free: 6.012 MB / 0.8106 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.0003482/0.2389, allocations: 381.4 kB / 1.055 GB, free: 5.582 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.159e-05/0.2389, allocations: 15.97 kB / 1.055 GB, free: 5.566 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.437e-05/0.239, allocations: 30.75 kB / 1.055 GB, free: 5.527 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.386e-05/0.239, allocations: 4.938 kB / 1.055 GB, free: 5.523 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.741e-05/0.2391, allocations: 168.4 kB / 1.055 GB, free: 5.32 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.2391, allocations: 384 / 1.055 GB, free: 5.32 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.796e-05/0.2391, allocations: 4.375 kB / 1.055 GB, free: 5.316 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.112e-05/0.2392, allocations: 46.19 kB / 1.055 GB, free: 5.266 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.623e-06/0.2392, allocations: 3.938 kB / 1.055 GB, free: 5.262 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.941e-06/0.2392, allocations: 4 kB / 1.055 GB, free: 5.258 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.256e-06/0.2392, allocations: 0 / 1.055 GB, free: 5.258 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.293e-05/0.2393, allocations: 12 kB / 1.055 GB, free: 5.246 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003027/0.2396, allocations: 296.7 kB / 1.055 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.41e-05/0.2396, allocations: 38.45 kB / 1.055 GB, free: 4.859 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.065e-05/0.2397, allocations: 12.92 kB / 1.055 GB, free: 4.844 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 6.833e-06/0.2397, allocations: 4 kB / 1.055 GB, free: 4.84 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001072/0.2398, allocations: 63.39 kB / 1.055 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.2398, allocations: 0 / 1.055 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0001666/0.24, allocations: 73.8 kB / 1.055 GB, free: 4.688 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.827e-05/0.24, allocations: 51.41 kB / 1.056 GB, free: 4.625 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.639e-05/0.2401, allocations: 109.8 kB / 1.056 GB, free: 4.508 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.152e-05/0.2401, allocations: 33.7 kB / 1.056 GB, free: 4.469 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.109e-05/0.2402, allocations: 84.14 kB / 1.056 GB, free: 4.383 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.408e-05/0.2402, allocations: 15.89 kB / 1.056 GB, free: 4.367 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.218e-05/0.2402, allocations: 29.7 kB / 1.056 GB, free: 4.332 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.31e-05/0.2403, allocations: 314.8 kB / 1.056 GB, free: 4.016 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.112e-05/0.2404, allocations: 31.98 kB / 1.056 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.709e-05/0.2405, allocations: 50.56 kB / 1.056 GB, free: 3.926 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001029/0.2406, allocations: 88.14 kB / 1.056 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.2406, allocations: 3.938 kB / 1.056 GB, free: 3.82 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000225/0.2408, allocations: 151.3 kB / 1.056 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.063e-05/0.2409, allocations: 37.69 kB / 1.056 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.2409, allocations: 3.984 kB / 1.056 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.706e-06/0.2409, allocations: 0 / 1.056 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.917e-05/0.2409, allocations: 4 kB / 1.056 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.2409, allocations: 0 / 1.056 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001923/0.2411, allocations: 32.03 kB / 1.056 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.75e-05/0.2412, allocations: 7.984 kB / 1.056 GB, free: 3.57 MB / 0.8106 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 6.951e-05/0.2412, allocations: 121.7 kB / 1.057 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.118e-05/0.2413, allocations: 7.906 kB / 1.057 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.916e-05/0.2413, allocations: 3.906 kB / 1.057 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.2413, allocations: 0 / 1.057 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.2413, allocations: 4 kB / 1.057 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.2413, allocations: 7.984 kB / 1.057 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.54e-05/0.2414, allocations: 161.5 kB / 1.057 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.113e-06/0.2414, allocations: 4 kB / 1.057 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.445e-05/0.2414, allocations: 0 / 1.057 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.2414, allocations: 0 / 1.057 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.2415, allocations: 12.05 kB / 1.057 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.2415, allocations: 4 kB / 1.057 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.2415, allocations: 0 / 1.057 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.676e-05/0.2416, allocations: 81.06 kB / 1.057 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 2.634e-05/0.2416, allocations: 85.02 kB / 1.057 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.082e-05/0.2416, allocations: 0 / 1.057 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.703e-05/0.2416, allocations: 7.984 kB / 1.057 GB, free: 2.98 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.958e-05/0.2417, allocations: 0 / 1.057 GB, free: 2.98 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.2417, allocations: 0 / 1.057 GB, free: 2.98 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.724e-05/0.2417, allocations: 91.27 kB / 1.057 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2417, allocations: 0 / 1.057 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001968/0.2419, allocations: 16 kB / 1.057 GB, free: 2.875 MB / 0.8106 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.0003141/0.2422, allocations: 0.6319 MB / 1.058 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001754/0.2424, allocations: 123.3 kB / 1.058 GB, free: 2.082 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.2424, allocations: 4 kB / 1.058 GB, free: 2.078 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.031e-05/0.2425, allocations: 12 kB / 1.058 GB, free: 2.066 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001705/0.2426, allocations: 16.05 kB / 1.058 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001147/0.2438, allocations: 1.391 MB / 1.059 GB, free: 0.5586 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001863/0.244, allocations: 0.6809 MB / 1.06 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.636e-05/0.244, allocations: 0 / 1.06 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.17e-05/0.244, allocations: 15.44 kB / 1.06 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.244, allocations: 0 / 1.06 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1726/0.4167, allocations: 1.843 MB / 1.062 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002713/0.417, allocations: 241.2 kB / 1.062 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.531/1.948, allocations: 4 kB / 1.062 GB, free: 13.88 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 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.mat","/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