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.001111/0.001111, allocations: 95.92 kB / 15.36 MB, free: 0.7344 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.008934/0.008934, allocations: 170.8 kB / 16.27 MB, free: 6.648 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.215/1.215, allocations: 223.3 MB / 240.3 MB, free: 5.258 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.263/2.263, allocations: 437.8 MB / 0.7121 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002767/0.0002767, allocations: 8 kB / 0.873 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4995/0.4998, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.0006277/0.5005, allocations: 344.5 kB / 1.023 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001102/0.5016, allocations: 1.113 MB / 1.025 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.024e-05/0.5016, allocations: 3.938 kB / 1.025 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.185e-05/0.5016, allocations: 0 / 1.025 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.087e-05/0.5017, allocations: 7.922 kB / 1.025 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003564/0.5021, allocations: 107.8 kB / 1.025 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.385e-05/0.5021, allocations: 83.77 kB / 1.025 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 6.906e-05/0.5022, allocations: 12 kB / 1.025 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.95e-05/0.5023, allocations: 23.98 kB / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.619e-05/0.5023, allocations: 23.89 kB / 1.025 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.865e-05/0.5024, allocations: 8 kB / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 4.865e-05/0.5024, allocations: 15.98 kB / 1.025 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.403e-05/0.5024, allocations: 7.984 kB / 1.025 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.338e-05/0.5025, allocations: 53.56 kB / 1.025 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001079/0.5026, allocations: 79.83 kB / 1.025 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.5026, allocations: 0 / 1.025 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.132e-06/0.5026, allocations: 7.938 kB / 1.025 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.795e-06/0.5026, allocations: 0 / 1.025 GB, free: 13.95 MB / 0.7794 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.0003099/0.5029, allocations: 363.4 kB / 1.025 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.032e-05/0.503, allocations: 8.031 kB / 1.025 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.655e-05/0.503, allocations: 34.75 kB / 1.025 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.983e-05/0.503, allocations: 8.844 kB / 1.025 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.974e-05/0.5031, allocations: 172.3 kB / 1.026 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.719e-05/0.5032, allocations: 8.375 kB / 1.026 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.75e-05/0.5032, allocations: 4.375 kB / 1.026 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.568e-05/0.5033, allocations: 42.25 kB / 1.026 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.5033, allocations: 3.938 kB / 1.026 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.951e-06/0.5033, allocations: 4 kB / 1.026 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.5033, allocations: 3.984 kB / 1.026 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.206e-05/0.5033, allocations: 7.844 kB / 1.026 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002959/0.5036, allocations: 292.9 kB / 1.026 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 4.94e-05/0.5037, allocations: 34.45 kB / 1.026 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.674e-05/0.5037, allocations: 8.859 kB / 1.026 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 6.592e-06/0.5037, allocations: 4.062 kB / 1.026 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.56e-05/0.5038, allocations: 63.3 kB / 1.026 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.5038, allocations: 0 / 1.026 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0001548/0.504, allocations: 73.61 kB / 1.026 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.807e-05/0.504, allocations: 51.41 kB / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.981e-05/0.5041, allocations: 113.8 kB / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.5041, allocations: 25.7 kB / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.026e-05/0.5042, allocations: 88.14 kB / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 9.939e-06/0.5042, allocations: 3.906 kB / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.478e-05/0.5042, allocations: 21.7 kB / 1.026 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.16e-05/0.5043, allocations: 314.8 kB / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.523e-05/0.5044, allocations: 31.98 kB / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.011e-05/0.5045, allocations: 50.55 kB / 1.027 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001002/0.5046, allocations: 88.16 kB / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.5046, allocations: 0 / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002141/0.5048, allocations: 155.2 kB / 1.027 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.823e-05/0.5049, allocations: 33.7 kB / 1.027 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.166e-06/0.5049, allocations: 3.938 kB / 1.027 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.902e-06/0.5049, allocations: 0 / 1.027 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.448e-05/0.5049, allocations: 4 kB / 1.027 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/0.5049, allocations: 4.062 kB / 1.027 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000208/0.5051, allocations: 47.89 kB / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.465e-05/0.5052, allocations: 4 kB / 1.027 GB, free: 11.54 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 6.88e-05/0.5052, allocations: 118.2 kB / 1.027 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.02e-05/0.5052, allocations: 11.91 kB / 1.027 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.008e-05/0.5053, allocations: 11.89 kB / 1.027 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.5053, allocations: 0 / 1.027 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.5053, allocations: 0 / 1.027 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.5053, allocations: 0 / 1.027 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.938e-05/0.5054, allocations: 169.7 kB / 1.027 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.5054, allocations: 0 / 1.027 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.544e-05/0.5054, allocations: 7.984 kB / 1.027 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.5054, allocations: 0 / 1.027 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.5054, allocations: 4 kB / 1.027 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.5054, allocations: 4 kB / 1.027 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.5054, allocations: 0 / 1.027 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001006/0.5056, allocations: 85.06 kB / 1.027 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.908e-05/0.5056, allocations: 84.95 kB / 1.028 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.212e-05/0.5056, allocations: 3.984 kB / 1.028 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.308e-05/0.5056, allocations: 3.938 kB / 1.028 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.607e-05/0.5056, allocations: 4 kB / 1.028 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.5057, allocations: 0 / 1.028 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.312e-05/0.5057, allocations: 95.27 kB / 1.028 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.5057, allocations: 0 / 1.028 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001829/0.5059, allocations: 12 kB / 1.028 GB, free: 10.84 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.0003112/0.5062, allocations: 0.6245 MB / 1.028 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001756/0.5064, allocations: 131.4 kB / 1.028 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.233e-06/0.5064, allocations: 0 / 1.028 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.891e-05/0.5064, allocations: 16 kB / 1.028 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001595/0.5066, allocations: 9.875 kB / 1.028 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001124/0.5077, allocations: 1.394 MB / 1.03 GB, free: 8.527 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001903/0.5079, allocations: 0.6809 MB / 1.03 GB, free: 7.82 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.659e-05/0.508, allocations: 3.984 kB / 1.03 GB, free: 7.816 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.382e-05/0.508, allocations: 15.44 kB / 1.03 GB, free: 7.801 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.508, allocations: 0 / 1.03 GB, free: 7.801 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.09/1.598, allocations: 1.78 MB / 1.032 GB, free: 6.18 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001807/1.598, allocations: 219.9 kB / 1.032 GB, free: 5.918 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.317/3.915, allocations: 0 / 1.032 GB, free: 5.918 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