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.001551/0.001551, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001678/0.001678, allocations: 177.3 kB / 15.94 MB, free: 228 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.562/1.562, allocations: 223.2 MB / 239.9 MB, free: 5.219 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 3.063/3.063, allocations: 409.2 MB / 0.6838 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005427/0.0005428, allocations: 8 kB / 0.8375 GB, free: 6.508 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9255/0.926, allocations: 146.8 MB / 0.9809 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.0008043/0.9269, allocations: 335.9 kB / 0.9812 GB, free: 5.93 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001276/0.9282, allocations: 1.072 MB / 0.9822 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.25e-05/0.9282, allocations: 4 kB / 0.9822 GB, free: 4.84 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.506e-05/0.9283, allocations: 0 / 0.9822 GB, free: 4.84 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.345e-05/0.9283, allocations: 3.938 kB / 0.9823 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004321/0.9288, allocations: 102.8 kB / 0.9824 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.786e-05/0.9288, allocations: 47.92 kB / 0.9824 GB, free: 4.688 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.041e-05/0.9289, allocations: 7.938 kB / 0.9824 GB, free: 4.68 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.431e-05/0.929, allocations: 27.98 kB / 0.9824 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.572e-05/0.9291, allocations: 27.89 kB / 0.9825 GB, free: 4.625 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.9291, allocations: 8 kB / 0.9825 GB, free: 4.617 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 5.507e-05/0.9292, allocations: 19.92 kB / 0.9825 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.471e-05/0.9292, allocations: 7.984 kB / 0.9825 GB, free: 4.59 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.63e-05/0.9293, allocations: 29.7 kB / 0.9825 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 9.766e-05/0.9294, allocations: 55.88 kB / 0.9826 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.9294, allocations: 0 / 0.9826 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.282e-06/0.9294, allocations: 3.938 kB / 0.9826 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.687e-06/0.9294, allocations: 0 / 0.9826 GB, free: 4.496 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.0003762/0.9298, allocations: 367.2 kB / 0.9829 GB, free: 4.086 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.9298, allocations: 12.03 kB / 0.9829 GB, free: 4.074 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.11e-05/0.9298, allocations: 30.56 kB / 0.983 GB, free: 4.035 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.871e-05/0.9299, allocations: 11.91 kB / 0.983 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001147/0.93, allocations: 175 kB / 0.9831 GB, free: 3.812 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/0.93, allocations: 0 / 0.9831 GB, free: 3.812 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.773e-05/0.9301, allocations: 8 kB / 0.9832 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.234e-05/0.9302, allocations: 41.64 kB / 0.9832 GB, free: 3.758 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.171e-06/0.9302, allocations: 0 / 0.9832 GB, free: 3.758 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.9302, allocations: 3.984 kB / 0.9832 GB, free: 3.754 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.9302, allocations: 0 / 0.9832 GB, free: 3.754 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.952e-05/0.9302, allocations: 11.94 kB / 0.9832 GB, free: 3.742 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003672/0.9306, allocations: 296.9 kB / 0.9835 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 6.235e-05/0.9307, allocations: 26.53 kB / 0.9835 GB, free: 3.367 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 7.955e-06/0.9307, allocations: 0 / 0.9835 GB, free: 3.367 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001357/0.9308, allocations: 63.39 kB / 0.9836 GB, free: 3.293 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.9308, allocations: 4 kB / 0.9836 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0001871/0.931, allocations: 73.58 kB / 0.9837 GB, free: 3.211 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.164e-05/0.9311, allocations: 51.41 kB / 0.9837 GB, free: 3.148 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.389e-05/0.9312, allocations: 109.8 kB / 0.9838 GB, free: 3.031 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.115e-05/0.9312, allocations: 29.7 kB / 0.9838 GB, free: 2.996 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.299e-05/0.9313, allocations: 80.14 kB / 0.9839 GB, free: 2.914 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.543e-05/0.9313, allocations: 11.91 kB / 0.9839 GB, free: 2.902 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.668e-06/0.9313, allocations: 0 / 0.9839 GB, free: 2.902 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.946e-05/0.9314, allocations: 322.8 kB / 0.9842 GB, free: 2.578 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.848e-05/0.9315, allocations: 31.98 kB / 0.9843 GB, free: 2.547 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.198e-05/0.9316, allocations: 50.5 kB / 0.9843 GB, free: 2.488 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.254e-05/0.9316, allocations: 57.69 kB / 0.9844 GB, free: 2.426 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.9317, allocations: 0 / 0.9844 GB, free: 2.426 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002214/0.9319, allocations: 155.2 kB / 0.9845 GB, free: 2.262 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.803e-05/0.9319, allocations: 37.75 kB / 0.9845 GB, free: 2.219 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.9319, allocations: 8 kB / 0.9846 GB, free: 2.211 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.932, allocations: 0 / 0.9846 GB, free: 2.211 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.178e-05/0.932, allocations: 8.062 kB / 0.9846 GB, free: 2.203 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.932, allocations: 0 / 0.9846 GB, free: 2.203 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002174/0.9322, allocations: 39.84 kB / 0.9846 GB, free: 2.164 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.678e-05/0.9323, allocations: 8 kB / 0.9846 GB, free: 2.156 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 8.474e-05/0.9324, allocations: 121.8 kB / 0.9847 GB, free: 2.027 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.064e-05/0.9324, allocations: 3.953 kB / 0.9847 GB, free: 2.023 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.259e-05/0.9324, allocations: 7.844 kB / 0.9847 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.9324, allocations: 4 kB / 0.9847 GB, free: 2.008 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.9324, allocations: 0 / 0.9847 GB, free: 2.008 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.9324, allocations: 0 / 0.9847 GB, free: 2.008 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001497/0.9326, allocations: 173.5 kB / 0.9849 GB, free: 1.789 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.9326, allocations: 3.938 kB / 0.9849 GB, free: 1.785 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.442e-05/0.9326, allocations: 4 kB / 0.9849 GB, free: 1.781 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.9326, allocations: 0 / 0.9849 GB, free: 1.781 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.9326, allocations: 7.953 kB / 0.9849 GB, free: 1.773 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.9327, allocations: 0 / 0.9849 GB, free: 1.773 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.9327, allocations: 0 / 0.9849 GB, free: 1.773 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001106/0.9328, allocations: 81.11 kB / 0.985 GB, free: 1.676 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.472e-05/0.9328, allocations: 77.11 kB / 0.9851 GB, free: 1.582 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.587e-05/0.9328, allocations: 4 kB / 0.9851 GB, free: 1.578 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.607e-05/0.9329, allocations: 11.95 kB / 0.9851 GB, free: 1.566 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.482e-05/0.9329, allocations: 3.984 kB / 0.9851 GB, free: 1.562 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.222e-06/0.9329, allocations: 4 kB / 0.9851 GB, free: 1.559 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.242e-05/0.9329, allocations: 79.67 kB / 0.9852 GB, free: 1.48 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.933, allocations: 0 / 0.9852 GB, free: 1.48 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002045/0.9332, allocations: 20 kB / 0.9852 GB, free: 1.461 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.0004878/0.9337, allocations: 0.6282 MB / 0.9858 GB, free: 0.8008 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002915/0.934, allocations: 127.3 kB / 0.9859 GB, free: 0.6641 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.934, allocations: 0 / 0.9859 GB, free: 0.6641 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 4.356e-05/0.934, allocations: 11.98 kB / 0.9859 GB, free: 0.6523 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002274/0.9343, allocations: 15.95 kB / 0.986 GB, free: 0.6367 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008237/0.9351, allocations: 0.6324 MB / 0.9866 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003043/0.9354, allocations: 0.6848 MB / 0.9872 GB, free: 15.24 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 2.826e-05/0.9355, allocations: 11.94 kB / 0.9872 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.299e-05/0.9355, allocations: 15.44 kB / 0.9873 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of SimCode: time 3.91e-07/0.9355, allocations: 0 / 0.9873 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01735/0.9529, allocations: 1.74 MB / 0.989 GB, free: 13.66 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003011/0.9533, allocations: 206.3 kB / 0.9892 GB, free: 13.41 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.436/3.389, allocations: 4 kB / 0.9892 GB, free: 13.41 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