Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,fileNamePrefix="Buildings_9_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.001238/0.001238, allocations: 99.08 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.001472/0.001472, allocations: 177.3 kB / 15.94 MB, free: 220 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.383/1.383, allocations: 223.2 MB / 239.9 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.357/2.357, allocations: 390.3 MB / 0.6653 GB, free: 3.02 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003455/0.0003456, allocations: 8 kB / 0.8146 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.754/0.7544, allocations: 142.3 MB / 0.9536 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.0007705/0.7552, allocations: 329 kB / 0.9539 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001154/0.7564, allocations: 1.073 MB / 0.955 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.493e-05/0.7564, allocations: 0 / 0.955 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.391e-05/0.7564, allocations: 1.125 kB / 0.955 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.586e-05/0.7565, allocations: 9.25 kB / 0.955 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004162/0.7569, allocations: 108.5 kB / 0.9551 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.397e-05/0.757, allocations: 49.86 kB / 0.9551 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.766e-05/0.7571, allocations: 3.281 kB / 0.9551 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.624e-05/0.7572, allocations: 31.92 kB / 0.9552 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.289e-05/0.7573, allocations: 30.78 kB / 0.9552 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.907e-05/0.7573, allocations: 3.719 kB / 0.9552 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.824e-05/0.7573, allocations: 14.66 kB / 0.9552 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.608e-05/0.7574, allocations: 10.05 kB / 0.9552 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.273e-05/0.7574, allocations: 31.08 kB / 0.9552 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.948e-05/0.7575, allocations: 58.08 kB / 0.9553 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.484e-06/0.7575, allocations: 1.156 kB / 0.9553 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.593e-06/0.7575, allocations: 0 / 0.9553 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.686e-06/0.7576, allocations: 0 / 0.9553 GB, free: 6.734 MB / 0.7169 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.0003246/0.7579, allocations: 363 kB / 0.9556 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.7579, allocations: 9.75 kB / 0.9556 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.726e-05/0.758, allocations: 34.5 kB / 0.9557 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.82e-05/0.758, allocations: 11.69 kB / 0.9557 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.785e-05/0.7581, allocations: 170 kB / 0.9559 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.941e-05/0.7581, allocations: 2.062 kB / 0.9559 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.041e-05/0.7581, allocations: 8.375 kB / 0.9559 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.215e-05/0.7582, allocations: 36.03 kB / 0.9559 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.7582, allocations: 0 / 0.9559 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.165e-06/0.7583, allocations: 0 / 0.9559 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.7583, allocations: 1.406 kB / 0.9559 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.812e-05/0.7583, allocations: 13.02 kB / 0.9559 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003377/0.7587, allocations: 296.7 kB / 0.9562 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.429e-05/0.7587, allocations: 24.95 kB / 0.9562 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.403e-06/0.7587, allocations: 0 / 0.9562 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001338/0.7589, allocations: 58.52 kB / 0.9563 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.7589, allocations: 0.9375 kB / 0.9563 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0001916/0.7591, allocations: 86.33 kB / 0.9564 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.857e-05/0.7591, allocations: 56.56 kB / 0.9564 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.078e-05/0.7592, allocations: 110.9 kB / 0.9565 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.7592, allocations: 31.77 kB / 0.9565 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.875e-05/0.7593, allocations: 82.67 kB / 0.9566 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.055e-05/0.7593, allocations: 6.219 kB / 0.9566 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.132e-05/0.7593, allocations: 5.219 kB / 0.9566 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.32e-05/0.7593, allocations: 317.1 kB / 0.9569 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.765e-05/0.7594, allocations: 31.92 kB / 0.957 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.181e-05/0.7595, allocations: 51.56 kB / 0.957 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.115e-05/0.7596, allocations: 58.12 kB / 0.9571 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.7596, allocations: 4.906 kB / 0.9571 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002229/0.7598, allocations: 148.6 kB / 0.9572 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.565e-05/0.7599, allocations: 37.72 kB / 0.9573 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.7599, allocations: 1.219 kB / 0.9573 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.7599, allocations: 5.328 kB / 0.9573 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.096e-05/0.7599, allocations: 7.031 kB / 0.9573 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.76, allocations: 4 kB / 0.9573 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002283/0.7602, allocations: 45.25 kB / 0.9573 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.019e-05/0.7602, allocations: 9.109 kB / 0.9573 GB, free: 4.664 MB / 0.7169 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 7.108e-05/0.7603, allocations: 115.2 kB / 0.9574 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.378e-06/0.7603, allocations: 2.375 kB / 0.9574 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.383e-05/0.7603, allocations: 9.219 kB / 0.9574 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.7603, allocations: 0 / 0.9574 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.146e-06/0.7604, allocations: 5.234 kB / 0.9575 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.7604, allocations: 0 / 0.9575 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.83e-05/0.7604, allocations: 164.7 kB / 0.9576 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.7604, allocations: 0 / 0.9576 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.53e-05/0.7605, allocations: 2.688 kB / 0.9576 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.7605, allocations: 0 / 0.9576 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.7605, allocations: 9.406 kB / 0.9576 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.7605, allocations: 4.328 kB / 0.9576 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.7605, allocations: 0 / 0.9576 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.385e-05/0.7606, allocations: 89.88 kB / 0.9577 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.967e-05/0.7606, allocations: 78.3 kB / 0.9578 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.335e-05/0.7606, allocations: 1.062 kB / 0.9578 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.532e-05/0.7607, allocations: 1.344 kB / 0.9578 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.985e-05/0.7607, allocations: 9.453 kB / 0.9578 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.237e-05/0.7607, allocations: 5.406 kB / 0.9578 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.274e-05/0.7608, allocations: 93.12 kB / 0.9579 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9.1e-08/0.7608, allocations: 0 / 0.9579 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002085/0.761, allocations: 14.84 kB / 0.9579 GB, free: 4.035 MB / 0.7169 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.0002746/0.7613, allocations: 0.6283 MB / 0.9585 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001914/0.7615, allocations: 125.4 kB / 0.9586 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.7615, allocations: 0 / 0.9586 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.553e-05/0.7615, allocations: 25.05 kB / 0.9587 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001526/0.7617, allocations: 8.375 kB / 0.9587 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000458/0.7621, allocations: 0.6384 MB / 0.9593 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001463/0.7623, allocations: 0.6851 MB / 0.96 GB, free: 1.938 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.118e-05/0.7623, allocations: 1.438 kB / 0.96 GB, free: 1.938 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.686e-05/0.7623, allocations: 13.97 kB / 0.96 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.7624, allocations: 4 kB / 0.96 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01192/0.7743, allocations: 1.737 MB / 0.9617 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001644/0.7745, allocations: 194.4 kB / 0.9619 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.69/2.464, allocations: 4 kB / 0.9619 GB, free: 0.8789 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.mat does not exist to compare? outputFormat=mat