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.001121/0.001121, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001214/0.001214, allocations: 181 kB / 24.09 MB, free: 416 kB / 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.9643/0.9643, allocations: 177.1 MB / 204.5 MB, free: 5.477 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.92/1.92, allocations: 377.9 MB / 0.624 GB, free: 8.398 MB / 0.5886 GB " [Timeout remaining time 177] 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 2.154e-06/2.154e-06, allocations: 0 / 0.812 GB, free: 1.488 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.588e-05/1.803e-05, allocations: 2.312 kB / 0.812 GB, free: 1.484 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001224/0.001242, allocations: 0.6223 MB / 0.8126 GB, free: 0.8828 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001238/0.00248, allocations: 1.154 MB / 0.8137 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.27e-05/0.002523, allocations: 4 kB / 0.8137 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.407e-05/0.002547, allocations: 0.75 kB / 0.8137 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 6.336e-05/0.00261, allocations: 8.625 kB / 0.8137 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003553/0.002966, allocations: 124.8 kB / 0.8138 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001164/0.003082, allocations: 95.81 kB / 0.8139 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 7.246e-05/0.003154, allocations: 4 kB / 0.8139 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 8.864e-05/0.003243, allocations: 53.34 kB / 0.814 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 7.691e-05/0.00332, allocations: 23.91 kB / 0.814 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.944e-05/0.003339, allocations: 8 kB / 0.814 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.49e-05/0.003394, allocations: 23.98 kB / 0.814 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.534e-05/0.00341, allocations: 0.6875 kB / 0.814 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.226e-05/0.003442, allocations: 31.97 kB / 0.8141 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001187/0.003561, allocations: 84.61 kB / 0.8142 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.003563, allocations: 0 / 0.8142 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.42e-07/0.003563, allocations: 0.6562 kB / 0.8142 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.045e-06/0.003566, allocations: 0 / 0.8142 GB, free: 15.27 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.0003359/0.003902, allocations: 398.9 kB / 0.8145 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.003939, allocations: 9.281 kB / 0.8145 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.364e-05/0.003973, allocations: 8.938 kB / 0.8146 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.968e-05/0.004043, allocations: 116.5 kB / 0.8147 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/0.004058, allocations: 8.375 kB / 0.8147 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.56e-05/0.004074, allocations: 6.594 kB / 0.8147 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.902e-05/0.004143, allocations: 46.95 kB / 0.8147 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.76e-06/0.004149, allocations: 192 / 0.8147 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.23e-06/0.004154, allocations: 384 / 0.8147 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.311e-06/0.00416, allocations: 4.375 kB / 0.8147 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.604e-05/0.004176, allocations: 7.875 kB / 0.8147 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002367/0.004413, allocations: 269.1 kB / 0.815 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 4.034e-05/0.004453, allocations: 28.59 kB / 0.815 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.206e-05/0.004466, allocations: 11.75 kB / 0.815 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 5.37e-06/0.004471, allocations: 0 / 0.815 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.304e-05/0.004544, allocations: 68.97 kB / 0.8151 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.004545, allocations: 1.094 kB / 0.8151 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4): time 0.0001351/0.00468, allocations: 69.56 kB / 0.8152 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.679e-05/0.004707, allocations: 55.34 kB / 0.8152 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.029e-05/0.004777, allocations: 166.5 kB / 0.8154 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/0.004797, allocations: 34.23 kB / 0.8154 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.439e-05/0.004842, allocations: 126.9 kB / 0.8155 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 9.317e-06/0.004851, allocations: 12.47 kB / 0.8155 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.37e-05/0.004895, allocations: 35.89 kB / 0.8156 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.00501, allocations: 0.4892 MB / 0.8161 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.253e-05/0.005062, allocations: 49.69 kB / 0.8161 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.225e-05/0.005115, allocations: 84.67 kB / 0.8162 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.375e-05/0.005178, allocations: 86.11 kB / 0.8163 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.00518, allocations: 0 / 0.8163 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001444/0.005325, allocations: 166.3 kB / 0.8164 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.701e-05/0.005352, allocations: 41.69 kB / 0.8165 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.005356, allocations: 1.281 kB / 0.8165 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.005369, allocations: 3.938 kB / 0.8165 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.454e-05/0.005403, allocations: 7.938 kB / 0.8165 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.845e-06/0.005406, allocations: 0 / 0.8165 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.556e-05/0.005502, allocations: 17.36 kB / 0.8165 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.253e-05/0.005514, allocations: 11.98 kB / 0.8165 GB, free: 12.61 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 7.193e-05/0.005586, allocations: 165 kB / 0.8167 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.268e-06/0.005596, allocations: 9.391 kB / 0.8167 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.197e-05/0.005617, allocations: 4 kB / 0.8167 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.00562, allocations: 4 kB / 0.8167 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.005624, allocations: 4 kB / 0.8167 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.005627, allocations: 0.9219 kB / 0.8167 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.732e-05/0.005695, allocations: 109.2 kB / 0.8168 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.005696, allocations: 1.75 kB / 0.8168 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.023e-06/0.005703, allocations: 0 / 0.8168 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.005706, allocations: 3.984 kB / 0.8168 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.498e-06/0.00571, allocations: 4 kB / 0.8168 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.72e-07/0.005711, allocations: 0.875 kB / 0.8168 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.005712, allocations: 0 / 0.8168 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.726e-05/0.005789, allocations: 96.3 kB / 0.8169 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.923e-06/0.005796, allocations: 7.422 kB / 0.8169 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.793e-06/0.005803, allocations: 4 kB / 0.8169 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.223e-06/0.00581, allocations: 3.938 kB / 0.8169 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.105e-05/0.005831, allocations: 7.922 kB / 0.8169 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.928e-06/0.005835, allocations: 4 kB / 0.8169 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.519e-05/0.00587, allocations: 127.6 kB / 0.817 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.00587, allocations: 0 / 0.817 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000142/0.006012, allocations: 16 kB / 0.8171 GB, free: 11.99 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 9.949e-05/0.006112, allocations: 103.7 kB / 0.8172 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001359/0.006247, allocations: 142.8 kB / 0.8173 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.263e-06/0.006249, allocations: 0 / 0.8173 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.023e-05/0.006269, allocations: 23.67 kB / 0.8173 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001475/0.006416, allocations: 15.31 kB / 0.8173 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001918/0.006608, allocations: 134.2 kB / 0.8175 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.952e-05/0.006638, allocations: 60.64 kB / 0.8175 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.549e-05/0.006653, allocations: 4 kB / 0.8175 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.954e-05/0.006723, allocations: 82.19 kB / 0.8176 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of SimCode: time 6.02e-07/0.006723, allocations: 0.9062 kB / 0.8176 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of Templates: time 0.002417/0.00914, allocations: 1.286 MB / 0.8189 GB, free: 10.12 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: 4.973079654853791]