Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 87.58 kB / 20.45 MB, free: 4.121 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000943/0.000943, allocations: 161 kB / 23.82 MB, free: 0.7539 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9614/0.9614, allocations: 177.1 MB / 204.2 MB, free: 5.188 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.816/1.816, allocations: 377.8 MB / 0.6236 GB, free: 8.57 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booToInt.u|booToInt.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booToInt.u|booToInt.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.707e-06/3.707e-06, allocations: 0.875 kB / 0.8115 GB, free: 1.793 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.967e-05/3.337e-05, allocations: 4.703 kB / 0.8115 GB, free: 1.789 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001754/0.001787, allocations: 0.6147 MB / 0.8121 GB, free: 1.195 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.007395/0.009182, allocations: 1.164 MB / 0.8132 GB, free: 20 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.626e-05/0.009229, allocations: 4 kB / 0.8132 GB, free: 16 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.395e-05/0.009263, allocations: 4.625 kB / 0.8133 GB, free: 12 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 7.189e-05/0.009335, allocations: 3.938 kB / 0.8133 GB, free: 8 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004995/0.009834, allocations: 125.3 kB / 0.8134 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001566/0.009991, allocations: 91.83 kB / 0.8135 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 8.847e-05/0.01008, allocations: 4.859 kB / 0.8135 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 9.576e-05/0.01017, allocations: 51.95 kB / 0.8135 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 9.124e-05/0.01027, allocations: 20.97 kB / 0.8135 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.349e-05/0.01029, allocations: 8 kB / 0.8135 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 6.459e-05/0.01035, allocations: 23.98 kB / 0.8136 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.984e-05/0.01037, allocations: 5.594 kB / 0.8136 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 5.345e-05/0.01043, allocations: 35.95 kB / 0.8136 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001596/0.01059, allocations: 79.72 kB / 0.8137 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.01059, allocations: 3.938 kB / 0.8137 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.332e-06/0.01059, allocations: 1.531 kB / 0.8137 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.531e-06/0.0106, allocations: 0 / 0.8137 GB, free: 15.57 MB / 0.7761 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.003737/0.01433, allocations: 402.3 kB / 0.8141 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.01438, allocations: 12.02 kB / 0.8141 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.405e-05/0.01444, allocations: 10.69 kB / 0.8141 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.242e-05/0.01454, allocations: 112.6 kB / 0.8142 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.202e-05/0.01456, allocations: 4.375 kB / 0.8142 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.895e-05/0.01458, allocations: 4.375 kB / 0.8142 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001047/0.01468, allocations: 50.95 kB / 0.8143 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.01469, allocations: 1.375 kB / 0.8143 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.672e-05/0.01471, allocations: 4.312 kB / 0.8143 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.398e-06/0.01472, allocations: 4.375 kB / 0.8143 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.929e-05/0.01475, allocations: 9.266 kB / 0.8143 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003582/0.0151, allocations: 275.8 kB / 0.8145 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 6.024e-05/0.01516, allocations: 31.06 kB / 0.8146 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.036e-05/0.01518, allocations: 13.83 kB / 0.8146 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 6.943e-06/0.01519, allocations: 0 / 0.8146 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.878e-05/0.01529, allocations: 69.05 kB / 0.8146 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.01529, allocations: 0 / 0.8146 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4): time 0.0001894/0.01548, allocations: 73.58 kB / 0.8147 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.371e-05/0.01551, allocations: 51.94 kB / 0.8148 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.593e-05/0.0156, allocations: 169.9 kB / 0.8149 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.01562, allocations: 30.42 kB / 0.815 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.878e-05/0.01568, allocations: 134.8 kB / 0.8151 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.341e-05/0.01569, allocations: 16.42 kB / 0.8151 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.659e-05/0.01575, allocations: 36.95 kB / 0.8151 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.01586, allocations: 496.1 kB / 0.8156 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.403e-05/0.01594, allocations: 57.67 kB / 0.8157 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.659e-05/0.01601, allocations: 80.94 kB / 0.8157 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.948e-05/0.0161, allocations: 86.28 kB / 0.8158 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.01611, allocations: 3.938 kB / 0.8158 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002129/0.01632, allocations: 181.6 kB / 0.816 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.289e-05/0.01635, allocations: 38.23 kB / 0.816 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.01636, allocations: 3.984 kB / 0.816 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.01637, allocations: 9.359 kB / 0.8161 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.823e-05/0.01642, allocations: 0 / 0.8161 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.01642, allocations: 4.391 kB / 0.8161 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00013/0.01655, allocations: 20.78 kB / 0.8161 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.58e-05/0.01657, allocations: 4 kB / 0.8161 GB, free: 12.85 MB / 0.7761 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.0031/0.01967, allocations: 161.5 kB / 0.8162 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.689e-05/0.01969, allocations: 9.172 kB / 0.8162 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.549e-05/0.01971, allocations: 11.92 kB / 0.8163 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.01972, allocations: 4 kB / 0.8163 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.01972, allocations: 64 / 0.8163 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.01972, allocations: 4.969 kB / 0.8163 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.393e-05/0.01981, allocations: 116.6 kB / 0.8164 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.01981, allocations: 2.312 kB / 0.8164 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.921e-05/0.01983, allocations: 7.938 kB / 0.8164 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.01983, allocations: 0 / 0.8164 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-06/0.01984, allocations: 4 kB / 0.8164 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.01984, allocations: 7.938 kB / 0.8164 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.01985, allocations: 3.984 kB / 0.8164 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001025/0.01995, allocations: 88.42 kB / 0.8165 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.905e-06/0.01996, allocations: 7.328 kB / 0.8165 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.142e-05/0.01997, allocations: 4 kB / 0.8165 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.383e-05/0.01998, allocations: 3.938 kB / 0.8165 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.858e-05/0.02001, allocations: 4 kB / 0.8165 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/0.02002, allocations: 7.984 kB / 0.8165 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.217e-05/0.02006, allocations: 123.2 kB / 0.8166 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.02006, allocations: 0 / 0.8166 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002054/0.02026, allocations: 16 kB / 0.8166 GB, free: 12.21 MB / 0.7761 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.0001328/0.0204, allocations: 112.1 kB / 0.8168 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001914/0.02059, allocations: 141.3 kB / 0.8169 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.02059, allocations: 0.5625 kB / 0.8169 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.821e-05/0.02062, allocations: 23.61 kB / 0.8169 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001951/0.02081, allocations: 13.67 kB / 0.8169 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002607/0.02107, allocations: 130.3 kB / 0.817 GB, free: 11.74 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.32e-05/0.02111, allocations: 60.03 kB / 0.8171 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.813e-05/0.02113, allocations: 7.922 kB / 0.8171 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.85e-05/0.02114, allocations: 13.59 kB / 0.8171 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of SimCode: time 7.82e-07/0.02115, allocations: 0 / 0.8171 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of Templates: time 0.006365/0.02751, allocations: 1.311 MB / 0.8184 GB, free: 10.39 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.1030566189438105]