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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001589/0.001589, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001781/0.001781, allocations: 197.7 kB / 16.26 MB, free: 6.625 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.345/1.345, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.376/2.376, allocations: 390.2 MB / 0.6644 GB, free: 0.6406 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001551/0.001551, allocations: 59.91 kB / 0.8122 GB, free: 14.71 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6276/0.6291, allocations: 140.4 MB / 0.9492 GB, free: 9.309 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001657/0.6308, allocations: 0.6688 MB / 0.9499 GB, free: 8.797 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009894/0.6318, allocations: 1.106 MB / 0.951 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.048e-05/0.6319, allocations: 2.188 kB / 0.951 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.006e-05/0.6319, allocations: 3.984 kB / 0.951 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.258e-05/0.632, allocations: 7.938 kB / 0.951 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003827/0.6324, allocations: 109.5 kB / 0.9511 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001178/0.6325, allocations: 99 kB / 0.9512 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.421e-05/0.6326, allocations: 6.75 kB / 0.9512 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.039e-05/0.6327, allocations: 40.41 kB / 0.9512 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.144e-05/0.6327, allocations: 26.78 kB / 0.9513 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.08e-05/0.6328, allocations: 8.25 kB / 0.9513 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.379e-05/0.6328, allocations: 21.72 kB / 0.9513 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.592e-05/0.6328, allocations: 6.75 kB / 0.9513 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.833e-05/0.6329, allocations: 25.55 kB / 0.9513 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001174/0.633, allocations: 84.41 kB / 0.9514 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.633, allocations: 0 / 0.9514 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.183e-06/0.633, allocations: 3.938 kB / 0.9514 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.35e-05/0.6331, allocations: 4 kB / 0.9514 GB, free: 7.629 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.0003496/0.6334, allocations: 383.9 kB / 0.9518 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.6335, allocations: 8.25 kB / 0.9518 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.312e-05/0.6335, allocations: 32.12 kB / 0.9518 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.695e-05/0.6335, allocations: 8.969 kB / 0.9518 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.8e-05/0.6336, allocations: 163.1 kB / 0.952 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.879e-05/0.6336, allocations: 5.734 kB / 0.952 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.895e-05/0.6336, allocations: 5.469 kB / 0.952 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.893e-05/0.6337, allocations: 44.72 kB / 0.952 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.6337, allocations: 3.938 kB / 0.952 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.737e-06/0.6338, allocations: 0 / 0.952 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.6338, allocations: 5.094 kB / 0.952 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.681e-05/0.6338, allocations: 16.98 kB / 0.952 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003017/0.6341, allocations: 284.6 kB / 0.9523 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.322e-05/0.6342, allocations: 33.41 kB / 0.9524 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.996e-05/0.6342, allocations: 15.92 kB / 0.9524 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 5.831e-06/0.6342, allocations: 0 / 0.9524 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001136/0.6343, allocations: 67.55 kB / 0.9524 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.6343, allocations: 0 / 0.9524 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0001734/0.6345, allocations: 63.34 kB / 0.9525 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.328e-05/0.6345, allocations: 57.02 kB / 0.9525 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.483e-05/0.6346, allocations: 110.6 kB / 0.9527 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.65e-05/0.6347, allocations: 31.89 kB / 0.9527 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.51e-05/0.6347, allocations: 91.56 kB / 0.9528 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 9.979e-06/0.6347, allocations: 5 kB / 0.9528 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.902e-05/0.6348, allocations: 34.45 kB / 0.9528 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.686e-05/0.6348, allocations: 316.4 kB / 0.9531 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.262e-05/0.6349, allocations: 31.62 kB / 0.9531 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.549e-05/0.635, allocations: 51.81 kB / 0.9532 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.198e-05/0.6351, allocations: 90.33 kB / 0.9533 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.6351, allocations: 1.188 kB / 0.9533 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002244/0.6353, allocations: 152.4 kB / 0.9534 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.773e-05/0.6353, allocations: 39.36 kB / 0.9535 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.6354, allocations: 0 / 0.9535 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.6354, allocations: 5.328 kB / 0.9535 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.847e-05/0.6354, allocations: 6.812 kB / 0.9535 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.6354, allocations: 5.094 kB / 0.9535 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002121/0.6356, allocations: 29.03 kB / 0.9535 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.814e-05/0.6357, allocations: 4.688 kB / 0.9535 GB, free: 5.488 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,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 6.166e-05/0.6357, allocations: 122.9 kB / 0.9536 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.002e-05/0.6358, allocations: 5.344 kB / 0.9536 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.96e-05/0.6358, allocations: 4.969 kB / 0.9536 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.6358, allocations: 1.406 kB / 0.9536 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.6358, allocations: 4 kB / 0.9536 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.6358, allocations: 0 / 0.9536 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.186e-05/0.6359, allocations: 169.6 kB / 0.9538 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.6359, allocations: 3.938 kB / 0.9538 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.565e-05/0.6359, allocations: 1.719 kB / 0.9538 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.6359, allocations: 0 / 0.9538 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.492e-06/0.6359, allocations: 1.375 kB / 0.9538 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.6359, allocations: 0 / 0.9538 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.6359, allocations: 1.75 kB / 0.9538 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.957e-05/0.636, allocations: 97.39 kB / 0.9539 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.657e-05/0.6361, allocations: 82.02 kB / 0.954 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.204e-05/0.6361, allocations: 1.281 kB / 0.954 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.462e-05/0.6361, allocations: 4 kB / 0.954 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.032e-05/0.6361, allocations: 2.25 kB / 0.954 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.139e-06/0.6361, allocations: 5.172 kB / 0.954 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.308e-05/0.6361, allocations: 80.75 kB / 0.9541 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6362, allocations: 0 / 0.9541 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002119/0.6364, allocations: 23.44 kB / 0.9541 GB, free: 4.852 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 (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.0002485/0.6366, allocations: 0.6343 MB / 0.9547 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000198/0.6368, allocations: 123 kB / 0.9548 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.6368, allocations: 0 / 0.9548 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.268e-05/0.6369, allocations: 20.8 kB / 0.9548 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001807/0.6371, allocations: 9.281 kB / 0.9549 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001065/0.6381, allocations: 1.386 MB / 0.9562 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.38e-05/0.6382, allocations: 0.692 MB / 0.9569 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.032e-05/0.6383, allocations: 1.594 kB / 0.9569 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.649e-05/0.6383, allocations: 14.12 kB / 0.9569 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of SimCode: time 2.51e-07/0.6383, allocations: 0 / 0.9569 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01193/0.6502, allocations: 1.902 MB / 0.9588 GB, free: 1.145 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001379/0.6504, allocations: 225.9 kB / 0.959 GB, free: 0.8867 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.896/2.547, allocations: 5.766 kB / 0.959 GB, free: 0.8828 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/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) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches