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.001322/0.001322, 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.001305/0.001305, allocations: 193 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.281/1.281, allocations: 222.9 MB / 240.2 MB, free: 4.43 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.494/2.494, allocations: 437.1 MB / 0.7104 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 71.89 kB / 0.8694 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4757/0.4769, allocations: 151.6 MB / 1.017 GB, free: 2.512 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001565/0.4785, allocations: 0.6105 MB / 1.018 GB, free: 1.898 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001081/0.4796, allocations: 1.109 MB / 1.019 GB, free: 0.7734 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.231e-05/0.4797, allocations: 0 / 1.019 GB, free: 0.7734 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.128e-05/0.4797, allocations: 3.938 kB / 1.019 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.763e-05/0.4798, allocations: 3.938 kB / 1.019 GB, free: 0.7656 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004034/0.4802, allocations: 120.8 kB / 1.019 GB, free: 0.6484 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.000116/0.4803, allocations: 103.8 kB / 1.019 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 7.262e-05/0.4804, allocations: 4 kB / 1.019 GB, free: 0.543 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.611e-05/0.4804, allocations: 35.97 kB / 1.019 GB, free: 0.5078 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.582e-05/0.4805, allocations: 27.89 kB / 1.019 GB, free: 492 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.135e-05/0.4805, allocations: 11.94 kB / 1.019 GB, free: 480 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 5.992e-05/0.4806, allocations: 23.98 kB / 1.019 GB, free: 456 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.548e-05/0.4806, allocations: 8 kB / 1.019 GB, free: 448 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.993e-05/0.4807, allocations: 27.86 kB / 1.019 GB, free: 420 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001279/0.4808, allocations: 83.84 kB / 1.02 GB, free: 336 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.4808, allocations: 3.938 kB / 1.02 GB, free: 332 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.092e-06/0.4808, allocations: 0 / 1.02 GB, free: 332 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.4808, allocations: 0 / 1.02 GB, free: 332 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.000361/0.4812, allocations: 385.1 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.127e-05/0.4812, allocations: 12.03 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.865e-05/0.4813, allocations: 34.75 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.702e-05/0.4813, allocations: 8.844 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.691e-05/0.4814, allocations: 160.4 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.4814, allocations: 4.375 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.633e-05/0.4815, allocations: 4.375 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.825e-05/0.4815, allocations: 46.19 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.4816, allocations: 7.922 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.542e-06/0.4816, allocations: 0 / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.4816, allocations: 4 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.527e-05/0.4816, allocations: 15.92 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000315/0.4819, allocations: 296.8 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.288e-05/0.482, allocations: 34.5 kB / 1.021 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.494e-05/0.482, allocations: 16.86 kB / 1.021 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 5.09e-06/0.482, allocations: 0 / 1.021 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.499e-05/0.4821, allocations: 63.39 kB / 1.021 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.4822, allocations: 0 / 1.021 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0001605/0.4823, allocations: 61.69 kB / 1.021 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.352e-05/0.4824, allocations: 55.41 kB / 1.021 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.089e-05/0.4824, allocations: 117.8 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/0.4825, allocations: 25.7 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.499e-05/0.4825, allocations: 92.03 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.336e-05/0.4825, allocations: 11.91 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.776e-05/0.4826, allocations: 29.7 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 7.841e-05/0.4827, allocations: 314.8 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.537e-05/0.4828, allocations: 35.97 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.707e-05/0.4828, allocations: 46.56 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001035/0.4829, allocations: 92.14 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.483, allocations: 0 / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002329/0.4832, allocations: 151.3 kB / 1.022 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.7e-05/0.4832, allocations: 35.2 kB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.4832, allocations: 4 kB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/0.4833, allocations: 3.984 kB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.882e-05/0.4833, allocations: 0 / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.047e-06/0.4833, allocations: 4 kB / 1.022 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002006/0.4835, allocations: 31.91 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.586e-05/0.4835, allocations: 4.062 kB / 1.022 GB, free: 13.89 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.223e-05/0.4836, allocations: 125.8 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.175e-05/0.4836, allocations: 7.906 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.787e-05/0.4837, allocations: 3.906 kB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.4837, allocations: 0 / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.4837, allocations: 0 / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.4837, allocations: 0 / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001005/0.4838, allocations: 165.6 kB / 1.022 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.4838, allocations: 0 / 1.022 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.104e-05/0.4838, allocations: 16 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.4838, allocations: 4 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.08e-06/0.4838, allocations: 0 / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.4838, allocations: 0 / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.4838, allocations: 0 / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.81e-05/0.4839, allocations: 92.98 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.81e-05/0.484, allocations: 81.02 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.06e-05/0.484, allocations: 0 / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.311e-05/0.484, allocations: 0 / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.915e-05/0.484, allocations: 8.281 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.666e-06/0.484, allocations: 7.984 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.333e-05/0.4841, allocations: 83.28 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4841, allocations: 0 / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001994/0.4843, allocations: 16 kB / 1.022 GB, free: 13.19 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.0003224/0.4846, allocations: 0.6397 MB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001855/0.4848, allocations: 123.3 kB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.4848, allocations: 0 / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.295e-05/0.4849, allocations: 19.98 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001731/0.485, allocations: 8 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001175/0.4862, allocations: 1.391 MB / 1.024 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001813/0.4864, allocations: 0.6768 MB / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.89e-05/0.4864, allocations: 7.984 kB / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.474e-05/0.4865, allocations: 11.44 kB / 1.025 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.4865, allocations: 0 / 1.025 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6107/1.097, allocations: 1.979 MB / 1.027 GB, free: 8.266 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.469/9.566, allocations: 9.891 kB / 1.027 GB, free: 8.258 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