Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,fileNamePrefix="Buildings_11_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.006137/0.006137, allocations: 100.5 kB / 15.73 MB, free: 6.008 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.001687/0.001687, allocations: 197.3 kB / 16.67 MB, free: 5.926 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.234/1.234, 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.1.0-maint.11.x/package.mo): time 2.356/2.356, allocations: 469.8 MB / 0.7425 GB, free: 3.316 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001745/0.001745, allocations: 67.89 kB / 1.065 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5961/0.5978, allocations: 159.1 MB / 1.22 GB, free: 2.02 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001518/0.5994, allocations: 0.608 MB / 1.221 GB, free: 1.414 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001268/0.6007, allocations: 1.116 MB / 1.222 GB, free: 292 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.521e-05/0.6007, allocations: 0 / 1.222 GB, free: 292 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.346e-05/0.6008, allocations: 0 / 1.222 GB, free: 292 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.438e-05/0.6008, allocations: 11.92 kB / 1.222 GB, free: 280 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004087/0.6012, allocations: 121.6 kB / 1.222 GB, free: 160 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001431/0.6014, allocations: 95.83 kB / 1.222 GB, free: 64 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 7.105e-05/0.6015, allocations: 7.984 kB / 1.222 GB, free: 56 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.27e-05/0.6015, allocations: 39.91 kB / 1.222 GB, free: 16 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 9.97e-05/0.6016, allocations: 35.97 kB / 1.222 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.204e-05/0.6017, allocations: 8 kB / 1.222 GB, free: 15.97 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 6.327e-05/0.6017, allocations: 19.98 kB / 1.222 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.483e-05/0.6018, allocations: 8 kB / 1.222 GB, free: 15.94 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 5.516e-05/0.6018, allocations: 35.77 kB / 1.222 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001376/0.602, allocations: 79.78 kB / 1.222 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.602, allocations: 0 / 1.222 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.112e-06/0.602, allocations: 0 / 1.222 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.602, allocations: 0 / 1.222 GB, free: 15.83 MB / 0.9512 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.0004153/0.6024, allocations: 388.7 kB / 1.223 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.6025, allocations: 12.03 kB / 1.223 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.305e-05/0.6025, allocations: 30.75 kB / 1.223 GB, free: 15.35 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.316e-05/0.6025, allocations: 4.938 kB / 1.223 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001141/0.6026, allocations: 168.3 kB / 1.223 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.048e-05/0.6027, allocations: 8.375 kB / 1.223 GB, free: 15.13 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.549e-05/0.6027, allocations: 8.312 kB / 1.223 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.172e-05/0.6028, allocations: 42.23 kB / 1.223 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.6028, allocations: 3.938 kB / 1.223 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.6028, allocations: 7.938 kB / 1.223 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.486e-06/0.6028, allocations: 0 / 1.223 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.395e-05/0.6029, allocations: 7.984 kB / 1.223 GB, free: 15.06 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003539/0.6032, allocations: 292.9 kB / 1.223 GB, free: 14.72 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 5.809e-05/0.6033, allocations: 34.44 kB / 1.223 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.232e-05/0.6033, allocations: 12.92 kB / 1.223 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 8.426e-06/0.6033, allocations: 0 / 1.223 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001244/0.6034, allocations: 59.39 kB / 1.223 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.6035, allocations: 0 / 1.223 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4): time 0.0001723/0.6036, allocations: 73.58 kB / 1.223 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.206e-05/0.6037, allocations: 55.41 kB / 1.223 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.862e-05/0.6038, allocations: 109.8 kB / 1.224 GB, free: 14.33 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.009e-05/0.6038, allocations: 25.7 kB / 1.224 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.432e-05/0.6039, allocations: 92.12 kB / 1.224 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.484e-05/0.6039, allocations: 11.88 kB / 1.224 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.95e-05/0.6039, allocations: 29.7 kB / 1.224 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.6041, allocations: 318.8 kB / 1.224 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.559e-05/0.6041, allocations: 35.97 kB / 1.224 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.039e-05/0.6042, allocations: 46.56 kB / 1.224 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000121/0.6044, allocations: 96.14 kB / 1.224 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.6044, allocations: 4 kB / 1.224 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002373/0.6046, allocations: 147.2 kB / 1.224 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.417e-05/0.6047, allocations: 41.77 kB / 1.224 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.6047, allocations: 0 / 1.224 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.6047, allocations: 7.984 kB / 1.224 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.86e-05/0.6047, allocations: 0 / 1.224 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.6047, allocations: 4 kB / 1.224 GB, free: 13.42 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001765/0.6049, allocations: 23.97 kB / 1.224 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.621e-05/0.6049, allocations: 4 kB / 1.224 GB, free: 13.39 MB / 0.9512 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 8.615e-05/0.605, allocations: 122.2 kB / 1.224 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.316e-05/0.605, allocations: 7.984 kB / 1.225 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.101e-05/0.6051, allocations: 7.844 kB / 1.225 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.6051, allocations: 0 / 1.225 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.6051, allocations: 0 / 1.225 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.6051, allocations: 0 / 1.225 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001234/0.6052, allocations: 173.5 kB / 1.225 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.6052, allocations: 0 / 1.225 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.533e-05/0.6052, allocations: 4 kB / 1.225 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.6053, allocations: 0 / 1.225 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.11e-06/0.6053, allocations: 0 / 1.225 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.6053, allocations: 4 kB / 1.225 GB, free: 13.01 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.6053, allocations: 3.984 kB / 1.225 GB, free: 13.01 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001067/0.6054, allocations: 85.23 kB / 1.225 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.644e-05/0.6054, allocations: 89.05 kB / 1.225 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.031e-05/0.6055, allocations: 0 / 1.225 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.452e-05/0.6055, allocations: 4.047 kB / 1.225 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.029e-05/0.6055, allocations: 7.984 kB / 1.225 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.6055, allocations: 0 / 1.225 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.57e-05/0.6056, allocations: 95.2 kB / 1.225 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6056, allocations: 0 / 1.225 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0001927/0.6058, allocations: 16 kB / 1.225 GB, free: 12.68 MB / 0.9512 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.0003901/0.6062, allocations: 0.6246 MB / 1.226 GB, free: 12.03 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002005/0.6064, allocations: 131.3 kB / 1.226 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.6064, allocations: 0 / 1.226 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 3.044e-05/0.6064, allocations: 15.92 kB / 1.226 GB, free: 11.87 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001688/0.6066, allocations: 16 kB / 1.226 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001309/0.6079, allocations: 1.385 MB / 1.227 GB, free: 10.37 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002604/0.6082, allocations: 0.6884 MB / 1.228 GB, free: 9.656 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 1.996e-05/0.6082, allocations: 4 kB / 1.228 GB, free: 9.652 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.781e-05/0.6082, allocations: 11.44 kB / 1.228 GB, free: 9.641 MB / 0.9512 GB Notification: Performance of SimCode: time 2.31e-07/0.6082, allocations: 0 / 1.228 GB, free: 9.641 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8175/1.426, allocations: 2.021 MB / 1.23 GB, free: 7.75 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.347/9.773, allocations: 14.28 kB / 1.23 GB, free: 7.738 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal_fmu --startTime=0 --stopTime=4 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches