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: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booToInt.u|booToInt.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booToInt.u|booToInt.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001961/0.001961, 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.002124/0.002124, allocations: 193.1 kB / 16.25 MB, free: 6.621 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.529/1.529, allocations: 222.9 MB / 239.9 MB, free: 4.547 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.455/2.455, allocations: 390.2 MB / 0.6643 GB, free: 0.5391 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 59.91 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8321/0.8335, allocations: 140.4 MB / 0.9491 GB, free: 9.445 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001932/0.8355, allocations: 0.6655 MB / 0.9498 GB, free: 8.938 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001323/0.8368, allocations: 1.115 MB / 0.9508 GB, free: 8.039 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.943e-05/0.8369, allocations: 0 / 0.9508 GB, free: 8.039 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.119e-05/0.837, allocations: 0 / 0.9508 GB, free: 8.039 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.285e-05/0.8371, allocations: 5.438 kB / 0.9508 GB, free: 8.035 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005143/0.8376, allocations: 105.2 kB / 0.9509 GB, free: 7.973 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001527/0.8377, allocations: 99.19 kB / 0.951 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.8378, allocations: 6.375 kB / 0.951 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.68e-05/0.8379, allocations: 40.28 kB / 0.9511 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.655e-05/0.838, allocations: 32.08 kB / 0.9511 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.631e-05/0.8381, allocations: 11.22 kB / 0.9511 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.191e-05/0.8381, allocations: 22.55 kB / 0.9511 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.077e-05/0.8382, allocations: 2.531 kB / 0.9511 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.685e-05/0.8382, allocations: 29.23 kB / 0.9512 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001734/0.8384, allocations: 83.97 kB / 0.9513 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.8384, allocations: 0 / 0.9513 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.445e-06/0.8384, allocations: 0 / 0.9513 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.002e-05/0.8385, allocations: 1.188 kB / 0.9513 GB, free: 7.773 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.0004993/0.839, allocations: 386.5 kB / 0.9516 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/0.839, allocations: 9 kB / 0.9516 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.81e-05/0.8391, allocations: 12.72 kB / 0.9516 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001063/0.8392, allocations: 163.1 kB / 0.9518 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.073e-05/0.8392, allocations: 2.906 kB / 0.9518 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.782e-05/0.8392, allocations: 9.25 kB / 0.9518 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001134/0.8394, allocations: 36.25 kB / 0.9518 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.8394, allocations: 192 / 0.9518 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.8394, allocations: 3.938 kB / 0.9519 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.8394, allocations: 5.516 kB / 0.9519 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.492e-05/0.8395, allocations: 11.77 kB / 0.9519 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004093/0.8399, allocations: 297 kB / 0.9522 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.299e-05/0.8399, allocations: 32.94 kB / 0.9522 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.54e-05/0.84, allocations: 16.05 kB / 0.9522 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.296e-06/0.84, allocations: 1.062 kB / 0.9522 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001546/0.8402, allocations: 63.36 kB / 0.9523 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.8402, allocations: 4 kB / 0.9523 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0002296/0.8404, allocations: 67.31 kB / 0.9523 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.726e-05/0.8404, allocations: 56.81 kB / 0.9524 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.759e-05/0.8405, allocations: 106.5 kB / 0.9525 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.33e-05/0.8406, allocations: 27.8 kB / 0.9525 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.036e-05/0.8406, allocations: 90.53 kB / 0.9526 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.178e-05/0.8406, allocations: 6.656 kB / 0.9526 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.387e-05/0.8407, allocations: 28.89 kB / 0.9526 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.324e-05/0.8408, allocations: 320.3 kB / 0.9529 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.017e-05/0.8409, allocations: 28.14 kB / 0.953 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.435e-05/0.841, allocations: 53.27 kB / 0.953 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001222/0.8411, allocations: 89.98 kB / 0.9531 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.8411, allocations: 3.938 kB / 0.9531 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002591/0.8414, allocations: 153.3 kB / 0.9533 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.205e-05/0.8414, allocations: 37.42 kB / 0.9533 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.8414, allocations: 0 / 0.9533 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.143e-05/0.8415, allocations: 5.844 kB / 0.9533 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.657e-05/0.8415, allocations: 5.766 kB / 0.9533 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.209e-05/0.8416, allocations: 5.438 kB / 0.9533 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002517/0.8418, allocations: 28.09 kB / 0.9533 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.031e-05/0.8419, allocations: 5.188 kB / 0.9533 GB, free: 5.668 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 7.998e-05/0.8419, allocations: 127.1 kB / 0.9535 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.205e-05/0.842, allocations: 5.875 kB / 0.9535 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.538e-05/0.842, allocations: 4.844 kB / 0.9535 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.842, allocations: 0 / 0.9535 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.842, allocations: 0.9375 kB / 0.9535 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.842, allocations: 0 / 0.9535 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.154e-05/0.8421, allocations: 169.1 kB / 0.9536 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.8421, allocations: 0 / 0.9536 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.542e-05/0.8421, allocations: 2.156 kB / 0.9536 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.205e-06/0.8421, allocations: 4.938 kB / 0.9536 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/0.8422, allocations: 0.7812 kB / 0.9536 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.8422, allocations: 3.938 kB / 0.9536 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.8422, allocations: 1.156 kB / 0.9536 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001047/0.8423, allocations: 89.86 kB / 0.9537 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.3e-05/0.8423, allocations: 82.58 kB / 0.9538 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.518e-05/0.8423, allocations: 4 kB / 0.9538 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.557e-05/0.8423, allocations: 5.188 kB / 0.9538 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.147e-05/0.8424, allocations: 5.312 kB / 0.9538 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.05e-06/0.8424, allocations: 1.656 kB / 0.9538 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.784e-05/0.8424, allocations: 89.53 kB / 0.9539 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8424, allocations: 0 / 0.9539 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002111/0.8427, allocations: 15.56 kB / 0.9539 GB, free: 5.031 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.0001346/0.8428, allocations: 111.1 kB / 0.954 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002258/0.843, allocations: 130 kB / 0.9542 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.843, allocations: 4.125 kB / 0.9542 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.547e-05/0.8431, allocations: 13.62 kB / 0.9542 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002017/0.8433, allocations: 16.88 kB / 0.9542 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002787/0.8436, allocations: 120.5 kB / 0.9543 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001389/0.8437, allocations: 0.6828 MB / 0.955 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.187e-05/0.8437, allocations: 10.66 kB / 0.955 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.72e-05/0.8438, allocations: 10.19 kB / 0.955 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of SimCode: time 1.613e-06/0.8438, allocations: 0 / 0.955 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of Templates: time 0.003402/0.8472, allocations: 1.08 MB / 0.956 GB, free: 3.414 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.makefile (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 & ./Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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