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.009794/0.009793, allocations: 106 kB / 15.74 MB, free: 5.992 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.001831/0.001831, allocations: 196 kB / 16.67 MB, free: 5.914 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.355/1.355, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.536/2.536, allocations: 461.9 MB / 0.7348 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 55.91 kB / 1.054 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8399/0.8414, allocations: 157.4 MB / 1.207 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001805/0.8432, allocations: 0.5997 MB / 1.208 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001427/0.8447, allocations: 1.108 MB / 1.209 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.763e-05/0.8447, allocations: 0 / 1.209 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.873e-05/0.8448, allocations: 3.938 kB / 1.209 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.844e-05/0.8449, allocations: 7.938 kB / 1.209 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004623/0.8454, allocations: 126.4 kB / 1.209 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001662/0.8455, allocations: 103.8 kB / 1.209 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.25e-05/0.8456, allocations: 11.98 kB / 1.209 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.671e-05/0.8457, allocations: 31.98 kB / 1.209 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 9.897e-05/0.8458, allocations: 35.88 kB / 1.209 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.2e-05/0.8458, allocations: 8 kB / 1.209 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 7.663e-05/0.8459, allocations: 27.92 kB / 1.209 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.783e-05/0.846, allocations: 0 / 1.209 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.887e-05/0.846, allocations: 35.86 kB / 1.209 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001737/0.8462, allocations: 79.78 kB / 1.209 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.8462, allocations: 0 / 1.209 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.403e-06/0.8462, allocations: 0 / 1.209 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.8462, allocations: 4 kB / 1.209 GB, free: 11.4 MB / 0.9356 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.0004773/0.8467, allocations: 383.4 kB / 1.21 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.8468, allocations: 12.02 kB / 1.21 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.825e-05/0.8468, allocations: 30.75 kB / 1.21 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.097e-05/0.8468, allocations: 8.922 kB / 1.21 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000122/0.847, allocations: 172.3 kB / 1.21 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.433e-05/0.847, allocations: 8.375 kB / 1.21 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.149e-05/0.847, allocations: 8.375 kB / 1.21 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.716e-05/0.8471, allocations: 38.19 kB / 1.21 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.8471, allocations: 7.938 kB / 1.21 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.8471, allocations: 4 kB / 1.21 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.8472, allocations: 4 kB / 1.21 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.796e-05/0.8472, allocations: 7.984 kB / 1.21 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000404/0.8476, allocations: 288.9 kB / 1.21 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 6.702e-05/0.8477, allocations: 26.5 kB / 1.21 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.664e-05/0.8477, allocations: 12.92 kB / 1.21 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.01e-05/0.8477, allocations: 7.938 kB / 1.21 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001264/0.8479, allocations: 59.39 kB / 1.21 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.8479, allocations: 0 / 1.21 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.0001882/0.8481, allocations: 73.59 kB / 1.21 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.511e-05/0.8481, allocations: 51.41 kB / 1.211 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.841e-05/0.8482, allocations: 109.8 kB / 1.211 GB, free: 9.902 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.121e-05/0.8482, allocations: 29.7 kB / 1.211 GB, free: 9.867 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.534e-05/0.8483, allocations: 96.12 kB / 1.211 GB, free: 9.77 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.128e-05/0.8483, allocations: 3.906 kB / 1.211 GB, free: 9.766 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.206e-05/0.8484, allocations: 29.7 kB / 1.211 GB, free: 9.73 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.8485, allocations: 314.8 kB / 1.211 GB, free: 9.414 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.432e-05/0.8486, allocations: 27.98 kB / 1.211 GB, free: 9.387 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.001e-05/0.8487, allocations: 54.86 kB / 1.211 GB, free: 9.324 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001677/0.8488, allocations: 100.1 kB / 1.211 GB, free: 9.211 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.8488, allocations: 3.938 kB / 1.211 GB, free: 9.207 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002492/0.8491, allocations: 147.2 kB / 1.211 GB, free: 9.051 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.604e-05/0.8491, allocations: 37.7 kB / 1.211 GB, free: 9.008 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.8492, allocations: 0 / 1.211 GB, free: 9.008 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.8492, allocations: 0 / 1.211 GB, free: 9.008 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.208e-05/0.8492, allocations: 7.984 kB / 1.211 GB, free: 9 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.8492, allocations: 80 / 1.211 GB, free: 9 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001928/0.8494, allocations: 31.97 kB / 1.211 GB, free: 8.969 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.085e-05/0.8495, allocations: 11.98 kB / 1.211 GB, free: 8.957 MB / 0.9356 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 9.335e-05/0.8496, allocations: 117.8 kB / 1.212 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.839e-06/0.8496, allocations: 0 / 1.212 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.544e-05/0.8496, allocations: 11.89 kB / 1.212 GB, free: 8.809 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.8496, allocations: 0 / 1.212 GB, free: 8.809 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.8496, allocations: 0 / 1.212 GB, free: 8.809 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.8496, allocations: 4 kB / 1.212 GB, free: 8.805 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001176/0.8498, allocations: 173.6 kB / 1.212 GB, free: 8.586 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.8498, allocations: 4.062 kB / 1.212 GB, free: 8.582 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.917e-05/0.8498, allocations: 0 / 1.212 GB, free: 8.582 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.8498, allocations: 8.172 kB / 1.212 GB, free: 8.574 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.535e-06/0.8498, allocations: 0 / 1.212 GB, free: 8.574 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.8498, allocations: 0 / 1.212 GB, free: 8.574 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.8498, allocations: 0 / 1.212 GB, free: 8.574 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001143/0.8499, allocations: 88.95 kB / 1.212 GB, free: 8.469 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.056e-05/0.85, allocations: 85.09 kB / 1.212 GB, free: 8.367 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.403e-05/0.85, allocations: 8 kB / 1.212 GB, free: 8.359 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.389e-05/0.85, allocations: 0 / 1.212 GB, free: 8.359 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.498e-05/0.8501, allocations: 0 / 1.212 GB, free: 8.359 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.313e-06/0.8501, allocations: 4 kB / 1.212 GB, free: 8.355 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.097e-05/0.8501, allocations: 87.27 kB / 1.212 GB, free: 8.27 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8501, allocations: 0 / 1.212 GB, free: 8.27 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000206/0.8503, allocations: 16 kB / 1.212 GB, free: 8.254 MB / 0.9356 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.0004162/0.8507, allocations: 0.6318 MB / 1.213 GB, free: 7.594 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000209/0.851, allocations: 127.3 kB / 1.213 GB, free: 7.457 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.851, allocations: 0 / 1.213 GB, free: 7.457 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 3.232e-05/0.851, allocations: 19.92 kB / 1.213 GB, free: 7.438 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001891/0.8512, allocations: 8.062 kB / 1.213 GB, free: 7.43 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00144/0.8527, allocations: 1.389 MB / 1.214 GB, free: 5.938 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002414/0.8529, allocations: 0.6846 MB / 1.215 GB, free: 5.227 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.445e-05/0.853, allocations: 4 kB / 1.215 GB, free: 5.223 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.824e-05/0.853, allocations: 7.438 kB / 1.215 GB, free: 5.219 MB / 0.9356 GB Notification: Performance of SimCode: time 2.2e-07/0.853, allocations: 3.938 kB / 1.215 GB, free: 5.215 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01874/0.8717, allocations: 2.059 MB / 1.217 GB, free: 3.312 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.598/8.469, allocations: 10.75 kB / 1.217 GB, free: 3.305 MB / 0.9356 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