Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,fileNamePrefix="Buildings_10_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.001192/0.001192, 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.001213/0.001213, allocations: 198.1 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.175/1.175, allocations: 222.9 MB / 239.8 MB, free: 4.641 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.218/2.218, allocations: 437 MB / 0.7099 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001111/0.001111, allocations: 60.05 kB / 0.8687 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4574/0.4586, allocations: 151.6 MB / 1.017 GB, free: 2.895 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001704/0.4603, allocations: 0.6792 MB / 1.017 GB, free: 2.215 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001168/0.4615, allocations: 1.113 MB / 1.018 GB, free: 1.086 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.05e-05/0.4615, allocations: 0 / 1.018 GB, free: 1.086 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.85e-05/0.4616, allocations: 7.875 kB / 1.018 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.772e-05/0.4616, allocations: 4 kB / 1.018 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003555/0.462, allocations: 119.5 kB / 1.019 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.616e-05/0.4621, allocations: 79.83 kB / 1.019 GB, free: 0.8828 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 6.636e-05/0.4621, allocations: 0 / 1.019 GB, free: 0.8828 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.521e-05/0.4622, allocations: 31.97 kB / 1.019 GB, free: 0.8516 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.277e-05/0.4623, allocations: 23.91 kB / 1.019 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.102e-05/0.4623, allocations: 8 kB / 1.019 GB, free: 0.8203 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 5.726e-05/0.4624, allocations: 19.98 kB / 1.019 GB, free: 0.8008 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.816e-05/0.4624, allocations: 11.92 kB / 1.019 GB, free: 0.7891 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.833e-05/0.4624, allocations: 27.91 kB / 1.019 GB, free: 0.7617 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001229/0.4626, allocations: 83.78 kB / 1.019 GB, free: 0.6797 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.4626, allocations: 0 / 1.019 GB, free: 0.6797 MB / 0.7637 GB Notification: Performance of FrontEnd: time 6.61e-07/0.4626, allocations: 0 / 1.019 GB, free: 0.6797 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.527e-06/0.4626, allocations: 0 / 1.019 GB, free: 0.6797 MB / 0.7637 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.000374/0.463, allocations: 383.3 kB / 1.019 GB, free: 256 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.463, allocations: 12.03 kB / 1.019 GB, free: 244 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.512e-05/0.463, allocations: 30.75 kB / 1.019 GB, free: 204 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.76e-05/0.4631, allocations: 8.938 kB / 1.019 GB, free: 196 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001037/0.4632, allocations: 164.5 kB / 1.019 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.671e-05/0.4632, allocations: 8.312 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.775e-05/0.4632, allocations: 4.375 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.166e-05/0.4633, allocations: 42.25 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.191e-06/0.4633, allocations: 3.938 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.913e-06/0.4634, allocations: 0 / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.507e-06/0.4634, allocations: 0 / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.309e-05/0.4634, allocations: 8 kB / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003264/0.4637, allocations: 296.8 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.256e-05/0.4638, allocations: 34.45 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.134e-05/0.4638, allocations: 12.91 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 5.35e-06/0.4638, allocations: 0 / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001203/0.464, allocations: 67.33 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.464, allocations: 4 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0001675/0.4641, allocations: 65.62 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.177e-05/0.4642, allocations: 55.41 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.82e-05/0.4643, allocations: 109.8 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.04e-05/0.4643, allocations: 29.7 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.566e-05/0.4644, allocations: 91.88 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.329e-05/0.4644, allocations: 7.906 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.748e-05/0.4644, allocations: 33.69 kB / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.143e-05/0.4645, allocations: 318.8 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.356e-05/0.4646, allocations: 35.98 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.862e-05/0.4647, allocations: 50.55 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001025/0.4648, allocations: 84.16 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.4648, allocations: 0 / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002299/0.465, allocations: 155.5 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.259e-05/0.4651, allocations: 33.7 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.4651, allocations: 0 / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.4651, allocations: 4 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.985e-05/0.4652, allocations: 0 / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.4652, allocations: 4 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001924/0.4654, allocations: 39.78 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.766e-05/0.4654, allocations: 8 kB / 1.021 GB, free: 14.24 MB / 0.7794 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.202e-05/0.4655, allocations: 122.3 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.051e-05/0.4655, allocations: 4 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.091e-05/0.4655, allocations: 7.906 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.4655, allocations: 3.984 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.4655, allocations: 0 / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.973e-06/0.4655, allocations: 0 / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.916e-05/0.4656, allocations: 165.6 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.4656, allocations: 0 / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.753e-05/0.4657, allocations: 7.984 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.4657, allocations: 4 kB / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.4657, allocations: 4 kB / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.4657, allocations: 0 / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.4657, allocations: 0 / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001021/0.4658, allocations: 84.97 kB / 1.021 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.727e-05/0.4658, allocations: 81.17 kB / 1.021 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.352e-05/0.4658, allocations: 7.984 kB / 1.021 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.357e-05/0.4659, allocations: 0 / 1.021 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.183e-05/0.4659, allocations: 11.94 kB / 1.021 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-06/0.4659, allocations: 3.938 kB / 1.021 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.948e-05/0.4659, allocations: 91.2 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.466, allocations: 0 / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001945/0.4662, allocations: 16 kB / 1.022 GB, free: 13.54 MB / 0.7794 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.0003203/0.4665, allocations: 0.6241 MB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001845/0.4667, allocations: 127.3 kB / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.4667, allocations: 0 / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.063e-05/0.4667, allocations: 16 kB / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001724/0.4669, allocations: 10.33 kB / 1.022 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001164/0.4681, allocations: 1.394 MB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002/0.4683, allocations: 0.6809 MB / 1.024 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.949e-05/0.4683, allocations: 0 / 1.024 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.826e-05/0.4683, allocations: 19.42 kB / 1.024 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of SimCode: time 2.01e-07/0.4683, allocations: 3.938 kB / 1.024 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1521/0.6204, allocations: 1.83 MB / 1.026 GB, free: 8.793 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00021/0.6207, allocations: 222.5 kB / 1.026 GB, free: 8.535 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.791/2.411, allocations: 0 / 1.026 GB, free: 8.535 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches