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: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booToInt.u|booToInt.y",fileNamePrefix="Buildings_10_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_10_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.001409/0.001413, 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.001452/0.001452, allocations: 193 kB / 16.26 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.535/1.535, allocations: 222.9 MB / 239.9 MB, free: 4.445 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.936/2.936, allocations: 437 MB / 0.7101 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 67.89 kB / 0.8687 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8361/0.8382, allocations: 151.6 MB / 1.017 GB, free: 2.723 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.00215/0.8404, allocations: 0.679 MB / 1.017 GB, free: 2.043 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001673/0.8421, allocations: 1.109 MB / 1.019 GB, free: 0.918 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.186e-05/0.8421, allocations: 0 / 1.019 GB, free: 0.918 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.256e-05/0.8422, allocations: 0 / 1.019 GB, free: 0.918 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.31e-05/0.8423, allocations: 7.922 kB / 1.019 GB, free: 0.9102 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000545/0.8428, allocations: 115 kB / 1.019 GB, free: 0.8008 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.000158/0.843, allocations: 95.83 kB / 1.019 GB, free: 0.707 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.103e-05/0.8431, allocations: 4 kB / 1.019 GB, free: 0.7031 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 8.625e-05/0.8432, allocations: 39.91 kB / 1.019 GB, free: 0.6641 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.306e-05/0.8433, allocations: 31.89 kB / 1.019 GB, free: 0.6328 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.502e-05/0.8433, allocations: 8 kB / 1.019 GB, free: 0.625 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001028/0.8434, allocations: 23.98 kB / 1.019 GB, free: 0.6016 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.822e-05/0.8434, allocations: 4 kB / 1.019 GB, free: 0.5977 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 6.066e-05/0.8435, allocations: 27.92 kB / 1.019 GB, free: 0.5703 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001672/0.8437, allocations: 83.78 kB / 1.019 GB, free: 500 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.768e-06/0.8437, allocations: 0 / 1.019 GB, free: 500 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.684e-06/0.8437, allocations: 0 / 1.019 GB, free: 500 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.091e-06/0.8437, allocations: 0 / 1.019 GB, free: 500 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.0005504/0.8442, allocations: 391 kB / 1.019 GB, free: 52 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.8443, allocations: 8.031 kB / 1.019 GB, free: 44 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.105e-05/0.8443, allocations: 8.875 kB / 1.019 GB, free: 36 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002043/0.8446, allocations: 176.3 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.313e-05/0.8446, allocations: 384 / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.619e-05/0.8446, allocations: 8.375 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001047/0.8447, allocations: 38.25 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.864e-06/0.8447, allocations: 192 / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.8448, allocations: 3.938 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.8448, allocations: 0 / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.596e-05/0.8448, allocations: 15.98 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000458/0.8453, allocations: 292.8 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.114e-05/0.8454, allocations: 34.44 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.968e-05/0.8454, allocations: 12.92 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.107e-05/0.8454, allocations: 0 / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001583/0.8456, allocations: 59.39 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.8456, allocations: 0 / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0002216/0.8458, allocations: 73.62 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.942e-05/0.8459, allocations: 51.41 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.846, allocations: 109.8 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.321e-05/0.846, allocations: 29.7 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.132e-05/0.8461, allocations: 92.03 kB / 1.02 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.38e-05/0.8461, allocations: 7.906 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.786e-05/0.8462, allocations: 29.7 kB / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002028/0.8464, allocations: 310.8 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.611e-05/0.8465, allocations: 39.92 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.491e-05/0.8466, allocations: 54.86 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001294/0.8468, allocations: 88.27 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.8468, allocations: 3.938 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002696/0.8471, allocations: 151.3 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.496e-05/0.8471, allocations: 33.7 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.8471, allocations: 80 / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.8471, allocations: 0 / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.75e-05/0.8472, allocations: 7.984 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.8472, allocations: 3.984 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002421/0.8475, allocations: 31.91 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.21e-05/0.8475, allocations: 4 kB / 1.021 GB, free: 14.09 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 0.0001075/0.8476, allocations: 133.7 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.485e-05/0.8476, allocations: 7.891 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.544e-05/0.8476, allocations: 3.906 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.8477, allocations: 4.234 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.8477, allocations: 0 / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.8477, allocations: 3.984 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001487/0.8478, allocations: 173.6 kB / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.8478, allocations: 0 / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.566e-05/0.8479, allocations: 0 / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.8479, allocations: 0 / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.8479, allocations: 8 kB / 1.021 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.8479, allocations: 0 / 1.021 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.8479, allocations: 0 / 1.021 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001243/0.848, allocations: 85.05 kB / 1.021 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.606e-05/0.8481, allocations: 84.95 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.455e-05/0.8481, allocations: 4 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.41e-05/0.8481, allocations: 0 / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.671e-05/0.8481, allocations: 4 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.805e-06/0.8482, allocations: 8 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.157e-05/0.8482, allocations: 83.27 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8482, allocations: 0 / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002137/0.8484, allocations: 20 kB / 1.022 GB, free: 13.38 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.0001432/0.8486, allocations: 103.8 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000259/0.8489, allocations: 127.3 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.8489, allocations: 0 / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.332e-05/0.8489, allocations: 12.12 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002058/0.8491, allocations: 27.48 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003463/0.8495, allocations: 126.2 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004713/0.85, allocations: 0.6807 MB / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.364e-05/0.85, allocations: 4.25 kB / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.923e-05/0.85, allocations: 7.438 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of SimCode: time 3.61e-07/0.85, allocations: 4 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of Templates: time 0.004325/0.8544, allocations: 1.076 MB / 1.024 GB, free: 11.16 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.makefile (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 & ./Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > 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/jenkins/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