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.006182/0.006186, allocations: 104.6 kB / 15.74 MB, free: 6.492 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.001343/0.001343, allocations: 190 kB / 16.67 MB, free: 6.379 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.367/1.367, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.671/2.671, allocations: 461.9 MB / 0.7348 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.00138, allocations: 67.91 kB / 1.054 GB, free: 7.648 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2975/0.2989, allocations: 157.4 MB / 1.207 GB, free: 10.15 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.00192/0.3009, allocations: 0.6061 MB / 1.208 GB, free: 9.539 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00145/0.3024, allocations: 1.108 MB / 1.209 GB, free: 8.418 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.952e-05/0.3024, allocations: 0 / 1.209 GB, free: 8.418 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.263e-05/0.3025, allocations: 3.938 kB / 1.209 GB, free: 8.414 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.59e-05/0.3026, allocations: 11.92 kB / 1.209 GB, free: 8.402 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005355/0.3031, allocations: 118.4 kB / 1.209 GB, free: 8.289 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001758/0.3033, allocations: 95.81 kB / 1.209 GB, free: 8.195 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.384e-05/0.3034, allocations: 4 kB / 1.209 GB, free: 8.191 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.126e-05/0.3035, allocations: 39.91 kB / 1.209 GB, free: 8.152 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000106/0.3036, allocations: 35.89 kB / 1.209 GB, free: 8.117 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.353e-05/0.3036, allocations: 8 kB / 1.209 GB, free: 8.109 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.824e-05/0.3037, allocations: 23.98 kB / 1.209 GB, free: 8.086 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.857e-05/0.3038, allocations: 3.984 kB / 1.209 GB, free: 8.082 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.705e-05/0.3038, allocations: 31.92 kB / 1.209 GB, free: 8.051 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001526/0.304, allocations: 83.78 kB / 1.209 GB, free: 7.969 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.304, allocations: 7.938 kB / 1.209 GB, free: 7.961 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.834e-06/0.304, allocations: 3.938 kB / 1.209 GB, free: 7.957 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.304, allocations: 0 / 1.209 GB, free: 7.957 MB / 0.9669 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.00044/0.3045, allocations: 377.3 kB / 1.21 GB, free: 7.531 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.3045, allocations: 12.62 kB / 1.21 GB, free: 7.52 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.318e-05/0.3045, allocations: 38.75 kB / 1.21 GB, free: 7.473 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.395e-05/0.3046, allocations: 8.844 kB / 1.21 GB, free: 7.465 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001057/0.3047, allocations: 168.4 kB / 1.21 GB, free: 7.262 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.766e-05/0.3047, allocations: 4.375 kB / 1.21 GB, free: 7.258 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.196e-05/0.3048, allocations: 4.375 kB / 1.21 GB, free: 7.254 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.781e-05/0.3048, allocations: 38.25 kB / 1.21 GB, free: 7.211 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.3049, allocations: 7.938 kB / 1.21 GB, free: 7.203 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.374e-06/0.3049, allocations: 0 / 1.21 GB, free: 7.203 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.3049, allocations: 0 / 1.21 GB, free: 7.203 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.577e-05/0.3049, allocations: 15.94 kB / 1.21 GB, free: 7.188 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000361/0.3053, allocations: 292.8 kB / 1.21 GB, free: 6.852 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.665e-05/0.3054, allocations: 30.52 kB / 1.21 GB, free: 6.812 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.527e-05/0.3054, allocations: 12.91 kB / 1.21 GB, free: 6.797 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 6.522e-06/0.3054, allocations: 0 / 1.21 GB, free: 6.797 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001227/0.3055, allocations: 67.33 kB / 1.21 GB, free: 6.719 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.163e-06/0.3055, allocations: 0 / 1.21 GB, free: 6.719 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0001888/0.3057, allocations: 69.59 kB / 1.21 GB, free: 6.645 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.429e-05/0.3058, allocations: 51.41 kB / 1.211 GB, free: 6.582 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.614e-05/0.3059, allocations: 109.8 kB / 1.211 GB, free: 6.465 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.083e-05/0.3059, allocations: 25.7 kB / 1.211 GB, free: 6.434 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.525e-05/0.3059, allocations: 88.14 kB / 1.211 GB, free: 6.344 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.158e-05/0.306, allocations: 3.906 kB / 1.211 GB, free: 6.34 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.562e-05/0.306, allocations: 41.69 kB / 1.211 GB, free: 6.293 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.695e-05/0.3061, allocations: 314.8 kB / 1.211 GB, free: 5.977 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.897e-05/0.3062, allocations: 31.98 kB / 1.211 GB, free: 5.945 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.373e-05/0.3063, allocations: 50.48 kB / 1.211 GB, free: 5.887 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001148/0.3064, allocations: 84.22 kB / 1.211 GB, free: 5.789 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3064, allocations: 4 kB / 1.211 GB, free: 5.785 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002465/0.3067, allocations: 155.2 kB / 1.211 GB, free: 5.621 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.151e-05/0.3067, allocations: 37.7 kB / 1.211 GB, free: 5.578 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.3068, allocations: 0 / 1.211 GB, free: 5.578 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.3068, allocations: 4 kB / 1.211 GB, free: 5.574 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.512e-05/0.3068, allocations: 7.875 kB / 1.211 GB, free: 5.566 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.3068, allocations: 4 kB / 1.211 GB, free: 5.562 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001897/0.307, allocations: 23.97 kB / 1.211 GB, free: 5.539 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.9e-05/0.3071, allocations: 12.05 kB / 1.211 GB, free: 5.527 MB / 0.9669 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 8.579e-05/0.3072, allocations: 121.7 kB / 1.212 GB, free: 5.398 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.641e-05/0.3072, allocations: 4 kB / 1.212 GB, free: 5.395 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.643e-05/0.3072, allocations: 8.141 kB / 1.212 GB, free: 5.379 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.3072, allocations: 3.984 kB / 1.212 GB, free: 5.375 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.3072, allocations: 0 / 1.212 GB, free: 5.375 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.3072, allocations: 3.984 kB / 1.212 GB, free: 5.371 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000109/0.3074, allocations: 161.6 kB / 1.212 GB, free: 5.164 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3074, allocations: 0 / 1.212 GB, free: 5.164 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.832e-05/0.3074, allocations: 8 kB / 1.212 GB, free: 5.156 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.3074, allocations: 0 / 1.212 GB, free: 5.156 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.3074, allocations: 3.984 kB / 1.212 GB, free: 5.152 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3074, allocations: 0 / 1.212 GB, free: 5.152 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3074, allocations: 0 / 1.212 GB, free: 5.152 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001091/0.3075, allocations: 93.41 kB / 1.212 GB, free: 5.043 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.23e-05/0.3076, allocations: 81.11 kB / 1.212 GB, free: 4.945 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.307e-05/0.3076, allocations: 0 / 1.212 GB, free: 4.945 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.559e-05/0.3076, allocations: 7.984 kB / 1.212 GB, free: 4.938 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.285e-05/0.3076, allocations: 4 kB / 1.212 GB, free: 4.934 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-06/0.3076, allocations: 0 / 1.212 GB, free: 4.934 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.332e-05/0.3077, allocations: 87.27 kB / 1.212 GB, free: 4.848 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3077, allocations: 0 / 1.212 GB, free: 4.848 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002191/0.3079, allocations: 19.98 kB / 1.212 GB, free: 4.828 MB / 0.9669 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.0004004/0.3083, allocations: 0.6318 MB / 1.213 GB, free: 4.168 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002013/0.3085, allocations: 123.4 kB / 1.213 GB, free: 4.035 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3086, allocations: 0 / 1.213 GB, free: 4.035 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 3.252e-05/0.3086, allocations: 15.94 kB / 1.213 GB, free: 4.02 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002065/0.3088, allocations: 14.42 kB / 1.213 GB, free: 4.008 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001311/0.3101, allocations: 1.405 MB / 1.214 GB, free: 2.504 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002061/0.3103, allocations: 0.6768 MB / 1.215 GB, free: 1.801 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.36e-05/0.3104, allocations: 4 kB / 1.215 GB, free: 1.797 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.022e-05/0.3104, allocations: 15.42 kB / 1.215 GB, free: 1.785 MB / 0.9669 GB Notification: Performance of SimCode: time 3.4e-07/0.3104, allocations: 4.094 kB / 1.215 GB, free: 1.781 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01889/0.3293, allocations: 2.056 MB / 1.217 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.75/8.08, allocations: 14.12 kB / 1.217 GB, free: 15.87 MB / 0.9825 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