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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001333/0.001333, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001294/0.001294, allocations: 194.5 kB / 16.53 MB, free: 6.391 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.263/1.263, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.401/2.401, allocations: 437 MB / 0.7104 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 71.88 kB / 0.8694 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4913/0.4926, allocations: 151.6 MB / 1.017 GB, free: 2.461 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001617/0.4942, allocations: 0.6089 MB / 1.018 GB, free: 1.852 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0011/0.4953, allocations: 1.117 MB / 1.019 GB, free: 0.7188 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.258e-05/0.4954, allocations: 4 kB / 1.019 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.073e-05/0.4954, allocations: 3.938 kB / 1.019 GB, free: 0.7109 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.826e-05/0.4955, allocations: 3.938 kB / 1.019 GB, free: 0.707 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003955/0.4959, allocations: 125.4 kB / 1.019 GB, free: 0.5859 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001115/0.496, allocations: 87.83 kB / 1.019 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 6.755e-05/0.4961, allocations: 11.98 kB / 1.019 GB, free: 500 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.239e-05/0.4961, allocations: 35.97 kB / 1.019 GB, free: 464 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.93e-05/0.4962, allocations: 23.91 kB / 1.019 GB, free: 440 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.228e-05/0.4962, allocations: 12 kB / 1.019 GB, free: 428 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 6.593e-05/0.4963, allocations: 27.92 kB / 1.019 GB, free: 400 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.277e-05/0.4963, allocations: 0 / 1.019 GB, free: 400 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.313e-05/0.4964, allocations: 43.83 kB / 1.019 GB, free: 356 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001177/0.4965, allocations: 79.84 kB / 1.02 GB, free: 276 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.4965, allocations: 0 / 1.02 GB, free: 276 kB / 0.7637 GB Notification: Performance of FrontEnd: time 2.374e-06/0.4965, allocations: 0 / 1.02 GB, free: 276 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.306e-06/0.4965, allocations: 3.938 kB / 1.02 GB, free: 272 kB / 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.0003625/0.4969, allocations: 379.4 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 2.88e-05/0.4969, allocations: 12.03 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.412e-05/0.4969, allocations: 30.75 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.456e-05/0.497, allocations: 8.844 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.583e-05/0.4971, allocations: 172.4 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.4971, allocations: 4.375 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.833e-05/0.4971, allocations: 4.375 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.12e-05/0.4972, allocations: 38.25 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.4972, allocations: 7.875 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.472e-06/0.4972, allocations: 0 / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.4972, allocations: 4 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.124e-05/0.4973, allocations: 8 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000315/0.4976, allocations: 296.8 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 4.834e-05/0.4976, allocations: 26.52 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.142e-05/0.4977, allocations: 8.922 kB / 1.021 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 5.049e-06/0.4977, allocations: 0 / 1.021 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.364e-05/0.4978, allocations: 67.33 kB / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.4978, allocations: 0 / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0001639/0.498, allocations: 73.67 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.805e-05/0.498, allocations: 51.41 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.394e-05/0.4981, allocations: 105.8 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.561e-05/0.4981, allocations: 29.7 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.54e-05/0.4981, allocations: 95.98 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.089e-05/0.4982, allocations: 3.906 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.783e-05/0.4982, allocations: 33.7 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.503e-05/0.4983, allocations: 322.8 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.229e-05/0.4984, allocations: 27.98 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.948e-05/0.4985, allocations: 58.55 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000104/0.4986, allocations: 88.2 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.4986, allocations: 7.938 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000237/0.4988, allocations: 143.5 kB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.42e-05/0.4989, allocations: 41.69 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.4989, allocations: 0 / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.516e-06/0.4989, allocations: 3.938 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.853e-05/0.499, allocations: 7.984 kB / 1.022 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.557e-06/0.499, allocations: 0 / 1.022 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000196/0.4992, allocations: 27.91 kB / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.93e-05/0.4992, allocations: 16.05 kB / 1.022 GB, free: 13.83 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.326e-05/0.4993, allocations: 117.8 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.08e-05/0.4993, allocations: 3.906 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.062e-05/0.4993, allocations: 11.91 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.4993, allocations: 0 / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.4993, allocations: 0 / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.4993, allocations: 0 / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.984e-05/0.4994, allocations: 165.6 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.4994, allocations: 0 / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.422e-05/0.4995, allocations: 4 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.4995, allocations: 0 / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.492e-06/0.4995, allocations: 4 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.4995, allocations: 7.922 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.4995, allocations: 0 / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.727e-05/0.4996, allocations: 85.06 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.282e-05/0.4996, allocations: 81.02 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.216e-05/0.4997, allocations: 8.062 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.396e-05/0.4997, allocations: 4 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.07e-05/0.4997, allocations: 3.984 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.451e-06/0.4997, allocations: 4 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.488e-05/0.4997, allocations: 83.28 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.4998, allocations: 0 / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002012/0.5, allocations: 19.98 kB / 1.022 GB, free: 13.14 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.0003231/0.5003, allocations: 0.6319 MB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001904/0.5005, allocations: 127.3 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.5005, allocations: 0 / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.943e-05/0.5005, allocations: 15.94 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001666/0.5007, allocations: 9.703 kB / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001167/0.5019, allocations: 1.39 MB / 1.024 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001892/0.5021, allocations: 0.6807 MB / 1.025 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.577e-05/0.5021, allocations: 3.938 kB / 1.025 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.475e-05/0.5021, allocations: 15.44 kB / 1.025 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of SimCode: time 2.01e-07/0.5021, allocations: 0 / 1.025 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02605/0.5282, allocations: 1.973 MB / 1.027 GB, free: 8.227 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.638/7.166, allocations: 23.8 kB / 1.027 GB, free: 8.207 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 & python3 -m fmpy simulate --output-file Buildings_10_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_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.csv","/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