Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.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.BooleanToInteger,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger",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.0007368/0.0007369, allocations: 86.41 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.0008127/0.0008128, 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.527/1.527, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.629/2.629, allocations: 409.4 MB / 0.684 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006298/0.00063, allocations: 15.92 kB / 0.8378 GB, free: 6.484 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8447/0.8454, allocations: 146.8 MB / 0.9811 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.0007826/0.8462, allocations: 331.9 kB / 0.9815 GB, free: 5.949 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001435/0.8477, allocations: 1.092 MB / 0.9825 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.576e-05/0.8477, allocations: 0 / 0.9825 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.992e-05/0.8478, allocations: 3.938 kB / 0.9825 GB, free: 4.84 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.558e-05/0.8478, allocations: 0 / 0.9825 GB, free: 4.84 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000546/0.8484, allocations: 110.5 kB / 0.9826 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001225/0.8485, allocations: 71.83 kB / 0.9827 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.264e-05/0.8486, allocations: 7.984 kB / 0.9827 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.454e-05/0.8487, allocations: 23.98 kB / 0.9827 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 9.352e-05/0.8488, allocations: 35.89 kB / 0.9828 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.261e-05/0.8488, allocations: 4 kB / 0.9828 GB, free: 4.59 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 7.879e-05/0.8489, allocations: 16 kB / 0.9828 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.818e-05/0.849, allocations: 7.922 kB / 0.9828 GB, free: 4.566 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.844e-05/0.849, allocations: 33.7 kB / 0.9828 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001237/0.8492, allocations: 55.86 kB / 0.9829 GB, free: 4.473 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.8492, allocations: 0 / 0.9829 GB, free: 4.473 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.024e-06/0.8492, allocations: 0 / 0.9829 GB, free: 4.473 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.05e-06/0.8492, allocations: 0 / 0.9829 GB, free: 4.473 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.0004438/0.8496, allocations: 363.2 kB / 0.9832 GB, free: 4.066 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.97e-05/0.8497, allocations: 16.03 kB / 0.9832 GB, free: 4.051 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.125e-05/0.8498, allocations: 30.56 kB / 0.9833 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.352e-05/0.8498, allocations: 11.89 kB / 0.9833 GB, free: 4 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001342/0.85, allocations: 159.1 kB / 0.9834 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.009e-05/0.85, allocations: 4 kB / 0.9834 GB, free: 3.801 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.601e-05/0.85, allocations: 11.98 kB / 0.9835 GB, free: 3.789 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001218/0.8502, allocations: 45.58 kB / 0.9835 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.8502, allocations: 0 / 0.9835 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.8502, allocations: 0 / 0.9835 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.8502, allocations: 0 / 0.9835 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.578e-05/0.8503, allocations: 12 kB / 0.9835 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004585/0.8507, allocations: 288.9 kB / 0.9838 GB, free: 3.395 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 7.582e-05/0.8508, allocations: 34.47 kB / 0.9838 GB, free: 3.352 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.828e-05/0.8509, allocations: 16.91 kB / 0.9838 GB, free: 3.332 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.041e-05/0.8509, allocations: 3.938 kB / 0.9838 GB, free: 3.328 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000183/0.8511, allocations: 67.33 kB / 0.9839 GB, free: 3.25 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.8511, allocations: 0 / 0.9839 GB, free: 3.25 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0002413/0.8513, allocations: 65.59 kB / 0.984 GB, free: 3.18 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.578e-05/0.8514, allocations: 59.34 kB / 0.984 GB, free: 3.109 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.948e-05/0.8515, allocations: 114.1 kB / 0.9841 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.356e-05/0.8515, allocations: 25.7 kB / 0.9842 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.461e-05/0.8516, allocations: 88.14 kB / 0.9842 GB, free: 2.867 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.55e-05/0.8516, allocations: 7.891 kB / 0.9842 GB, free: 2.859 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.241e-05/0.8516, allocations: 8 kB / 0.9843 GB, free: 2.852 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.8518, allocations: 314.8 kB / 0.9846 GB, free: 2.535 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.924e-05/0.8519, allocations: 27.98 kB / 0.9846 GB, free: 2.508 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.744e-05/0.8519, allocations: 54.62 kB / 0.9846 GB, free: 2.445 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.193e-05/0.852, allocations: 57.69 kB / 0.9847 GB, free: 2.383 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.496e-05/0.8521, allocations: 0 / 0.9847 GB, free: 2.383 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002776/0.8524, allocations: 155.2 kB / 0.9848 GB, free: 2.219 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.462e-05/0.8524, allocations: 42.62 kB / 0.9849 GB, free: 2.172 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.8524, allocations: 64 / 0.9849 GB, free: 2.172 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.8524, allocations: 4 kB / 0.9849 GB, free: 2.168 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.741e-05/0.8525, allocations: 4 kB / 0.9849 GB, free: 2.164 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.8525, allocations: 3.938 kB / 0.9849 GB, free: 2.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002322/0.8528, allocations: 43.97 kB / 0.9849 GB, free: 2.117 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.2e-05/0.8528, allocations: 7.984 kB / 0.9849 GB, free: 2.109 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: 5 ($whenCondition1,$whenCondition2,booToInt.y,$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.0001034/0.8529, allocations: 113.8 kB / 0.985 GB, free: 1.988 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.472e-05/0.8529, allocations: 7.953 kB / 0.9851 GB, free: 1.98 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.024e-05/0.853, allocations: 3.906 kB / 0.9851 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.853, allocations: 0 / 0.9851 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.853, allocations: 0 / 0.9851 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.853, allocations: 0 / 0.9851 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001344/0.8531, allocations: 169.7 kB / 0.9852 GB, free: 1.758 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.8531, allocations: 0 / 0.9852 GB, free: 1.758 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.995e-05/0.8532, allocations: 4 kB / 0.9852 GB, free: 1.754 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.8532, allocations: 3.953 kB / 0.9852 GB, free: 1.75 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/0.8532, allocations: 0 / 0.9852 GB, free: 1.75 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.8532, allocations: 3.984 kB / 0.9852 GB, free: 1.746 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.8532, allocations: 0 / 0.9852 GB, free: 1.746 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001328/0.8533, allocations: 97.12 kB / 0.9853 GB, free: 1.633 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.392e-05/0.8534, allocations: 85.11 kB / 0.9854 GB, free: 1.531 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.75e-05/0.8534, allocations: 7.891 kB / 0.9854 GB, free: 1.523 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.366e-05/0.8534, allocations: 0 / 0.9854 GB, free: 1.523 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.07e-05/0.8535, allocations: 7.984 kB / 0.9854 GB, free: 1.516 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-06/0.8535, allocations: 0 / 0.9854 GB, free: 1.516 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.893e-05/0.8535, allocations: 83.28 kB / 0.9855 GB, free: 1.434 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8535, allocations: 0 / 0.9855 GB, free: 1.434 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002194/0.8538, allocations: 23.98 kB / 0.9855 GB, free: 1.41 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: 4 ($whenCondition1,$whenCondition2,booToInt.y,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.0004367/0.8542, allocations: 0.628 MB / 0.9861 GB, free: 0.75 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000226/0.8544, allocations: 123.4 kB / 0.9862 GB, free: 0.6172 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.8545, allocations: 0 / 0.9862 GB, free: 0.6172 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.324e-05/0.8545, allocations: 12 kB / 0.9863 GB, free: 0.6055 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002016/0.8547, allocations: 15.88 kB / 0.9863 GB, free: 0.5898 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008797/0.8556, allocations: 0.5034 MB / 0.9868 GB, free: 40 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002889/0.8559, allocations: 0.6809 MB / 0.9874 GB, free: 15.33 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 3.183e-05/0.8559, allocations: 8 kB / 0.9874 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.791e-05/0.856, allocations: 19.36 kB / 0.9875 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of SimCode: time 2.985e-06/0.856, allocations: 0 / 0.9875 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01261/0.8686, allocations: 1.776 MB / 0.9892 GB, free: 13.72 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002084/0.8688, allocations: 206.2 kB / 0.9894 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.79/2.659, allocations: 0 / 0.9894 GB, free: 13.48 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.mat does not exist to compare? outputFormat=mat