Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,fileNamePrefix="Buildings_11_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.005972/0.005972, allocations: 98.22 kB / 15.73 MB, free: 6.062 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.001637/0.001637, allocations: 202.8 kB / 16.68 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.247/1.247, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.46/2.46, allocations: 469.8 MB / 0.7425 GB, free: 7.359 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001697/0.001697, allocations: 64.12 kB / 1.065 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2518/0.2536, allocations: 159.1 MB / 1.22 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.00151/0.2551, allocations: 0.5984 MB / 1.221 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001229/0.2563, allocations: 1.106 MB / 1.222 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.136e-05/0.2564, allocations: 4 kB / 1.222 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.508e-05/0.2564, allocations: 3.938 kB / 1.222 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.764e-05/0.2565, allocations: 7.922 kB / 1.222 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000397/0.2569, allocations: 123.6 kB / 1.222 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001373/0.257, allocations: 99.83 kB / 1.222 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 6.726e-05/0.2571, allocations: 7.984 kB / 1.222 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.394e-05/0.2572, allocations: 31.97 kB / 1.222 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.415e-05/0.2572, allocations: 35.89 kB / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.112e-05/0.2573, allocations: 15.94 kB / 1.222 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 5.886e-05/0.2573, allocations: 15.98 kB / 1.222 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.631e-05/0.2574, allocations: 8 kB / 1.222 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.097e-05/0.2574, allocations: 31.89 kB / 1.222 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001405/0.2576, allocations: 83.73 kB / 1.222 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.2576, allocations: 0 / 1.222 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.837e-06/0.2576, allocations: 7.922 kB / 1.222 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.587e-06/0.2576, allocations: 4 kB / 1.222 GB, free: 12.19 MB / 0.9825 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.0004048/0.258, allocations: 382.2 kB / 1.223 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.258, allocations: 16.03 kB / 1.223 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.323e-05/0.2581, allocations: 34.75 kB / 1.223 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.029e-05/0.2581, allocations: 4.938 kB / 1.223 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001098/0.2582, allocations: 172.3 kB / 1.223 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.2583, allocations: 384 / 1.223 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.747e-05/0.2583, allocations: 8.359 kB / 1.223 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.764e-05/0.2584, allocations: 42.2 kB / 1.223 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.2584, allocations: 7.922 kB / 1.223 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.781e-06/0.2584, allocations: 0 / 1.223 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.165e-06/0.2584, allocations: 0 / 1.223 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.074e-05/0.2584, allocations: 8 kB / 1.223 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003281/0.2588, allocations: 292.9 kB / 1.223 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 5.812e-05/0.2588, allocations: 34.45 kB / 1.223 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.128e-05/0.2589, allocations: 12.92 kB / 1.223 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.276e-06/0.2589, allocations: 0 / 1.223 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001138/0.259, allocations: 67.38 kB / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.259, allocations: 0 / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0001681/0.2592, allocations: 69.62 kB / 1.223 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.704e-05/0.2592, allocations: 59.34 kB / 1.223 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.947e-05/0.2593, allocations: 109.8 kB / 1.224 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.237e-05/0.2593, allocations: 29.7 kB / 1.224 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.504e-05/0.2594, allocations: 80.14 kB / 1.224 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.336e-05/0.2594, allocations: 15.89 kB / 1.224 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.985e-05/0.2595, allocations: 29.7 kB / 1.224 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.2596, allocations: 322.8 kB / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.864e-05/0.2597, allocations: 27.98 kB / 1.224 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.997e-05/0.2598, allocations: 54.55 kB / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001073/0.2599, allocations: 88.14 kB / 1.224 GB, free: 10 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.2599, allocations: 0 / 1.224 GB, free: 10 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002359/0.2601, allocations: 155.2 kB / 1.224 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.303e-05/0.2602, allocations: 33.69 kB / 1.224 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-06/0.2602, allocations: 7.938 kB / 1.224 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.047e-06/0.2602, allocations: 0 / 1.224 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.986e-05/0.2602, allocations: 8 kB / 1.224 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.907e-06/0.2602, allocations: 0 / 1.224 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001675/0.2604, allocations: 23.97 kB / 1.224 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.6e-05/0.2604, allocations: 4.062 kB / 1.224 GB, free: 9.758 MB / 0.9825 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,booPul.y,$PRE.booPul.y,booToInt.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.318e-05/0.2605, allocations: 129.7 kB / 1.224 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.979e-06/0.2605, allocations: 4 kB / 1.225 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.963e-05/0.2606, allocations: 3.906 kB / 1.225 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.2606, allocations: 0 / 1.225 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/0.2606, allocations: 8.062 kB / 1.225 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.2606, allocations: 0 / 1.225 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001175/0.2607, allocations: 165.6 kB / 1.225 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.2607, allocations: 0 / 1.225 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.344e-05/0.2607, allocations: 7.938 kB / 1.225 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.2607, allocations: 4 kB / 1.225 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.889e-06/0.2607, allocations: 0 / 1.225 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.2607, allocations: 0 / 1.225 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.22e-07/0.2608, allocations: 4 kB / 1.225 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001085/0.2609, allocations: 89 kB / 1.225 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.816e-05/0.2609, allocations: 77.11 kB / 1.225 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.036e-05/0.2609, allocations: 0 / 1.225 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.23e-05/0.2609, allocations: 0 / 1.225 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.715e-05/0.261, allocations: 12 kB / 1.225 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-06/0.261, allocations: 3.984 kB / 1.225 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.177e-05/0.261, allocations: 83.28 kB / 1.225 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.261, allocations: 0 / 1.225 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001905/0.2612, allocations: 20 kB / 1.225 GB, free: 9.055 MB / 0.9825 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003911/0.2616, allocations: 0.6285 MB / 1.226 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001957/0.2618, allocations: 127.3 kB / 1.226 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.2618, allocations: 0 / 1.226 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.064e-05/0.2619, allocations: 15.98 kB / 1.226 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001685/0.262, allocations: 15.88 kB / 1.226 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001296/0.2633, allocations: 1.41 MB / 1.227 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002541/0.2636, allocations: 0.6768 MB / 1.228 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.768e-05/0.2636, allocations: 4.094 kB / 1.228 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.501e-05/0.2637, allocations: 15.38 kB / 1.228 GB, free: 6 MB / 0.9825 GB Notification: Performance of SimCode: time 2.51e-07/0.2637, allocations: 4 kB / 1.228 GB, free: 5.996 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.999/1.263, allocations: 2.019 MB / 1.23 GB, free: 4.129 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.646/9.909, allocations: 4.438 kB / 1.23 GB, free: 4.125 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger_fmu --startTime=0 --stopTime=4 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches