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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.007805/0.007805, allocations: 106.2 kB / 15.73 MB, free: 5.992 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.001722/0.001722, allocations: 194.8 kB / 16.67 MB, free: 5.914 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.322/1.322, allocations: 222.9 MB / 240.4 MB, free: 4.141 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.621/2.621, allocations: 461.9 MB / 0.7348 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001521/0.001521, allocations: 63.91 kB / 1.054 GB, free: 7.695 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3065/0.308, allocations: 157.4 MB / 1.207 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001803/0.3099, allocations: 0.608 MB / 1.208 GB, free: 9.582 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001313/0.3112, allocations: 1.12 MB / 1.209 GB, free: 8.449 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.421e-05/0.3113, allocations: 0 / 1.209 GB, free: 8.449 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.384e-05/0.3113, allocations: 0 / 1.209 GB, free: 8.449 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.441e-05/0.3114, allocations: 3.938 kB / 1.209 GB, free: 8.445 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004718/0.3119, allocations: 118.1 kB / 1.209 GB, free: 8.332 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001535/0.3121, allocations: 103.8 kB / 1.209 GB, free: 8.23 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.171e-05/0.3121, allocations: 8 kB / 1.209 GB, free: 8.223 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.143e-05/0.3122, allocations: 31.97 kB / 1.209 GB, free: 8.191 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.126e-05/0.3123, allocations: 31.89 kB / 1.209 GB, free: 8.16 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.225e-05/0.3123, allocations: 8 kB / 1.209 GB, free: 8.152 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 6.691e-05/0.3124, allocations: 27.97 kB / 1.209 GB, free: 8.125 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.695e-05/0.3124, allocations: 4 kB / 1.209 GB, free: 8.121 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.207e-05/0.3125, allocations: 31.86 kB / 1.209 GB, free: 8.09 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001503/0.3127, allocations: 87.84 kB / 1.209 GB, free: 8.004 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.3127, allocations: 3.938 kB / 1.209 GB, free: 8 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3127, allocations: 0 / 1.209 GB, free: 8 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.61e-06/0.3127, allocations: 0 / 1.209 GB, free: 8 MB / 0.9669 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.000437/0.3131, allocations: 377.4 kB / 1.21 GB, free: 7.574 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.3132, allocations: 8.625 kB / 1.21 GB, free: 7.566 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.168e-05/0.3132, allocations: 38.67 kB / 1.21 GB, free: 7.52 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.005e-05/0.3133, allocations: 8.844 kB / 1.21 GB, free: 7.512 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001078/0.3134, allocations: 164.4 kB / 1.21 GB, free: 7.312 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.182e-05/0.3134, allocations: 8.375 kB / 1.21 GB, free: 7.305 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.029e-05/0.3134, allocations: 4.375 kB / 1.21 GB, free: 7.301 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.628e-05/0.3135, allocations: 38.25 kB / 1.21 GB, free: 7.258 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.3135, allocations: 3.938 kB / 1.21 GB, free: 7.254 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.3136, allocations: 3.984 kB / 1.21 GB, free: 7.25 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.3136, allocations: 4 kB / 1.21 GB, free: 7.246 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.862e-05/0.3136, allocations: 11.98 kB / 1.21 GB, free: 7.234 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003698/0.314, allocations: 300.8 kB / 1.21 GB, free: 6.891 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 6.221e-05/0.3141, allocations: 34.5 kB / 1.21 GB, free: 6.848 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.379e-05/0.3141, allocations: 12.92 kB / 1.21 GB, free: 6.832 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 9.518e-06/0.3141, allocations: 0 / 1.21 GB, free: 6.832 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001477/0.3143, allocations: 59.39 kB / 1.21 GB, free: 6.762 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.523e-06/0.3143, allocations: 0 / 1.21 GB, free: 6.762 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0001826/0.3145, allocations: 73.53 kB / 1.21 GB, free: 6.684 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.372e-05/0.3145, allocations: 55.41 kB / 1.211 GB, free: 6.617 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.592e-05/0.3146, allocations: 109.8 kB / 1.211 GB, free: 6.5 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.356e-05/0.3146, allocations: 29.7 kB / 1.211 GB, free: 6.465 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.778e-05/0.3147, allocations: 92.06 kB / 1.211 GB, free: 6.371 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.445e-05/0.3147, allocations: 7.906 kB / 1.211 GB, free: 6.363 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.021e-05/0.3148, allocations: 29.7 kB / 1.211 GB, free: 6.328 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 8.848e-05/0.3148, allocations: 310.8 kB / 1.211 GB, free: 6.016 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.011e-05/0.3149, allocations: 31.98 kB / 1.211 GB, free: 5.984 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.399e-05/0.315, allocations: 58.55 kB / 1.211 GB, free: 5.918 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001086/0.3151, allocations: 88.14 kB / 1.211 GB, free: 5.816 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.3152, allocations: 4 kB / 1.211 GB, free: 5.812 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002375/0.3154, allocations: 147.2 kB / 1.211 GB, free: 5.656 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.191e-05/0.3154, allocations: 37.64 kB / 1.211 GB, free: 5.613 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.85e-06/0.3154, allocations: 64 / 1.211 GB, free: 5.613 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.3155, allocations: 4 kB / 1.211 GB, free: 5.609 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.066e-05/0.3155, allocations: 7.984 kB / 1.211 GB, free: 5.602 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.3155, allocations: 0 / 1.211 GB, free: 5.602 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001947/0.3157, allocations: 31.91 kB / 1.211 GB, free: 5.57 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.784e-05/0.3158, allocations: 4 kB / 1.211 GB, free: 5.566 MB / 0.9669 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.816e-05/0.3158, allocations: 117.8 kB / 1.212 GB, free: 5.441 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.258e-05/0.3159, allocations: 7.906 kB / 1.212 GB, free: 5.434 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.361e-05/0.3159, allocations: 11.89 kB / 1.212 GB, free: 5.414 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.3159, allocations: 4 kB / 1.212 GB, free: 5.41 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.3159, allocations: 0 / 1.212 GB, free: 5.41 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.3159, allocations: 0 / 1.212 GB, free: 5.41 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001021/0.316, allocations: 161.6 kB / 1.212 GB, free: 5.203 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.316, allocations: 3.984 kB / 1.212 GB, free: 5.199 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.646e-05/0.3161, allocations: 0 / 1.212 GB, free: 5.199 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-06/0.3161, allocations: 0 / 1.212 GB, free: 5.199 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.3161, allocations: 12.06 kB / 1.212 GB, free: 5.188 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.3161, allocations: 0 / 1.212 GB, free: 5.188 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3161, allocations: 0 / 1.212 GB, free: 5.188 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001016/0.3162, allocations: 89.5 kB / 1.212 GB, free: 5.082 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.572e-05/0.3162, allocations: 85 kB / 1.212 GB, free: 4.98 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.397e-05/0.3163, allocations: 4 kB / 1.212 GB, free: 4.977 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.449e-05/0.3163, allocations: 0 / 1.212 GB, free: 4.977 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.592e-05/0.3163, allocations: 288 / 1.212 GB, free: 4.977 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-06/0.3163, allocations: 8 kB / 1.212 GB, free: 4.969 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.646e-05/0.3164, allocations: 83.66 kB / 1.212 GB, free: 4.887 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3164, allocations: 4 kB / 1.212 GB, free: 4.883 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002213/0.3166, allocations: 20 kB / 1.212 GB, free: 4.863 MB / 0.9669 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.0003513/0.3169, allocations: 0.6241 MB / 1.213 GB, free: 4.211 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002083/0.3172, allocations: 127.3 kB / 1.213 GB, free: 4.074 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.3172, allocations: 4.062 kB / 1.213 GB, free: 4.07 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 3.566e-05/0.3172, allocations: 19.98 kB / 1.213 GB, free: 4.051 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001864/0.3174, allocations: 11.09 kB / 1.213 GB, free: 4.043 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001257/0.3187, allocations: 1.401 MB / 1.214 GB, free: 2.539 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001933/0.3189, allocations: 0.6852 MB / 1.215 GB, free: 1.828 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.118e-05/0.3189, allocations: 8 kB / 1.215 GB, free: 1.82 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.76e-05/0.319, allocations: 11.44 kB / 1.215 GB, free: 1.812 MB / 0.9669 GB Notification: Performance of SimCode: time 3.01e-07/0.319, allocations: 0 / 1.215 GB, free: 1.812 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01752/0.3365, allocations: 2.052 MB / 1.217 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.674/8.011, allocations: 15.42 kB / 1.217 GB, free: 15.9 MB / 0.9825 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