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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001085/0.001084, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001128/0.001128, allocations: 192.7 kB / 16.14 MB, free: 6.711 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.196/1.196, allocations: 222.9 MB / 239.8 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.418/2.418, allocations: 461.8 MB / 0.7342 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 60.62 kB / 0.8985 GB, free: 36.97 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2478/0.2491, allocations: 157.4 MB / 1.052 GB, free: 8.195 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001776/0.2509, allocations: 0.6628 MB / 1.053 GB, free: 7.531 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001293/0.2522, allocations: 1.135 MB / 1.054 GB, free: 6.383 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.003e-05/0.2523, allocations: 0 / 1.054 GB, free: 6.383 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.933e-05/0.2523, allocations: 0 / 1.054 GB, free: 6.383 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.578e-05/0.2524, allocations: 7.938 kB / 1.054 GB, free: 6.375 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003721/0.2527, allocations: 102.9 kB / 1.054 GB, free: 6.277 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.817e-05/0.2528, allocations: 83.83 kB / 1.054 GB, free: 6.195 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.047e-05/0.2529, allocations: 4 kB / 1.054 GB, free: 6.191 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.034e-05/0.253, allocations: 35.89 kB / 1.054 GB, free: 6.156 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.496e-05/0.2531, allocations: 23.97 kB / 1.054 GB, free: 6.133 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.132e-05/0.2531, allocations: 4 kB / 1.054 GB, free: 6.129 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.358e-05/0.2532, allocations: 19.98 kB / 1.054 GB, free: 6.109 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.404e-05/0.2532, allocations: 3.938 kB / 1.054 GB, free: 6.105 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.425e-05/0.2532, allocations: 35.89 kB / 1.054 GB, free: 6.07 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001433/0.2534, allocations: 79.8 kB / 1.054 GB, free: 5.992 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.2534, allocations: 4 kB / 1.054 GB, free: 5.988 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.695e-06/0.2534, allocations: 0 / 1.054 GB, free: 5.988 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.2534, allocations: 3.938 kB / 1.054 GB, free: 5.984 MB / 0.8106 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.0003923/0.2538, allocations: 381.4 kB / 1.055 GB, free: 5.555 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.2538, allocations: 11.97 kB / 1.055 GB, free: 5.543 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.766e-05/0.2539, allocations: 30.75 kB / 1.055 GB, free: 5.504 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.779e-05/0.2539, allocations: 4.938 kB / 1.055 GB, free: 5.5 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.708e-05/0.254, allocations: 164.4 kB / 1.055 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.254, allocations: 384 / 1.055 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.705e-05/0.2541, allocations: 12.36 kB / 1.055 GB, free: 5.289 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.59e-05/0.2542, allocations: 38.27 kB / 1.055 GB, free: 5.246 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.603e-06/0.2542, allocations: 3.938 kB / 1.055 GB, free: 5.242 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.2542, allocations: 3.984 kB / 1.055 GB, free: 5.238 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.606e-06/0.2542, allocations: 0 / 1.055 GB, free: 5.238 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.775e-05/0.2542, allocations: 15.94 kB / 1.055 GB, free: 5.223 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000341/0.2546, allocations: 296.7 kB / 1.055 GB, free: 4.883 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.562e-05/0.2547, allocations: 34.52 kB / 1.055 GB, free: 4.84 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.922e-05/0.2547, allocations: 12.92 kB / 1.055 GB, free: 4.824 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.724e-06/0.2547, allocations: 0 / 1.055 GB, free: 4.824 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001269/0.2548, allocations: 71.33 kB / 1.055 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.163e-06/0.2548, allocations: 0 / 1.055 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0001755/0.255, allocations: 65.69 kB / 1.055 GB, free: 4.672 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.2551, allocations: 59.33 kB / 1.056 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.846e-05/0.2551, allocations: 121.7 kB / 1.056 GB, free: 4.473 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.244e-05/0.2552, allocations: 33.7 kB / 1.056 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.233e-05/0.2552, allocations: 84.14 kB / 1.056 GB, free: 4.348 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.398e-05/0.2553, allocations: 7.906 kB / 1.056 GB, free: 4.34 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.901e-05/0.2553, allocations: 29.7 kB / 1.056 GB, free: 4.305 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.515e-05/0.2554, allocations: 314.8 kB / 1.056 GB, free: 3.988 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.552e-05/0.2555, allocations: 31.98 kB / 1.056 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.174e-05/0.2556, allocations: 58.5 kB / 1.056 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001096/0.2557, allocations: 84.19 kB / 1.056 GB, free: 3.793 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2557, allocations: 0 / 1.056 GB, free: 3.793 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002613/0.256, allocations: 151.5 kB / 1.056 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.398e-05/0.256, allocations: 37.69 kB / 1.056 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.256, allocations: 0 / 1.056 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.899e-06/0.256, allocations: 0 / 1.056 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.741e-05/0.2561, allocations: 15.98 kB / 1.056 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.2561, allocations: 0 / 1.056 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001937/0.2563, allocations: 27.88 kB / 1.056 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.957e-05/0.2563, allocations: 11.98 kB / 1.056 GB, free: 3.535 MB / 0.8106 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 0.000105/0.2564, allocations: 117.8 kB / 1.057 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.427e-06/0.2565, allocations: 0 / 1.057 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.185e-05/0.2565, allocations: 7.906 kB / 1.057 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.2565, allocations: 8 kB / 1.057 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.2565, allocations: 0 / 1.057 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.185e-06/0.2565, allocations: 0 / 1.057 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001001/0.2566, allocations: 165.6 kB / 1.057 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.2566, allocations: 0 / 1.057 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.505e-05/0.2566, allocations: 0 / 1.057 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.2566, allocations: 0 / 1.057 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.72e-05/0.2567, allocations: 8 kB / 1.057 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.2567, allocations: 4.062 kB / 1.057 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.2567, allocations: 0 / 1.057 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001067/0.2568, allocations: 96.89 kB / 1.057 GB, free: 3.055 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 2.948e-05/0.2568, allocations: 77.11 kB / 1.057 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.322e-05/0.2568, allocations: 4 kB / 1.057 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.53e-05/0.2569, allocations: 0 / 1.057 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.916e-05/0.2569, allocations: 7.922 kB / 1.057 GB, free: 2.949 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.161e-06/0.2569, allocations: 4 kB / 1.057 GB, free: 2.945 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.264e-05/0.2569, allocations: 83.28 kB / 1.057 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2569, allocations: 0 / 1.057 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002008/0.2572, allocations: 23.94 kB / 1.057 GB, free: 2.84 MB / 0.8106 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.0003611/0.2575, allocations: 0.6318 MB / 1.058 GB, free: 2.18 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001971/0.2577, allocations: 123.4 kB / 1.058 GB, free: 2.047 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.2577, allocations: 4 kB / 1.058 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.413e-05/0.2578, allocations: 16.06 kB / 1.058 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001766/0.258, allocations: 9.719 kB / 1.058 GB, free: 2.02 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001291/0.2593, allocations: 1.383 MB / 1.059 GB, free: 0.5352 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002272/0.2595, allocations: 0.6848 MB / 1.06 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.226e-05/0.2595, allocations: 11.94 kB / 1.06 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.647e-05/0.2596, allocations: 11.44 kB / 1.06 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of SimCode: time 3e-07/0.2596, allocations: 0 / 1.06 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01969/0.2793, allocations: 1.849 MB / 1.062 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003358/0.2796, allocations: 225.9 kB / 1.062 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.817/2.097, allocations: 2 kB / 1.062 GB, free: 13.84 MB / 0.8262 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 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.mat","/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