Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,fileNamePrefix="Buildings_10_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.0008765/0.0008766, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.004979/0.004979, allocations: 174.6 kB / 16.27 MB, free: 6.613 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.214/1.214, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.315/2.315, allocations: 437.8 MB / 0.7121 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003343/0.0003343, allocations: 8 kB / 0.8729 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5176/0.5179, allocations: 153.8 MB / 1.023 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.0006365/0.5186, allocations: 344.5 kB / 1.023 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001154/0.5198, allocations: 1.113 MB / 1.025 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.132e-05/0.5198, allocations: 0 / 1.025 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.172e-05/0.5198, allocations: 4 kB / 1.025 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.439e-05/0.5199, allocations: 3.938 kB / 1.025 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003729/0.5203, allocations: 103.4 kB / 1.025 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 9.232e-05/0.5204, allocations: 83.81 kB / 1.025 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 6.463e-05/0.5204, allocations: 7.938 kB / 1.025 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 5.196e-05/0.5205, allocations: 31.97 kB / 1.025 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.574e-05/0.5206, allocations: 31.89 kB / 1.025 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.7e-05/0.5206, allocations: 4 kB / 1.025 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 5.146e-05/0.5207, allocations: 15.98 kB / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.438e-05/0.5207, allocations: 4 kB / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.316e-05/0.5207, allocations: 53.56 kB / 1.025 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001176/0.5209, allocations: 79.77 kB / 1.025 GB, free: 14 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.5209, allocations: 4 kB / 1.025 GB, free: 14 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.282e-06/0.5209, allocations: 0 / 1.025 GB, free: 14 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.926e-06/0.5209, allocations: 0 / 1.025 GB, free: 14 MB / 0.7794 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.0003126/0.5212, allocations: 363.4 kB / 1.025 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.13e-05/0.5212, allocations: 15.97 kB / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.198e-05/0.5213, allocations: 38.73 kB / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.309e-05/0.5213, allocations: 8.844 kB / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.521e-05/0.5214, allocations: 168.3 kB / 1.026 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.5214, allocations: 384 / 1.026 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.76e-05/0.5214, allocations: 4.375 kB / 1.026 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.306e-05/0.5215, allocations: 42.25 kB / 1.026 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.5215, allocations: 3.938 kB / 1.026 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.733e-06/0.5216, allocations: 0 / 1.026 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.5216, allocations: 4 kB / 1.026 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.527e-05/0.5216, allocations: 11.98 kB / 1.026 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003088/0.5219, allocations: 292.8 kB / 1.026 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.113e-05/0.522, allocations: 34.5 kB / 1.026 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.279e-05/0.522, allocations: 8.922 kB / 1.026 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.819e-06/0.522, allocations: 0 / 1.026 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.257e-05/0.5221, allocations: 71.3 kB / 1.026 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.5221, allocations: 0 / 1.026 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0001592/0.5223, allocations: 73.75 kB / 1.026 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.137e-05/0.5223, allocations: 51.41 kB / 1.026 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.88e-05/0.5224, allocations: 109.8 kB / 1.026 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.272e-05/0.5224, allocations: 33.7 kB / 1.026 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.902e-05/0.5225, allocations: 84.12 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.471e-05/0.5225, allocations: 15.91 kB / 1.026 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.073e-05/0.5225, allocations: 13.72 kB / 1.026 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.096e-05/0.5226, allocations: 314.8 kB / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.441e-05/0.5227, allocations: 31.97 kB / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.324e-05/0.5228, allocations: 50.56 kB / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001031/0.5229, allocations: 92.14 kB / 1.027 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.5229, allocations: 0 / 1.027 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002194/0.5231, allocations: 151.2 kB / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.117e-05/0.5232, allocations: 37.69 kB / 1.027 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.626e-06/0.5232, allocations: 4 kB / 1.027 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.135e-06/0.5232, allocations: 0 / 1.027 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.191e-05/0.5232, allocations: 8.062 kB / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.5232, allocations: 0 / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002058/0.5235, allocations: 43.91 kB / 1.027 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.653e-05/0.5235, allocations: 11.94 kB / 1.027 GB, free: 11.57 MB / 0.7794 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 7.475e-05/0.5236, allocations: 126.2 kB / 1.027 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.269e-05/0.5236, allocations: 3.906 kB / 1.027 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.075e-05/0.5236, allocations: 7.906 kB / 1.027 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.5236, allocations: 0 / 1.027 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.5236, allocations: 4 kB / 1.027 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.5236, allocations: 0 / 1.027 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.472e-05/0.5237, allocations: 169.6 kB / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.5237, allocations: 0 / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.35e-05/0.5237, allocations: 0 / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.5238, allocations: 0 / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.34e-06/0.5238, allocations: 4 kB / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.5238, allocations: 0 / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.5238, allocations: 0 / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.891e-05/0.5239, allocations: 92.98 kB / 1.027 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.782e-05/0.5239, allocations: 77.11 kB / 1.028 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.748e-06/0.5239, allocations: 4 kB / 1.028 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.508e-05/0.524, allocations: 4 kB / 1.028 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.798e-05/0.524, allocations: 3.984 kB / 1.028 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.551e-06/0.524, allocations: 4 kB / 1.028 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.587e-05/0.524, allocations: 79.28 kB / 1.028 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.524, allocations: 0 / 1.028 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001974/0.5242, allocations: 23.91 kB / 1.028 GB, free: 10.88 MB / 0.7794 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.0003241/0.5246, allocations: 0.628 MB / 1.028 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001762/0.5247, allocations: 127.3 kB / 1.028 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.522e-06/0.5248, allocations: 0 / 1.028 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.792e-05/0.5248, allocations: 11.98 kB / 1.028 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001672/0.525, allocations: 12.12 kB / 1.028 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001147/0.5261, allocations: 1.393 MB / 1.03 GB, free: 8.57 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001758/0.5263, allocations: 0.6809 MB / 1.03 GB, free: 7.863 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.926e-05/0.5263, allocations: 8 kB / 1.03 GB, free: 7.855 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.358e-05/0.5264, allocations: 11.53 kB / 1.03 GB, free: 7.844 MB / 0.7794 GB Notification: Performance of SimCode: time 3.31e-07/0.5264, allocations: 3.938 kB / 1.03 GB, free: 7.84 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.117/2.643, allocations: 1.791 MB / 1.032 GB, free: 6.234 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000195/2.643, allocations: 213.9 kB / 1.032 GB, free: 5.98 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.316/4.96, allocations: 4.062 kB / 1.032 GB, free: 5.977 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches