Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_8_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,fileNamePrefix="Buildings_8_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.0007417/0.0007418, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0007687/0.0007688, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.293/1.293, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.566/1.566, allocations: 292.7 MB / 0.5499 GB, free: 14.54 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005123/0.0005123, allocations: 16.62 kB / 0.6738 GB, free: 26.05 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2418/0.2423, allocations: 116.3 MB / 0.7874 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.0007908/0.2431, allocations: 345.9 kB / 0.7877 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001269/0.2444, allocations: 1.095 MB / 0.7888 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.351e-05/0.2445, allocations: 0 / 0.7888 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.817e-05/0.2445, allocations: 3.938 kB / 0.7888 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.583e-05/0.2446, allocations: 4 kB / 0.7888 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004341/0.245, allocations: 110.5 kB / 0.7889 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.836e-05/0.2451, allocations: 67.83 kB / 0.789 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.169e-05/0.2452, allocations: 12 kB / 0.789 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.07e-05/0.2453, allocations: 27.97 kB / 0.789 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.309e-05/0.2454, allocations: 23.91 kB / 0.789 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.2454, allocations: 4 kB / 0.789 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.692e-05/0.2455, allocations: 19.98 kB / 0.7891 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.9e-05/0.2455, allocations: 7.922 kB / 0.7891 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.392e-05/0.2455, allocations: 37.7 kB / 0.7891 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.502e-05/0.2456, allocations: 55.86 kB / 0.7892 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.2456, allocations: 0 / 0.7892 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.142e-06/0.2457, allocations: 0 / 0.7892 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.03e-06/0.2457, allocations: 3.938 kB / 0.7892 GB, free: 10.01 MB / 0.6075 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.0003615/0.246, allocations: 365.2 kB / 0.7895 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.2461, allocations: 12.03 kB / 0.7895 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.168e-05/0.2461, allocations: 34.56 kB / 0.7896 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.698e-05/0.2462, allocations: 4 kB / 0.7896 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001225/0.2463, allocations: 174.9 kB / 0.7897 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.44e-05/0.2463, allocations: 7.984 kB / 0.7897 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.154e-05/0.2463, allocations: 4 kB / 0.7897 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.938e-05/0.2465, allocations: 49.56 kB / 0.7898 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.2465, allocations: 0 / 0.7898 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/0.2465, allocations: 4 kB / 0.7898 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.2465, allocations: 0 / 0.7898 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.533e-05/0.2465, allocations: 8 kB / 0.7898 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004253/0.247, allocations: 292.8 kB / 0.7901 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.029e-05/0.247, allocations: 30.52 kB / 0.7901 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.075e-05/0.2471, allocations: 8.922 kB / 0.7901 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.467e-05/0.2471, allocations: 7.984 kB / 0.7901 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000145/0.2472, allocations: 55.41 kB / 0.7902 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.302e-06/0.2473, allocations: 0 / 0.7902 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0001928/0.2475, allocations: 73.61 kB / 0.7902 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.397e-05/0.2475, allocations: 55.41 kB / 0.7903 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.421e-05/0.2476, allocations: 109.8 kB / 0.7904 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.653e-05/0.2476, allocations: 29.7 kB / 0.7904 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.147e-05/0.2477, allocations: 88.14 kB / 0.7905 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.421e-05/0.2477, allocations: 7.891 kB / 0.7905 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.322e-05/0.2477, allocations: 8 kB / 0.7905 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.2478, allocations: 322.8 kB / 0.7908 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.66e-05/0.2479, allocations: 31.98 kB / 0.7909 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.119e-05/0.248, allocations: 46.56 kB / 0.7909 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.516e-05/0.2481, allocations: 61.69 kB / 0.791 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.2481, allocations: 0 / 0.791 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002458/0.2484, allocations: 151.4 kB / 0.7911 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.366e-05/0.2484, allocations: 37.69 kB / 0.7912 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.2484, allocations: 0 / 0.7912 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.2484, allocations: 0 / 0.7912 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.423e-05/0.2485, allocations: 7.938 kB / 0.7912 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.2485, allocations: 0 / 0.7912 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002114/0.2487, allocations: 43.94 kB / 0.7912 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.064e-05/0.2488, allocations: 11.98 kB / 0.7912 GB, free: 7.645 MB / 0.6075 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,$PRE.booPul.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.558e-05/0.2489, allocations: 113.8 kB / 0.7913 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.129e-05/0.2489, allocations: 4 kB / 0.7913 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.614e-05/0.2489, allocations: 7.906 kB / 0.7913 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.2489, allocations: 3.938 kB / 0.7913 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.2489, allocations: 7.938 kB / 0.7913 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.2489, allocations: 0 / 0.7913 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001149/0.2491, allocations: 165.6 kB / 0.7915 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.2491, allocations: 0 / 0.7915 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.817e-05/0.2491, allocations: 4 kB / 0.7915 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.2491, allocations: 0 / 0.7915 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.652e-06/0.2491, allocations: 0 / 0.7915 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.2491, allocations: 0 / 0.7915 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.2491, allocations: 400 / 0.7915 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000128/0.2492, allocations: 109.1 kB / 0.7916 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.652e-05/0.2493, allocations: 77.11 kB / 0.7917 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.176e-05/0.2493, allocations: 0 / 0.7917 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.891e-05/0.2493, allocations: 0 / 0.7917 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.017e-05/0.2494, allocations: 7.984 kB / 0.7917 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-06/0.2494, allocations: 0 / 0.7917 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.235e-05/0.2494, allocations: 87.27 kB / 0.7918 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2494, allocations: 0 / 0.7918 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002017/0.2496, allocations: 19.94 kB / 0.7918 GB, free: 6.945 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004192/0.2501, allocations: 0.6319 MB / 0.7924 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002157/0.2503, allocations: 127.4 kB / 0.7925 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2503, allocations: 0 / 0.7925 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.558e-05/0.2504, allocations: 15.94 kB / 0.7926 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001917/0.2506, allocations: 16.11 kB / 0.7926 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000815/0.2514, allocations: 0.5099 MB / 0.7931 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000262/0.2517, allocations: 0.6809 MB / 0.7937 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.311e-05/0.2517, allocations: 7.938 kB / 0.7937 GB, free: 4.836 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.809e-05/0.2517, allocations: 11.44 kB / 0.7937 GB, free: 4.824 MB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.2517, allocations: 0 / 0.7937 GB, free: 4.824 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01273/0.2645, allocations: 1.76 MB / 0.7955 GB, free: 3.223 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001655/0.2647, allocations: 205 kB / 0.7957 GB, free: 2.98 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.574/1.839, allocations: 0 / 0.7957 GB, free: 2.98 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1) Environment - environmentSimulation: