Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,fileNamePrefix="Buildings_9_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.001075/0.001075, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001035/0.001035, allocations: 196.8 kB / 16.14 MB, free: 6.711 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.262/1.262, allocations: 222.9 MB / 239.8 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.149/2.149, allocations: 390.2 MB / 0.6643 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 67.89 kB / 0.812 GB, free: 14.75 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.641/0.6425, allocations: 140.4 MB / 0.9491 GB, free: 9.195 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001676/0.6442, allocations: 0.6764 MB / 0.9497 GB, free: 8.676 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001059/0.6452, allocations: 1.121 MB / 0.9508 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.783e-05/0.6453, allocations: 1.094 kB / 0.9508 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.717e-05/0.6453, allocations: 3.984 kB / 0.9508 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.749e-05/0.6454, allocations: 5.219 kB / 0.9508 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003529/0.6457, allocations: 113.5 kB / 0.9509 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.158e-05/0.6458, allocations: 79.16 kB / 0.951 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.108e-05/0.6459, allocations: 11.53 kB / 0.951 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.498e-05/0.646, allocations: 28.31 kB / 0.951 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.578e-05/0.646, allocations: 27.44 kB / 0.9511 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.179e-05/0.6461, allocations: 9.188 kB / 0.9511 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.354e-05/0.6461, allocations: 19.08 kB / 0.9511 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.564e-05/0.6462, allocations: 5.484 kB / 0.9511 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.486e-05/0.6462, allocations: 29.58 kB / 0.9511 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001238/0.6463, allocations: 75 kB / 0.9512 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.6464, allocations: 1.406 kB / 0.9512 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.31e-07/0.6464, allocations: 7.938 kB / 0.9512 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.226e-06/0.6464, allocations: 0 / 0.9512 GB, free: 7.52 MB / 0.7169 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.0003764/0.6468, allocations: 378.7 kB / 0.9516 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.259e-05/0.6468, allocations: 13.8 kB / 0.9516 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.127e-05/0.6468, allocations: 34.75 kB / 0.9516 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.72e-05/0.6469, allocations: 10.44 kB / 0.9516 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001016/0.647, allocations: 161.8 kB / 0.9518 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.033e-05/0.647, allocations: 2.719 kB / 0.9518 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.603e-05/0.6471, allocations: 5.344 kB / 0.9518 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001073/0.6472, allocations: 48 kB / 0.9518 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.6472, allocations: 3.938 kB / 0.9518 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.879e-06/0.6472, allocations: 0 / 0.9518 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.6472, allocations: 1.469 kB / 0.9518 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.639e-05/0.6473, allocations: 13.7 kB / 0.9518 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003994/0.6477, allocations: 282.7 kB / 0.9521 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.607e-05/0.6478, allocations: 34.06 kB / 0.9522 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.318e-05/0.6478, allocations: 15.95 kB / 0.9522 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.209e-05/0.6478, allocations: 1.156 kB / 0.9522 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001417/0.648, allocations: 62.86 kB / 0.9522 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.648, allocations: 0 / 0.9522 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0002246/0.6482, allocations: 67.31 kB / 0.9523 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.574e-05/0.6482, allocations: 52.78 kB / 0.9523 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.444e-05/0.6483, allocations: 111 kB / 0.9524 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.429e-05/0.6484, allocations: 36.2 kB / 0.9525 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.426e-05/0.6484, allocations: 90.58 kB / 0.9526 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.649e-05/0.6484, allocations: 9.125 kB / 0.9526 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.215e-05/0.6485, allocations: 37.89 kB / 0.9526 GB, free: 6 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.593e-05/0.6486, allocations: 311.8 kB / 0.9529 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.65e-05/0.6487, allocations: 32.7 kB / 0.9529 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.808e-05/0.6488, allocations: 48.2 kB / 0.953 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000109/0.6489, allocations: 94.39 kB / 0.9531 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.6489, allocations: 0 / 0.9531 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002498/0.6491, allocations: 153.8 kB / 0.9532 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.56e-05/0.6492, allocations: 32.42 kB / 0.9533 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.6492, allocations: 5.031 kB / 0.9533 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.6492, allocations: 1.062 kB / 0.9533 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.33e-05/0.6493, allocations: 10.48 kB / 0.9533 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.064e-06/0.6493, allocations: 0.8438 kB / 0.9533 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00021/0.6495, allocations: 29.36 kB / 0.9533 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.118e-05/0.6495, allocations: 9.25 kB / 0.9533 GB, free: 5.379 MB / 0.7169 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 7.476e-05/0.6496, allocations: 118.5 kB / 0.9534 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.144e-05/0.6496, allocations: 5.688 kB / 0.9534 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.789e-05/0.6496, allocations: 13.2 kB / 0.9534 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.6497, allocations: 4 kB / 0.9534 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.6497, allocations: 0 / 0.9534 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.6497, allocations: 1.5 kB / 0.9534 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.328e-05/0.6498, allocations: 164.1 kB / 0.9536 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.6498, allocations: 0 / 0.9536 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.667e-05/0.6498, allocations: 6.094 kB / 0.9536 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.6498, allocations: 1.25 kB / 0.9536 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.724e-06/0.6498, allocations: 0 / 0.9536 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.6498, allocations: 1.062 kB / 0.9536 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.6498, allocations: 0 / 0.9536 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001145/0.6499, allocations: 94.23 kB / 0.9537 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.575e-05/0.65, allocations: 82.58 kB / 0.9538 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.382e-05/0.65, allocations: 0 / 0.9538 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.353e-05/0.65, allocations: 1.281 kB / 0.9538 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.953e-05/0.6501, allocations: 1.344 kB / 0.9538 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.6501, allocations: 1.469 kB / 0.9538 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.296e-05/0.6501, allocations: 89.31 kB / 0.9539 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6501, allocations: 0 / 0.9539 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00021/0.6503, allocations: 15.59 kB / 0.9539 GB, free: 4.754 MB / 0.7169 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.0003295/0.6507, allocations: 0.6285 MB / 0.9545 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000213/0.6509, allocations: 126 kB / 0.9546 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.6509, allocations: 3.938 kB / 0.9546 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.578e-05/0.6509, allocations: 17.73 kB / 0.9546 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001934/0.6511, allocations: 10.69 kB / 0.9546 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001287/0.6524, allocations: 1.396 MB / 0.956 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001654/0.6526, allocations: 0.6833 MB / 0.9567 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.382e-05/0.6526, allocations: 10.36 kB / 0.9567 GB, free: 1.996 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.843e-05/0.6527, allocations: 12.78 kB / 0.9567 GB, free: 1.984 MB / 0.7169 GB Notification: Performance of SimCode: time 3.3e-07/0.6527, allocations: 0 / 0.9567 GB, free: 1.984 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.125/1.778, allocations: 1.838 MB / 0.9585 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000151/1.778, allocations: 214.2 kB / 0.9587 GB, free: 0.8047 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.744/3.522, allocations: 1.469 kB / 0.9587 GB, free: 0.8047 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches