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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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.0007867/0.0007867, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.0009247/0.0009248, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.46/1.46, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.653/2.653, allocations: 409.4 MB / 0.684 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003753/0.0003754, allocations: 8 kB / 0.8378 GB, free: 6.512 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8339/0.8343, allocations: 146.8 MB / 0.9811 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.0008454/0.8351, allocations: 335.9 kB / 0.9815 GB, free: 5.934 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001578/0.8367, allocations: 1.084 MB / 0.9825 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.622e-05/0.8368, allocations: 0 / 0.9825 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.369e-05/0.8368, allocations: 0 / 0.9825 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.056e-05/0.8369, allocations: 3.938 kB / 0.9825 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005091/0.8374, allocations: 117.5 kB / 0.9826 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001187/0.8375, allocations: 75.81 kB / 0.9827 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 7.444e-05/0.8376, allocations: 4 kB / 0.9827 GB, free: 4.641 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.405e-05/0.8377, allocations: 31.91 kB / 0.9827 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.832e-05/0.8378, allocations: 23.91 kB / 0.9828 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.557e-05/0.8378, allocations: 8 kB / 0.9828 GB, free: 4.578 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 7.936e-05/0.8379, allocations: 15.92 kB / 0.9828 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.187e-05/0.8379, allocations: 11.98 kB / 0.9828 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.052e-05/0.838, allocations: 29.7 kB / 0.9828 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001174/0.8381, allocations: 55.88 kB / 0.9829 GB, free: 4.461 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.8382, allocations: 4 kB / 0.9829 GB, free: 4.457 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.082e-06/0.8382, allocations: 0 / 0.9829 GB, free: 4.457 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.008e-06/0.8382, allocations: 0 / 0.9829 GB, free: 4.457 MB / 0.7325 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.0004282/0.8386, allocations: 363.2 kB / 0.9832 GB, free: 4.051 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.8387, allocations: 8.031 kB / 0.9832 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.833e-05/0.8387, allocations: 38.55 kB / 0.9833 GB, free: 3.996 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.33e-05/0.8388, allocations: 7.906 kB / 0.9833 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000135/0.8389, allocations: 163.1 kB / 0.9834 GB, free: 3.789 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.215e-05/0.8389, allocations: 3.938 kB / 0.9834 GB, free: 3.785 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.484e-05/0.839, allocations: 16 kB / 0.9835 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001114/0.8391, allocations: 37.64 kB / 0.9835 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.8391, allocations: 0 / 0.9835 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.8391, allocations: 0 / 0.9835 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.8392, allocations: 0 / 0.9835 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.399e-05/0.8392, allocations: 15.98 kB / 0.9835 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004659/0.8397, allocations: 284.9 kB / 0.9838 GB, free: 3.383 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 8.004e-05/0.8398, allocations: 42.39 kB / 0.9838 GB, free: 3.332 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.917e-05/0.8398, allocations: 12.92 kB / 0.9838 GB, free: 3.316 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.273e-05/0.8398, allocations: 0 / 0.9838 GB, free: 3.316 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001738/0.84, allocations: 63.38 kB / 0.9839 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 3.266e-06/0.84, allocations: 3.984 kB / 0.9839 GB, free: 3.238 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0002488/0.8403, allocations: 73.53 kB / 0.984 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.789e-05/0.8404, allocations: 51.41 kB / 0.984 GB, free: 3.098 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.395e-05/0.8405, allocations: 113.8 kB / 0.9841 GB, free: 2.977 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.258e-05/0.8405, allocations: 29.7 kB / 0.9842 GB, free: 2.941 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.232e-05/0.8406, allocations: 84.14 kB / 0.9842 GB, free: 2.855 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.971e-05/0.8406, allocations: 11.89 kB / 0.9843 GB, free: 2.844 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.361e-05/0.8406, allocations: 0 / 0.9843 GB, free: 2.844 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.8408, allocations: 318.8 kB / 0.9846 GB, free: 2.523 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001014/0.8409, allocations: 27.98 kB / 0.9846 GB, free: 2.496 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001201/0.841, allocations: 54.55 kB / 0.9846 GB, free: 2.434 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001129/0.8411, allocations: 53.7 kB / 0.9847 GB, free: 2.375 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.8411, allocations: 0 / 0.9847 GB, free: 2.375 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003417/0.8415, allocations: 155.2 kB / 0.9848 GB, free: 2.211 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.532e-05/0.8416, allocations: 37.69 kB / 0.9849 GB, free: 2.168 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.407e-06/0.8416, allocations: 4 kB / 0.9849 GB, free: 2.164 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.8416, allocations: 3.938 kB / 0.9849 GB, free: 2.16 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.613e-05/0.8417, allocations: 7.938 kB / 0.9849 GB, free: 2.152 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.094e-06/0.8417, allocations: 4.062 kB / 0.9849 GB, free: 2.148 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003002/0.842, allocations: 39.89 kB / 0.9849 GB, free: 2.109 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.496e-05/0.842, allocations: 4 kB / 0.9849 GB, free: 2.105 MB / 0.7325 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 0.0001105/0.8422, allocations: 117.8 kB / 0.985 GB, free: 1.98 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.527e-05/0.8422, allocations: 7.953 kB / 0.9851 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.597e-05/0.8422, allocations: 3.906 kB / 0.9851 GB, free: 1.965 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.8422, allocations: 4 kB / 0.9851 GB, free: 1.961 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.8422, allocations: 0 / 0.9851 GB, free: 1.961 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.8423, allocations: 3.984 kB / 0.9851 GB, free: 1.957 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001457/0.8424, allocations: 165.6 kB / 0.9852 GB, free: 1.746 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.8424, allocations: 0 / 0.9852 GB, free: 1.746 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.01e-05/0.8424, allocations: 64 / 0.9852 GB, free: 1.746 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.63e-05/0.8425, allocations: 11.94 kB / 0.9852 GB, free: 1.734 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.8425, allocations: 7.938 kB / 0.9852 GB, free: 1.727 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.8425, allocations: 0 / 0.9852 GB, free: 1.727 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.8425, allocations: 4.391 kB / 0.9852 GB, free: 1.723 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001404/0.8427, allocations: 81.06 kB / 0.9853 GB, free: 1.625 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.824e-05/0.8427, allocations: 77.11 kB / 0.9854 GB, free: 1.531 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.278e-05/0.8427, allocations: 15.94 kB / 0.9854 GB, free: 1.516 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.962e-05/0.8428, allocations: 0 / 0.9854 GB, free: 1.516 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.577e-05/0.8428, allocations: 0 / 0.9854 GB, free: 1.516 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.168e-06/0.8428, allocations: 4 kB / 0.9854 GB, free: 1.512 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.091e-05/0.8429, allocations: 95.25 kB / 0.9855 GB, free: 1.418 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.31e-07/0.8429, allocations: 0 / 0.9855 GB, free: 1.418 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003415/0.8432, allocations: 20 kB / 0.9855 GB, free: 1.398 MB / 0.7325 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.0004876/0.8437, allocations: 0.6249 MB / 0.9861 GB, free: 0.7422 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000267/0.844, allocations: 119.4 kB / 0.9862 GB, free: 0.6133 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.844, allocations: 4.125 kB / 0.9863 GB, free: 0.6094 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 4.898e-05/0.8441, allocations: 23.92 kB / 0.9863 GB, free: 0.5859 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002593/0.8444, allocations: 11.94 kB / 0.9863 GB, free: 0.5742 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0011/0.8455, allocations: 0.5102 MB / 0.9868 GB, free: 16 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002852/0.8458, allocations: 0.6809 MB / 0.9874 GB, free: 15.31 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 2.605e-05/0.8458, allocations: 0 / 0.9874 GB, free: 15.31 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.012e-05/0.8459, allocations: 19.42 kB / 0.9875 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of SimCode: time 2.9e-07/0.8459, allocations: 0 / 0.9875 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01509/0.861, allocations: 1.763 MB / 0.9892 GB, free: 13.71 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002613/0.8613, allocations: 211 kB / 0.9894 GB, free: 13.47 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.802/2.664, allocations: 0 / 0.9894 GB, free: 13.47 MB / 0.7481 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/linux/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) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.mat does not exist to compare? outputFormat=mat