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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001224/0.001224, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001255/0.001256, allocations: 190.9 kB / 16.25 MB, free: 6.633 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.266/1.266, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.284/2.284, allocations: 437.1 MB / 0.7101 GB, free: 5.215 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001421, allocations: 59.91 kB / 0.8689 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5338/0.5353, allocations: 151.6 MB / 1.017 GB, free: 2.633 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001614/0.5369, allocations: 0.6753 MB / 1.018 GB, free: 1.957 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001204/0.5381, allocations: 1.101 MB / 1.019 GB, free: 0.8398 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.966e-05/0.5382, allocations: 0 / 1.019 GB, free: 0.8398 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.274e-05/0.5382, allocations: 7.938 kB / 1.019 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.316e-05/0.5383, allocations: 0 / 1.019 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003443/0.5386, allocations: 111.7 kB / 1.019 GB, free: 0.7266 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001099/0.5387, allocations: 91.89 kB / 1.019 GB, free: 0.6367 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 5.817e-05/0.5388, allocations: 15.86 kB / 1.019 GB, free: 0.6211 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.233e-05/0.5389, allocations: 43.91 kB / 1.019 GB, free: 0.5781 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.633e-05/0.5389, allocations: 27.91 kB / 1.019 GB, free: 0.5508 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.899e-05/0.5389, allocations: 8 kB / 1.019 GB, free: 0.543 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 5.09e-05/0.539, allocations: 15.98 kB / 1.019 GB, free: 0.5273 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.391e-05/0.539, allocations: 8 kB / 1.019 GB, free: 0.5195 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.672e-05/0.5391, allocations: 31.89 kB / 1.019 GB, free: 500 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001265/0.5392, allocations: 87.78 kB / 1.019 GB, free: 412 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.5392, allocations: 0 / 1.019 GB, free: 412 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.212e-06/0.5392, allocations: 0 / 1.019 GB, free: 412 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.677e-06/0.5392, allocations: 0 / 1.019 GB, free: 412 kB / 0.7637 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.0003455/0.5396, allocations: 383.5 kB / 1.019 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 2.924e-05/0.5396, allocations: 15.97 kB / 1.019 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.312e-05/0.5396, allocations: 30.75 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.226e-05/0.5397, allocations: 8.688 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.378e-05/0.5398, allocations: 164.4 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.5398, allocations: 4.375 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.767e-05/0.5398, allocations: 8.312 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.117e-05/0.5399, allocations: 42.25 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.48e-06/0.5399, allocations: 3.938 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.773e-06/0.5399, allocations: 0 / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.996e-06/0.5399, allocations: 4 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.913e-05/0.54, allocations: 8 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002928/0.5403, allocations: 292.8 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.083e-05/0.5403, allocations: 34.45 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.009e-05/0.5403, allocations: 12.92 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 6.843e-06/0.5404, allocations: 0 / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001112/0.5405, allocations: 63.39 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.5405, allocations: 0 / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0001493/0.5406, allocations: 69.61 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.75e-05/0.5407, allocations: 55.41 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.431e-05/0.5407, allocations: 109.8 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/0.5408, allocations: 29.7 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.45e-05/0.5408, allocations: 84.05 kB / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.247e-05/0.5408, allocations: 19.89 kB / 1.02 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.023e-05/0.5409, allocations: 29.7 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.408e-05/0.541, allocations: 318.8 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.983e-05/0.5411, allocations: 27.98 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.759e-05/0.5411, allocations: 50.56 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001017/0.5413, allocations: 96.2 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.5413, allocations: 0 / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002271/0.5415, allocations: 147.3 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.943e-05/0.5415, allocations: 39.19 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.5415, allocations: 4 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.905e-06/0.5416, allocations: 0 / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.615e-05/0.5416, allocations: 8 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.678e-06/0.5416, allocations: 400 / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001859/0.5418, allocations: 35.91 kB / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.741e-05/0.5418, allocations: 8.219 kB / 1.021 GB, free: 13.96 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.293e-05/0.5419, allocations: 118.3 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.309e-05/0.5419, allocations: 7.906 kB / 1.021 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.779e-05/0.5419, allocations: 11.83 kB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.5419, allocations: 0 / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.5419, allocations: 0 / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-06/0.542, allocations: 4 kB / 1.021 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.818e-05/0.5421, allocations: 165.6 kB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.5421, allocations: 4 kB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.731e-05/0.5421, allocations: 4 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.5421, allocations: 0 / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.3e-06/0.5421, allocations: 0 / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.5421, allocations: 3.984 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.5421, allocations: 4 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.4e-05/0.5422, allocations: 81.06 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.402e-05/0.5423, allocations: 81.02 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.688e-06/0.5423, allocations: 4 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.327e-05/0.5423, allocations: 0 / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.767e-05/0.5423, allocations: 11.98 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.13e-06/0.5423, allocations: 0 / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.439e-05/0.5424, allocations: 91.2 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5424, allocations: 0 / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001938/0.5426, allocations: 19.98 kB / 1.022 GB, free: 13.27 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.0003109/0.5429, allocations: 0.6281 MB / 1.022 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001714/0.5431, allocations: 127.3 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.5431, allocations: 0 / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.658e-05/0.5431, allocations: 8 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001742/0.5433, allocations: 17.75 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001111/0.5444, allocations: 1.4 MB / 1.024 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000177/0.5446, allocations: 0.6807 MB / 1.025 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.62e-05/0.5446, allocations: 4.25 kB / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.184e-05/0.5446, allocations: 11.44 kB / 1.025 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.5446, allocations: 4 kB / 1.025 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.343/0.8877, allocations: 1.907 MB / 1.026 GB, free: 8.48 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001896/0.8879, allocations: 218.6 kB / 1.027 GB, free: 8.227 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.523/2.411, allocations: 5.719 kB / 1.027 GB, free: 8.223 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