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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001404/0.001404, allocations: 109.7 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001412/0.001412, allocations: 190.6 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.313/1.313, allocations: 225.6 MB / 249.3 MB, free: 3.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.489/2.489, allocations: 476.7 MB / 0.7628 GB, free: 15.17 MB / 0.6075 GB " [Timeout remaining time 177] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001758/0.001758, allocations: 63.89 kB / 1.107 GB, free: 5.172 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7827/0.7845, allocations: 168.7 MB / 1.271 GB, free: 7.699 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.00151/0.786, allocations: 0.6128 MB / 1.272 GB, free: 7.336 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001083/0.7871, allocations: 1.124 MB / 1.273 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.152e-05/0.7871, allocations: 1.031 kB / 1.273 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.249e-05/0.7871, allocations: 0 / 1.273 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.816e-05/0.7872, allocations: 6.125 kB / 1.273 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004155/0.7876, allocations: 134.6 kB / 1.273 GB, free: 6.441 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001501/0.7877, allocations: 87.17 kB / 1.273 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.002e-05/0.7878, allocations: 7.656 kB / 1.273 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.396e-05/0.7879, allocations: 33.92 kB / 1.273 GB, free: 6.391 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.357e-05/0.788, allocations: 39.75 kB / 1.273 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.388e-05/0.788, allocations: 8 kB / 1.273 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.725e-05/0.7881, allocations: 21.95 kB / 1.273 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.769e-05/0.7881, allocations: 3.359 kB / 1.273 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.368e-05/0.7881, allocations: 34.94 kB / 1.273 GB, free: 6.348 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001447/0.7883, allocations: 91.3 kB / 1.274 GB, free: 6.316 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.7883, allocations: 0 / 1.274 GB, free: 6.316 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.473e-06/0.7883, allocations: 0 / 1.274 GB, free: 6.316 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.708e-06/0.7883, allocations: 0.9062 kB / 1.274 GB, free: 6.316 MB / 0.9981 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.0003341/0.7886, allocations: 372.1 kB / 1.274 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.7887, allocations: 13.25 kB / 1.274 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.223e-05/0.7887, allocations: 38.62 kB / 1.274 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.429e-05/0.7887, allocations: 5.094 kB / 1.274 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.842e-05/0.7888, allocations: 174.1 kB / 1.274 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/0.7888, allocations: 3.188 kB / 1.274 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.14e-05/0.7888, allocations: 5.656 kB / 1.274 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.734e-05/0.7889, allocations: 42.5 kB / 1.274 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.094e-06/0.7889, allocations: 3.938 kB / 1.274 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.472e-06/0.7889, allocations: 0 / 1.274 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.7889, allocations: 1 kB / 1.274 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.437e-05/0.7889, allocations: 13.03 kB / 1.274 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002806/0.7892, allocations: 286 kB / 1.274 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.498e-05/0.7893, allocations: 34.31 kB / 1.274 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.038e-05/0.7893, allocations: 8.875 kB / 1.274 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.588e-06/0.7893, allocations: 0.9688 kB / 1.274 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001016/0.7894, allocations: 62.28 kB / 1.275 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.7894, allocations: 3.938 kB / 1.275 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0001706/0.7896, allocations: 77.12 kB / 1.275 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.03e-05/0.7896, allocations: 53.44 kB / 1.275 GB, free: 5.125 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.614e-05/0.7897, allocations: 108.1 kB / 1.275 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.673e-05/0.7897, allocations: 32.27 kB / 1.275 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.93e-05/0.7897, allocations: 82.98 kB / 1.275 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.578e-06/0.7897, allocations: 8.984 kB / 1.275 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.524e-05/0.7898, allocations: 39.75 kB / 1.275 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.615e-05/0.7898, allocations: 311.9 kB / 1.275 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.1e-05/0.7899, allocations: 32.48 kB / 1.275 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.432e-05/0.79, allocations: 48.34 kB / 1.275 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.123e-05/0.79, allocations: 92.22 kB / 1.275 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.79, allocations: 0 / 1.275 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002185/0.7903, allocations: 161.3 kB / 1.276 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.408e-05/0.7903, allocations: 35.42 kB / 1.276 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.7903, allocations: 1.359 kB / 1.276 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.7903, allocations: 1.188 kB / 1.276 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.311e-05/0.7903, allocations: 4.328 kB / 1.276 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.7904, allocations: 0.9375 kB / 1.276 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001807/0.7905, allocations: 33.17 kB / 1.276 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.956e-05/0.7906, allocations: 9.781 kB / 1.276 GB, free: 4.289 MB / 0.9981 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 5.539e-05/0.7906, allocations: 119 kB / 1.276 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.054e-05/0.7906, allocations: 6.766 kB / 1.276 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.132e-05/0.7906, allocations: 9.953 kB / 1.276 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-06/0.7906, allocations: 4.953 kB / 1.276 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.7906, allocations: 0 / 1.276 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.7906, allocations: 1.938 kB / 1.276 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.403e-05/0.7907, allocations: 164.3 kB / 1.276 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.7907, allocations: 4 kB / 1.276 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.467e-05/0.7907, allocations: 2.844 kB / 1.276 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.7907, allocations: 0 / 1.276 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-06/0.7907, allocations: 1.125 kB / 1.276 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.7907, allocations: 5.016 kB / 1.276 GB, free: 3.941 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.7907, allocations: 0 / 1.276 GB, free: 3.941 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.872e-05/0.7908, allocations: 91.78 kB / 1.276 GB, free: 3.859 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.584e-05/0.7908, allocations: 85.3 kB / 1.276 GB, free: 3.762 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.086e-05/0.7909, allocations: 4.875 kB / 1.276 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.363e-05/0.7909, allocations: 1 kB / 1.276 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.443e-05/0.7909, allocations: 5.062 kB / 1.276 GB, free: 3.754 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.618e-06/0.7909, allocations: 1.656 kB / 1.276 GB, free: 3.754 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.471e-05/0.7909, allocations: 88.08 kB / 1.276 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.7909, allocations: 0.7812 kB / 1.276 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002005/0.7911, allocations: 14.38 kB / 1.276 GB, free: 3.676 MB / 0.9981 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.0002467/0.7914, allocations: 0.6328 MB / 1.277 GB, free: 3.062 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001848/0.7916, allocations: 119.2 kB / 1.277 GB, free: 2.977 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.7916, allocations: 0 / 1.277 GB, free: 2.977 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 2.96e-05/0.7916, allocations: 7.5 kB / 1.277 GB, free: 2.977 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001779/0.7918, allocations: 11.78 kB / 1.277 GB, free: 2.973 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001089/0.7929, allocations: 1.402 MB / 1.278 GB, free: 17.7 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002577/0.7931, allocations: 0.6824 MB / 1.279 GB, free: 17 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 1.849e-05/0.7931, allocations: 5.766 kB / 1.279 GB, free: 17 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.51e-05/0.7932, allocations: 13.84 kB / 1.279 GB, free: 16.99 MB / 1.014 GB Notification: Performance of SimCode: time 3.11e-07/0.7932, allocations: 0 / 1.279 GB, free: 16.99 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02434/0.8175, allocations: 1.989 MB / 1.281 GB, free: 16.58 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.857/7.675, allocations: 11.91 kB / 1.281 GB, free: 16.57 MB / 1.014 GB " [Timeout remaining time 292] (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) [Timeout 420.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.964289179999469]