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.01074/0.01074, allocations: 103.6 kB / 15.74 MB, free: 6.012 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.002006/0.002006, allocations: 190.6 kB / 16.67 MB, free: 5.938 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.641/1.641, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.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.451/2.451, allocations: 390.3 MB / 0.6648 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001256, allocations: 59.91 kB / 0.9504 GB, free: 8.156 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.274/1.276, allocations: 140.4 MB / 1.087 GB, free: 5.242 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.002527/1.278, allocations: 0.5987 MB / 1.088 GB, free: 4.871 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002203/1.28, allocations: 1.114 MB / 1.089 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.877e-05/1.28, allocations: 1.406 kB / 1.089 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.245e-05/1.281, allocations: 0.7969 kB / 1.089 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.545e-05/1.281, allocations: 4.5 kB / 1.089 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007485/1.281, allocations: 124.2 kB / 1.089 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002327/1.282, allocations: 99.56 kB / 1.089 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/1.282, allocations: 4.609 kB / 1.089 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.59e-05/1.282, allocations: 42.03 kB / 1.089 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001474/1.282, allocations: 32.41 kB / 1.089 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.307e-05/1.282, allocations: 7.594 kB / 1.089 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.788e-05/1.282, allocations: 34.7 kB / 1.089 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.58e-05/1.282, allocations: 2.188 kB / 1.089 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.549e-05/1.282, allocations: 31.05 kB / 1.089 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002421/1.283, allocations: 83.75 kB / 1.09 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/1.283, allocations: 0 / 1.09 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.803e-06/1.283, allocations: 0.9375 kB / 1.09 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.487e-05/1.283, allocations: 0 / 1.09 GB, free: 3.855 MB / 0.8575 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.0005806/1.283, allocations: 379.5 kB / 1.09 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.323e-05/1.283, allocations: 9.719 kB / 1.09 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.816e-05/1.283, allocations: 40.27 kB / 1.09 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.888e-05/1.283, allocations: 5.828 kB / 1.09 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001133/1.284, allocations: 167.8 kB / 1.09 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.781e-05/1.284, allocations: 14.61 kB / 1.09 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.411e-05/1.284, allocations: 6.328 kB / 1.09 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001475/1.284, allocations: 38.91 kB / 1.09 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/1.284, allocations: 4.906 kB / 1.09 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/1.284, allocations: 0.6094 kB / 1.09 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/1.284, allocations: 1.062 kB / 1.09 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.28e-05/1.284, allocations: 6.188 kB / 1.09 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005911/1.285, allocations: 294 kB / 1.091 GB, free: 2.871 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 9.373e-05/1.285, allocations: 30.33 kB / 1.091 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.271e-05/1.285, allocations: 14.97 kB / 1.091 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.611e-05/1.285, allocations: 0 / 1.091 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000215/1.285, allocations: 66.22 kB / 1.091 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.864e-06/1.285, allocations: 4 kB / 1.091 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0003151/1.285, allocations: 73.84 kB / 1.091 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.437e-05/1.285, allocations: 52.81 kB / 1.091 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/1.286, allocations: 110.9 kB / 1.091 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.281e-05/1.286, allocations: 28.23 kB / 1.091 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.085e-05/1.286, allocations: 87.58 kB / 1.091 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/1.286, allocations: 6.234 kB / 1.091 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001059/1.286, allocations: 30.39 kB / 1.091 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.635e-05/1.286, allocations: 321.9 kB / 1.091 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001575/1.286, allocations: 28.39 kB / 1.091 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001642/1.286, allocations: 49.98 kB / 1.091 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002022/1.286, allocations: 90.47 kB / 1.091 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/1.286, allocations: 0 / 1.091 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004888/1.287, allocations: 149.5 kB / 1.092 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001118/1.287, allocations: 38.73 kB / 1.092 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/1.287, allocations: 6.172 kB / 1.092 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.263e-05/1.287, allocations: 1.219 kB / 1.092 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.307e-05/1.287, allocations: 3.484 kB / 1.092 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.53e-05/1.287, allocations: 1.625 kB / 1.092 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003155/1.288, allocations: 31.03 kB / 1.092 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.076e-05/1.288, allocations: 7.172 kB / 1.092 GB, free: 1.828 MB / 0.8575 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 9.798e-05/1.288, allocations: 123.8 kB / 1.092 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.024e-05/1.288, allocations: 5.797 kB / 1.092 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.712e-05/1.288, allocations: 6.703 kB / 1.092 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/1.288, allocations: 0 / 1.092 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/1.288, allocations: 5.156 kB / 1.092 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/1.288, allocations: 0.7969 kB / 1.092 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001463/1.288, allocations: 167.1 kB / 1.092 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/1.288, allocations: 1.125 kB / 1.092 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.435e-05/1.288, allocations: 1.594 kB / 1.092 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/1.288, allocations: 5.062 kB / 1.092 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/1.288, allocations: 1.734 kB / 1.092 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/1.288, allocations: 3.984 kB / 1.092 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/1.288, allocations: 1.125 kB / 1.092 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001603/1.288, allocations: 95.75 kB / 1.092 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.712e-05/1.288, allocations: 79 kB / 1.092 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.498e-05/1.288, allocations: 5.969 kB / 1.092 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.653e-05/1.288, allocations: 0.5156 kB / 1.092 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.785e-05/1.289, allocations: 7.453 kB / 1.092 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.498e-06/1.289, allocations: 5.062 kB / 1.092 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.098e-05/1.289, allocations: 87.2 kB / 1.092 GB, free: 1.207 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.91e-07/1.289, allocations: 1.062 kB / 1.092 GB, free: 1.207 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004604/1.289, allocations: 15.41 kB / 1.092 GB, free: 1.207 MB / 0.8575 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.0005464/1.29, allocations: 0.63 MB / 1.093 GB, free: 16.6 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003783/1.29, allocations: 126.9 kB / 1.093 GB, free: 16.51 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/1.29, allocations: 0.9062 kB / 1.093 GB, free: 16.51 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 5.263e-05/1.29, allocations: 15.06 kB / 1.093 GB, free: 16.5 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003578/1.29, allocations: 10.41 kB / 1.093 GB, free: 16.5 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002591/1.293, allocations: 1.394 MB / 1.094 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004001/1.294, allocations: 0.6799 MB / 1.095 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 4.116e-05/1.294, allocations: 2.703 kB / 1.095 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.29e-05/1.294, allocations: 10.48 kB / 1.095 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of SimCode: time 4.31e-07/1.294, allocations: 0.9062 kB / 1.095 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.106/2.399, allocations: 2.021 MB / 1.097 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.13/19.53, allocations: 9.531 kB / 1.097 GB, free: 14.11 MB / 0.8731 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