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.001908/0.001908, allocations: 83.69 kB / 20.24 MB, free: 4.184 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.002038/0.002038, allocations: 161.3 kB / 23.55 MB, free: 0.8711 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 1.578/1.578, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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 3.066/3.066, allocations: 377.8 MB / 0.6232 GB, free: 8.551 MB / 0.5886 GB " [Timeout remaining time 176] 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.016e-06/3.016e-06, allocations: 0 / 0.8108 GB, free: 2.129 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.173e-05/3.475e-05, allocations: 3.969 kB / 0.8108 GB, free: 2.125 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001899/0.001934, allocations: 0.621 MB / 0.8114 GB, free: 1.527 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001781/0.003715, allocations: 1.145 MB / 0.8125 GB, free: 380 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.403e-05/0.003759, allocations: 0 / 0.8125 GB, free: 380 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.384e-05/0.003783, allocations: 1.094 kB / 0.8125 GB, free: 380 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 8.095e-05/0.003864, allocations: 7.875 kB / 0.8125 GB, free: 372 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004901/0.004354, allocations: 120.2 kB / 0.8126 GB, free: 252 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001863/0.004541, allocations: 97.22 kB / 0.8127 GB, free: 156 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 9.305e-05/0.004634, allocations: 7.984 kB / 0.8127 GB, free: 148 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001172/0.004751, allocations: 43.97 kB / 0.8128 GB, free: 104 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 9.985e-05/0.004851, allocations: 33 kB / 0.8128 GB, free: 72 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 3.333e-05/0.004884, allocations: 8 kB / 0.8128 GB, free: 64 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 8.069e-05/0.004965, allocations: 16 kB / 0.8128 GB, free: 48 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.193e-05/0.004987, allocations: 8.625 kB / 0.8128 GB, free: 40 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 6.31e-05/0.00505, allocations: 23.97 kB / 0.8129 GB, free: 16 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0002259/0.005276, allocations: 100.7 kB / 0.813 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.005283, allocations: 4 kB / 0.813 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.092e-06/0.005284, allocations: 0.6562 kB / 0.813 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.005288, allocations: 3.938 kB / 0.813 GB, free: 15.91 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.0006712/0.00596, allocations: 407.1 kB / 0.8133 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/0.006008, allocations: 8.031 kB / 0.8134 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.478e-05/0.006083, allocations: 8.938 kB / 0.8134 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001653/0.006248, allocations: 113.5 kB / 0.8135 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.692e-05/0.006275, allocations: 4.375 kB / 0.8135 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.426e-05/0.0063, allocations: 8.359 kB / 0.8135 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001276/0.006427, allocations: 39.02 kB / 0.8135 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.006441, allocations: 4.172 kB / 0.8135 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.006453, allocations: 1.25 kB / 0.8135 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.00646, allocations: 384 / 0.8135 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.224e-05/0.006522, allocations: 17.12 kB / 0.8135 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005797/0.007102, allocations: 279.8 kB / 0.8138 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000106/0.007208, allocations: 35.11 kB / 0.8138 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.145e-05/0.007239, allocations: 17.56 kB / 0.8139 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.908e-05/0.007258, allocations: 4 kB / 0.8139 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001591/0.007417, allocations: 68.98 kB / 0.8139 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.007419, allocations: 0 / 0.8139 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4): time 0.0002896/0.007708, allocations: 74.67 kB / 0.814 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.484e-05/0.007783, allocations: 59.39 kB / 0.8141 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001723/0.007955, allocations: 169.9 kB / 0.8142 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.409e-05/0.007989, allocations: 30.64 kB / 0.8142 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001201/0.008109, allocations: 134.9 kB / 0.8144 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.589e-05/0.008125, allocations: 7.891 kB / 0.8144 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.232e-05/0.008208, allocations: 41.14 kB / 0.8144 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002735/0.008481, allocations: 0.4884 MB / 0.8149 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000126/0.008607, allocations: 69.69 kB / 0.815 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001498/0.008757, allocations: 100.7 kB / 0.8151 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001466/0.008904, allocations: 94.3 kB / 0.8152 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.008906, allocations: 0 / 0.8152 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000342/0.009248, allocations: 206.4 kB / 0.8154 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.71e-05/0.009295, allocations: 33.64 kB / 0.8154 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.009304, allocations: 4 kB / 0.8154 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.509e-05/0.009329, allocations: 3.984 kB / 0.8154 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.654e-05/0.009395, allocations: 12.41 kB / 0.8154 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.009401, allocations: 1.203 kB / 0.8154 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001766/0.009577, allocations: 21.77 kB / 0.8154 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.139e-05/0.009599, allocations: 4 kB / 0.8154 GB, free: 13.12 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.000177/0.009776, allocations: 168.6 kB / 0.8156 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.177e-05/0.009788, allocations: 64 / 0.8156 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.999e-05/0.009828, allocations: 16.8 kB / 0.8156 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.009829, allocations: 0 / 0.8156 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.009835, allocations: 0.6875 kB / 0.8156 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.009843, allocations: 3.984 kB / 0.8156 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001657/0.01001, allocations: 133.1 kB / 0.8157 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.01001, allocations: 1.156 kB / 0.8157 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.809e-05/0.01003, allocations: 4 kB / 0.8157 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.01003, allocations: 0 / 0.8157 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.01004, allocations: 0 / 0.8157 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.688e-06/0.01004, allocations: 4.469 kB / 0.8157 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.055e-06/0.01005, allocations: 9.219 kB / 0.8158 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004987/0.01055, allocations: 96.38 kB / 0.8158 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.024e-05/0.01056, allocations: 4 kB / 0.8159 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.599e-05/0.01059, allocations: 1.094 kB / 0.8159 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.709e-05/0.0106, allocations: 3.938 kB / 0.8159 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.371e-05/0.01065, allocations: 7.984 kB / 0.8159 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.794e-06/0.01065, allocations: 4.812 kB / 0.8159 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 9.338e-05/0.01075, allocations: 127.2 kB / 0.816 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01075, allocations: 0.9375 kB / 0.816 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002203/0.01097, allocations: 23.94 kB / 0.816 GB, free: 12.46 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.0002106/0.01118, allocations: 100.6 kB / 0.8161 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003576/0.01154, allocations: 180.7 kB / 0.8163 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.01154, allocations: 0.8438 kB / 0.8163 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.304e-05/0.01158, allocations: 15.69 kB / 0.8163 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002132/0.01179, allocations: 16.22 kB / 0.8163 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003803/0.01218, allocations: 138.1 kB / 0.8164 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.259e-05/0.01225, allocations: 63.34 kB / 0.8165 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.573e-05/0.01227, allocations: 8.703 kB / 0.8165 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.361e-05/0.0123, allocations: 8.5 kB / 0.8165 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of SimCode: time 6.31e-07/0.0123, allocations: 11.38 kB / 0.8165 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of Templates: time 0.004636/0.01693, allocations: 1.196 MB / 0.8177 GB, free: 10.72 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.16575564595405]