Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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.BooleanToReal,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,fileNamePrefix="Buildings_latest_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.006863/0.006863, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001532/0.001532, allocations: 195.1 kB / 16.67 MB, free: 5.969 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.304/1.304, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.543/2.543, allocations: 469.4 MB / 0.7422 GB, free: 3.504 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 59.91 kB / 1.064 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6665/0.6677, allocations: 159.1 MB / 1.22 GB, free: 2.277 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.00165/0.6694, allocations: 0.6042 MB / 1.22 GB, free: 1.672 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001285/0.6707, allocations: 1.12 MB / 1.221 GB, free: 0.5391 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.29e-05/0.6708, allocations: 0 / 1.221 GB, free: 0.5391 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.351e-05/0.6708, allocations: 3.938 kB / 1.221 GB, free: 0.5352 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.128e-05/0.6709, allocations: 7.938 kB / 1.221 GB, free: 0.5273 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004478/0.6714, allocations: 129.2 kB / 1.222 GB, free: 412 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001429/0.6715, allocations: 99.77 kB / 1.222 GB, free: 312 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 7.74e-05/0.6716, allocations: 8 kB / 1.222 GB, free: 304 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.471e-05/0.6717, allocations: 31.97 kB / 1.222 GB, free: 272 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 8.912e-05/0.6718, allocations: 39.88 kB / 1.222 GB, free: 232 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.094e-05/0.6718, allocations: 8 kB / 1.222 GB, free: 224 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 6.08e-05/0.6719, allocations: 19.98 kB / 1.222 GB, free: 204 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.638e-05/0.6719, allocations: 4 kB / 1.222 GB, free: 200 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.426e-05/0.6719, allocations: 27.86 kB / 1.222 GB, free: 172 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001456/0.6721, allocations: 87.83 kB / 1.222 GB, free: 84 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.6721, allocations: 3.938 kB / 1.222 GB, free: 80 kB / 0.9356 GB Notification: Performance of FrontEnd: time 1.182e-06/0.6721, allocations: 0 / 1.222 GB, free: 80 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.6721, allocations: 4 kB / 1.222 GB, free: 76 kB / 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.0004122/0.6725, allocations: 384.9 kB / 1.222 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.6726, allocations: 8.625 kB / 1.222 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.575e-05/0.6726, allocations: 38.67 kB / 1.222 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.984e-05/0.6727, allocations: 4.938 kB / 1.222 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.208e-05/0.6728, allocations: 168.3 kB / 1.222 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/0.6728, allocations: 384 / 1.222 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.27e-05/0.6728, allocations: 12.38 kB / 1.222 GB, free: 15.37 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.5e-05/0.6729, allocations: 38 kB / 1.222 GB, free: 15.33 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.242e-06/0.6729, allocations: 4 kB / 1.222 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.6729, allocations: 0 / 1.222 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.673, allocations: 3.984 kB / 1.222 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.965e-05/0.673, allocations: 15.98 kB / 1.223 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003543/0.6734, allocations: 288.8 kB / 1.223 GB, free: 14.97 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 5.536e-05/0.6734, allocations: 30.56 kB / 1.223 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.446e-05/0.6735, allocations: 16.92 kB / 1.223 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 7.794e-06/0.6735, allocations: 0 / 1.223 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000132/0.6736, allocations: 59.39 kB / 1.223 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=4): time 1.263e-06/0.6736, allocations: 0 / 1.223 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4): time 0.000184/0.6738, allocations: 69.62 kB / 1.223 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.422e-05/0.6739, allocations: 51.41 kB / 1.223 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.974e-05/0.6739, allocations: 113.8 kB / 1.223 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.37e-05/0.674, allocations: 29.7 kB / 1.223 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.746e-05/0.674, allocations: 92.12 kB / 1.223 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.452e-05/0.674, allocations: 11.89 kB / 1.223 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.794e-05/0.6741, allocations: 29.7 kB / 1.223 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.413e-05/0.6742, allocations: 322.7 kB / 1.224 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.858e-05/0.6743, allocations: 27.98 kB / 1.224 GB, free: 14.06 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.258e-05/0.6744, allocations: 54.55 kB / 1.224 GB, free: 14 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001136/0.6745, allocations: 88.2 kB / 1.224 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.6745, allocations: 0 / 1.224 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002458/0.6748, allocations: 151.2 kB / 1.224 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.833e-05/0.6748, allocations: 41.64 kB / 1.224 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.6748, allocations: 4.062 kB / 1.224 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.999e-06/0.6748, allocations: 0 / 1.224 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.567e-05/0.6749, allocations: 7.984 kB / 1.224 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.738e-06/0.6749, allocations: 64 / 1.224 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001987/0.6751, allocations: 27.97 kB / 1.224 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.777e-05/0.6751, allocations: 7.938 kB / 1.224 GB, free: 13.64 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 7.841e-05/0.6752, allocations: 122.7 kB / 1.224 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.023e-05/0.6752, allocations: 0 / 1.224 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.52e-05/0.6753, allocations: 7.891 kB / 1.224 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.6753, allocations: 4 kB / 1.224 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.6753, allocations: 0 / 1.224 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.6753, allocations: 4 kB / 1.224 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001093/0.6754, allocations: 169.5 kB / 1.224 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.6754, allocations: 7.984 kB / 1.224 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.64e-05/0.6754, allocations: 0 / 1.224 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.6754, allocations: 0 / 1.224 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.6754, allocations: 0 / 1.224 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.6755, allocations: 4 kB / 1.224 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.6755, allocations: 3.984 kB / 1.224 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001104/0.6756, allocations: 89 kB / 1.224 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.083e-05/0.6756, allocations: 81.09 kB / 1.224 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.209e-05/0.6756, allocations: 0 / 1.224 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.523e-05/0.6757, allocations: 4 kB / 1.224 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.995e-05/0.6757, allocations: 4 kB / 1.224 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.067e-06/0.6757, allocations: 0 / 1.224 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.028e-05/0.6757, allocations: 87.27 kB / 1.225 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6757, allocations: 0 / 1.225 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002173/0.676, allocations: 23.95 kB / 1.225 GB, free: 12.93 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.0003538/0.6763, allocations: 0.6352 MB / 1.225 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002019/0.6765, allocations: 119.3 kB / 1.225 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.6765, allocations: 0 / 1.225 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 3.206e-05/0.6766, allocations: 16 kB / 1.225 GB, free: 12.13 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001894/0.6768, allocations: 20.05 kB / 1.225 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001302/0.6781, allocations: 1.387 MB / 1.227 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002001/0.6783, allocations: 0.6845 MB / 1.227 GB, free: 9.914 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.132e-05/0.6783, allocations: 4 kB / 1.227 GB, free: 9.91 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.847e-05/0.6784, allocations: 11.44 kB / 1.227 GB, free: 9.898 MB / 0.9512 GB Notification: Performance of SimCode: time 2.4e-07/0.6784, allocations: 4 kB / 1.227 GB, free: 9.895 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01595/0.6943, allocations: 2.027 MB / 1.229 GB, free: 8.016 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.006/7.701, allocations: 15.88 kB / 1.229 GB, free: 8.004 MB / 0.9512 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 Buildings_latest_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches