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.001204/0.001204, allocations: 99.7 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.001023/0.001023, allocations: 177.3 kB / 15.95 MB, free: 216 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.53/1.53, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 3.378/3.378, allocations: 409.2 MB / 0.6838 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003794/0.0003796, allocations: 15.98 kB / 0.8375 GB, free: 6.566 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9765/0.9769, allocations: 146.8 MB / 0.9809 GB, free: 6.32 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001466/0.9785, allocations: 339.8 kB / 0.9812 GB, free: 5.992 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003227/0.9817, allocations: 1.068 MB / 0.9822 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.146e-05/0.9819, allocations: 0 / 0.9822 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.994e-05/0.982, allocations: 0 / 0.9822 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.000146/0.9821, allocations: 7.984 kB / 0.9822 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008958/0.9831, allocations: 114.7 kB / 0.9824 GB, free: 4.793 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002181/0.9833, allocations: 39.94 kB / 0.9824 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001886/0.9835, allocations: 4 kB / 0.9824 GB, free: 4.75 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001642/0.9837, allocations: 35.91 kB / 0.9824 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000163/0.9839, allocations: 23.91 kB / 0.9825 GB, free: 4.688 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.485e-05/0.9839, allocations: 4 kB / 0.9825 GB, free: 4.684 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001239/0.9841, allocations: 19.97 kB / 0.9825 GB, free: 4.664 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.506e-05/0.9841, allocations: 4 kB / 0.9825 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 8.913e-05/0.9842, allocations: 37.7 kB / 0.9825 GB, free: 4.617 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002231/0.9845, allocations: 51.88 kB / 0.9826 GB, free: 4.566 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.9845, allocations: 0 / 0.9826 GB, free: 4.566 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.504e-06/0.9845, allocations: 0 / 0.9826 GB, free: 4.566 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.26e-05/0.9845, allocations: 0 / 0.9826 GB, free: 4.566 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.0007074/0.9853, allocations: 367.2 kB / 0.9829 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 7.873e-05/0.9854, allocations: 11.97 kB / 0.9829 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.346e-05/0.9855, allocations: 42.55 kB / 0.983 GB, free: 4.094 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.969e-05/0.9856, allocations: 11.84 kB / 0.983 GB, free: 4.082 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000223/0.9858, allocations: 167.1 kB / 0.9831 GB, free: 3.879 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.047e-05/0.9859, allocations: 4 kB / 0.9831 GB, free: 3.875 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.48e-05/0.9859, allocations: 4 kB / 0.9831 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001655/0.9861, allocations: 41.64 kB / 0.9832 GB, free: 3.824 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.9861, allocations: 0 / 0.9832 GB, free: 3.824 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.841e-05/0.9862, allocations: 4 kB / 0.9832 GB, free: 3.82 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.9862, allocations: 0 / 0.9832 GB, free: 3.82 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.92e-05/0.9863, allocations: 11.98 kB / 0.9832 GB, free: 3.809 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007634/0.987, allocations: 292.8 kB / 0.9835 GB, free: 3.473 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001197/0.9872, allocations: 34.52 kB / 0.9835 GB, free: 3.43 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.785e-05/0.9872, allocations: 3.938 kB / 0.9835 GB, free: 3.426 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003155/0.9875, allocations: 59.45 kB / 0.9836 GB, free: 3.355 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 2.495e-06/0.9876, allocations: 0 / 0.9836 GB, free: 3.355 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0003674/0.9879, allocations: 69.53 kB / 0.9836 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.703e-05/0.988, allocations: 55.41 kB / 0.9837 GB, free: 3.215 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001791/0.9882, allocations: 109.8 kB / 0.9838 GB, free: 3.098 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.505e-05/0.9883, allocations: 29.7 kB / 0.9838 GB, free: 3.062 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.768e-05/0.9884, allocations: 84.14 kB / 0.9839 GB, free: 2.977 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.607e-05/0.9885, allocations: 7.906 kB / 0.9839 GB, free: 2.969 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.955e-05/0.9885, allocations: 4 kB / 0.9839 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001834/0.9887, allocations: 318.8 kB / 0.9842 GB, free: 2.645 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001309/0.9888, allocations: 27.98 kB / 0.9842 GB, free: 2.617 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001573/0.989, allocations: 50.88 kB / 0.9843 GB, free: 2.559 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001723/0.9892, allocations: 65.69 kB / 0.9844 GB, free: 2.488 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.855e-06/0.9892, allocations: 4 kB / 0.9844 GB, free: 2.484 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005029/0.9897, allocations: 151.4 kB / 0.9845 GB, free: 2.324 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 8.89e-05/0.9898, allocations: 41.69 kB / 0.9845 GB, free: 2.277 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/0.9899, allocations: 80 / 0.9845 GB, free: 2.277 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.414e-05/0.9899, allocations: 0 / 0.9845 GB, free: 2.277 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.932e-05/0.99, allocations: 8.062 kB / 0.9846 GB, free: 2.27 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.305e-05/0.99, allocations: 3.984 kB / 0.9846 GB, free: 2.266 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004465/0.9905, allocations: 45.45 kB / 0.9846 GB, free: 2.223 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.153e-05/0.9906, allocations: 7.984 kB / 0.9846 GB, free: 2.215 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.0001806/0.9908, allocations: 117.8 kB / 0.9847 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.83e-05/0.9908, allocations: 11.89 kB / 0.9847 GB, free: 2.078 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.713e-05/0.9909, allocations: 3.906 kB / 0.9847 GB, free: 2.07 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.9909, allocations: 0 / 0.9847 GB, free: 2.07 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.9909, allocations: 0 / 0.9847 GB, free: 2.07 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.9909, allocations: 0 / 0.9847 GB, free: 2.07 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002359/0.9912, allocations: 169.6 kB / 0.9849 GB, free: 1.855 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.9912, allocations: 0 / 0.9849 GB, free: 1.855 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.576e-05/0.9912, allocations: 7.938 kB / 0.9849 GB, free: 1.848 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.031e-06/0.9913, allocations: 0 / 0.9849 GB, free: 1.848 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.68e-05/0.9913, allocations: 3.953 kB / 0.9849 GB, free: 1.844 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.181e-05/0.9913, allocations: 7.984 kB / 0.9849 GB, free: 1.836 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.9913, allocations: 0 / 0.9849 GB, free: 1.836 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000264/0.9916, allocations: 81.03 kB / 0.985 GB, free: 1.738 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.948e-05/0.9917, allocations: 81.11 kB / 0.9851 GB, free: 1.641 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.483e-05/0.9917, allocations: 3.938 kB / 0.9851 GB, free: 1.637 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.625e-05/0.9918, allocations: 7.953 kB / 0.9851 GB, free: 1.629 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.987e-05/0.9919, allocations: 3.984 kB / 0.9851 GB, free: 1.625 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/0.9919, allocations: 4 kB / 0.9851 GB, free: 1.621 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.132e-05/0.992, allocations: 87.28 kB / 0.9852 GB, free: 1.535 MB / 0.7325 GB Notification: Performance of sort global known variables: time 5.81e-07/0.992, allocations: 0 / 0.9852 GB, free: 1.535 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004205/0.9924, allocations: 19.98 kB / 0.9852 GB, free: 1.516 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.0007181/0.9932, allocations: 0.6241 MB / 0.9858 GB, free: 0.8594 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003757/0.9936, allocations: 131.3 kB / 0.9859 GB, free: 0.7188 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.9936, allocations: 0 / 0.9859 GB, free: 0.7188 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 6.569e-05/0.9937, allocations: 12 kB / 0.9859 GB, free: 0.707 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002796/0.994, allocations: 13.48 kB / 0.986 GB, free: 0.6953 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001046/0.995, allocations: 0.6353 MB / 0.9866 GB, free: 12 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005783/0.9956, allocations: 0.6848 MB / 0.9872 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 3.602e-05/0.9957, allocations: 0 / 0.9872 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.192e-05/0.9957, allocations: 15.44 kB / 0.9873 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of SimCode: time 6.01e-07/0.9958, allocations: 4 kB / 0.9873 GB, free: 15.28 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02235/1.018, allocations: 1.752 MB / 0.989 GB, free: 13.71 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0007364/1.019, allocations: 196.2 kB / 0.9892 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.38/3.399, allocations: 0 / 0.9892 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