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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.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.007655/0.007655, allocations: 97.95 kB / 15.73 MB, free: 6.062 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.001979/0.001979, allocations: 192.9 kB / 16.68 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.356/1.356, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.706/2.706, allocations: 472.7 MB / 0.7453 GB, free: 408 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 63.89 kB / 1.069 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6821/0.6834, allocations: 159.9 MB / 1.225 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001537/0.685, allocations: 0.6041 MB / 1.226 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001248/0.6862, allocations: 1.112 MB / 1.227 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.226e-05/0.6863, allocations: 4 kB / 1.227 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.831e-05/0.6863, allocations: 3.938 kB / 1.227 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 6.304e-05/0.6864, allocations: 11.92 kB / 1.227 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004478/0.6868, allocations: 123.1 kB / 1.227 GB, free: 11.6 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001602/0.687, allocations: 99.77 kB / 1.227 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 8.789e-05/0.6871, allocations: 8 kB / 1.227 GB, free: 11.49 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 6.661e-05/0.6872, allocations: 31.97 kB / 1.227 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 9.653e-05/0.6873, allocations: 31.89 kB / 1.227 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.1e-05/0.6873, allocations: 8 kB / 1.227 GB, free: 11.42 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 6.758e-05/0.6874, allocations: 19.98 kB / 1.227 GB, free: 11.4 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.203e-05/0.6874, allocations: 15.92 kB / 1.227 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 5.405e-05/0.6875, allocations: 27.92 kB / 1.227 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001569/0.6876, allocations: 83.78 kB / 1.227 GB, free: 11.28 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.6876, allocations: 0 / 1.227 GB, free: 11.28 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.623e-06/0.6876, allocations: 0 / 1.227 GB, free: 11.28 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.6877, allocations: 4 kB / 1.227 GB, free: 11.27 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.0004616/0.6881, allocations: 384.6 kB / 1.228 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.6882, allocations: 12.03 kB / 1.228 GB, free: 10.83 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.561e-05/0.6882, allocations: 30.75 kB / 1.228 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.826e-05/0.6882, allocations: 4.938 kB / 1.228 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001067/0.6884, allocations: 176.3 kB / 1.228 GB, free: 10.58 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.6884, allocations: 4.375 kB / 1.228 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.984e-05/0.6884, allocations: 4.375 kB / 1.228 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.179e-05/0.6885, allocations: 46.19 kB / 1.228 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.6885, allocations: 3.938 kB / 1.228 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.166e-06/0.6885, allocations: 0 / 1.228 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.6885, allocations: 0 / 1.228 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.911e-05/0.6886, allocations: 8 kB / 1.228 GB, free: 10.51 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003628/0.6889, allocations: 292.8 kB / 1.228 GB, free: 10.17 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 5.66e-05/0.689, allocations: 34.52 kB / 1.228 GB, free: 10.13 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.424e-05/0.6891, allocations: 12.91 kB / 1.228 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 8.456e-06/0.6891, allocations: 0 / 1.228 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001234/0.6892, allocations: 63.34 kB / 1.228 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.6892, allocations: 0 / 1.228 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4): time 0.000178/0.6894, allocations: 69.62 kB / 1.228 GB, free: 9.965 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.042e-05/0.6894, allocations: 59.41 kB / 1.228 GB, free: 9.895 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.827e-05/0.6895, allocations: 105.8 kB / 1.229 GB, free: 9.781 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.565e-05/0.6895, allocations: 33.7 kB / 1.229 GB, free: 9.742 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.482e-05/0.6896, allocations: 80.14 kB / 1.229 GB, free: 9.66 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.765e-05/0.6896, allocations: 15.89 kB / 1.229 GB, free: 9.645 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.573e-05/0.6897, allocations: 37.62 kB / 1.229 GB, free: 9.602 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.782e-05/0.6898, allocations: 310.8 kB / 1.229 GB, free: 9.289 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.654e-05/0.6899, allocations: 31.98 kB / 1.229 GB, free: 9.258 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.241e-05/0.69, allocations: 62.48 kB / 1.229 GB, free: 9.188 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001056/0.6901, allocations: 80.28 kB / 1.229 GB, free: 9.094 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.6901, allocations: 0 / 1.229 GB, free: 9.094 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002423/0.6903, allocations: 159.2 kB / 1.229 GB, free: 8.926 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.313e-05/0.6904, allocations: 29.7 kB / 1.229 GB, free: 8.891 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.6904, allocations: 8.062 kB / 1.229 GB, free: 8.883 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.6904, allocations: 0 / 1.229 GB, free: 8.883 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.888e-05/0.6905, allocations: 4 kB / 1.229 GB, free: 8.879 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.6905, allocations: 3.938 kB / 1.229 GB, free: 8.875 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001859/0.6907, allocations: 23.97 kB / 1.229 GB, free: 8.852 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.162e-05/0.6907, allocations: 11.98 kB / 1.229 GB, free: 8.84 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.578e-05/0.6908, allocations: 114.3 kB / 1.23 GB, free: 8.719 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.122e-05/0.6908, allocations: 8.234 kB / 1.23 GB, free: 8.711 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.75e-05/0.6908, allocations: 11.89 kB / 1.23 GB, free: 8.691 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.6908, allocations: 0 / 1.23 GB, free: 8.691 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.6908, allocations: 0 / 1.23 GB, free: 8.691 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.6908, allocations: 4 kB / 1.23 GB, free: 8.688 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001153/0.691, allocations: 169.5 kB / 1.23 GB, free: 8.473 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.691, allocations: 0 / 1.23 GB, free: 8.473 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.732e-05/0.691, allocations: 4 kB / 1.23 GB, free: 8.469 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.691, allocations: 0 / 1.23 GB, free: 8.469 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.637e-06/0.691, allocations: 3.984 kB / 1.23 GB, free: 8.465 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.691, allocations: 3.938 kB / 1.23 GB, free: 8.461 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.691, allocations: 8 kB / 1.23 GB, free: 8.453 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001095/0.6911, allocations: 89 kB / 1.23 GB, free: 8.348 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.43e-05/0.6912, allocations: 81.06 kB / 1.23 GB, free: 8.25 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.208e-05/0.6912, allocations: 0 / 1.23 GB, free: 8.25 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.421e-05/0.6912, allocations: 0 / 1.23 GB, free: 8.25 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.576e-05/0.6912, allocations: 7.984 kB / 1.23 GB, free: 8.242 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-06/0.6913, allocations: 4 kB / 1.23 GB, free: 8.238 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.682e-05/0.6913, allocations: 91.28 kB / 1.23 GB, free: 8.148 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6913, allocations: 0 / 1.23 GB, free: 8.148 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002135/0.6915, allocations: 15.98 kB / 1.23 GB, free: 8.133 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.0003996/0.6919, allocations: 0.6318 MB / 1.231 GB, free: 7.473 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002129/0.6922, allocations: 123.4 kB / 1.231 GB, free: 7.34 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.6922, allocations: 4.125 kB / 1.231 GB, free: 7.336 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 3.551e-05/0.6922, allocations: 19.94 kB / 1.231 GB, free: 7.316 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001913/0.6924, allocations: 7.984 kB / 1.231 GB, free: 7.309 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001288/0.6937, allocations: 1.394 MB / 1.232 GB, free: 5.816 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002069/0.6939, allocations: 0.6846 MB / 1.233 GB, free: 5.105 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 1.924e-05/0.694, allocations: 4 kB / 1.233 GB, free: 5.102 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.806e-05/0.694, allocations: 15.42 kB / 1.233 GB, free: 5.086 MB / 0.9512 GB Notification: Performance of SimCode: time 2.51e-07/0.694, allocations: 0 / 1.233 GB, free: 5.086 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0176/0.7116, allocations: 2.023 MB / 1.235 GB, free: 3.203 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.289/8.001, allocations: 17.03 kB / 1.235 GB, free: 3.191 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