Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001452/0.001452, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001166/0.001166, allocations: 169 kB / 23.27 MB, free: 1.223 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.001/1.001, allocations: 177.2 MB / 203.7 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.41/2.41, allocations: 438.1 MB / 0.682 GB, free: 14.16 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.136e-06/3.136e-06, allocations: 0 / 0.8897 GB, free: 9.773 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.408e-05/3.722e-05, allocations: 5.406 kB / 0.8897 GB, free: 9.77 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.002045/0.002082, allocations: 0.6256 MB / 0.8903 GB, free: 9.145 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001905/0.003987, allocations: 1.158 MB / 0.8915 GB, free: 7.973 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.682e-05/0.004044, allocations: 4 kB / 0.8915 GB, free: 7.969 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 3.633e-05/0.00408, allocations: 3.938 kB / 0.8915 GB, free: 7.965 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 8.774e-05/0.004168, allocations: 3.938 kB / 0.8915 GB, free: 7.961 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004887/0.004657, allocations: 123.6 kB / 0.8916 GB, free: 7.84 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001805/0.004837, allocations: 91.81 kB / 0.8917 GB, free: 7.75 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.00494, allocations: 4 kB / 0.8917 GB, free: 7.746 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001185/0.005059, allocations: 51.95 kB / 0.8917 GB, free: 7.695 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001148/0.005173, allocations: 23.95 kB / 0.8918 GB, free: 7.672 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.724e-05/0.005201, allocations: 12 kB / 0.8918 GB, free: 7.66 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 7.263e-05/0.005273, allocations: 19.98 kB / 0.8918 GB, free: 7.641 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.573e-05/0.005299, allocations: 7.938 kB / 0.8918 GB, free: 7.633 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 4.478e-05/0.005344, allocations: 19.98 kB / 0.8918 GB, free: 7.613 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001607/0.005504, allocations: 79.77 kB / 0.8919 GB, free: 7.535 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.005508, allocations: 0 / 0.8919 GB, free: 7.535 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.903e-06/0.00551, allocations: 0 / 0.8919 GB, free: 7.535 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.005516, allocations: 3.938 kB / 0.8919 GB, free: 7.531 MB / 0.8542 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.0004703/0.005986, allocations: 414.2 kB / 0.8923 GB, free: 7.082 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.504e-05/0.006041, allocations: 12.03 kB / 0.8923 GB, free: 7.07 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.421e-05/0.006095, allocations: 4.938 kB / 0.8923 GB, free: 7.066 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001003/0.006195, allocations: 116.6 kB / 0.8924 GB, free: 6.926 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.129e-05/0.006217, allocations: 384 / 0.8924 GB, free: 6.926 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.687e-05/0.006234, allocations: 4.375 kB / 0.8924 GB, free: 6.922 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.661e-05/0.00633, allocations: 58.89 kB / 0.8925 GB, free: 6.855 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.006338, allocations: 192 / 0.8925 GB, free: 6.855 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.073e-06/0.006345, allocations: 384 / 0.8925 GB, free: 6.855 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.006351, allocations: 384 / 0.8925 GB, free: 6.855 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.499e-05/0.006376, allocations: 7.938 kB / 0.8925 GB, free: 6.848 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003381/0.006714, allocations: 268.3 kB / 0.8927 GB, free: 6.559 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 5.544e-05/0.00677, allocations: 27.06 kB / 0.8928 GB, free: 6.52 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.754e-05/0.006787, allocations: 19.75 kB / 0.8928 GB, free: 6.496 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 7.384e-06/0.006795, allocations: 3.938 kB / 0.8928 GB, free: 6.492 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001154/0.00691, allocations: 65.03 kB / 0.8928 GB, free: 6.414 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=4): time 2.475e-06/0.006912, allocations: 0 / 0.8928 GB, free: 6.414 MB / 0.8542 GB Notification: Performance of matching and sorting (n=4): time 0.0001909/0.007103, allocations: 65.61 kB / 0.8929 GB, free: 6.344 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.889e-05/0.007142, allocations: 55.34 kB / 0.893 GB, free: 6.277 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.745e-05/0.00724, allocations: 169.9 kB / 0.8931 GB, free: 6.094 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.427e-05/0.007264, allocations: 29.7 kB / 0.8932 GB, free: 6.059 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.092e-05/0.007325, allocations: 134.9 kB / 0.8933 GB, free: 5.922 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.268e-05/0.007338, allocations: 7.938 kB / 0.8933 GB, free: 5.914 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.332e-05/0.007401, allocations: 39.36 kB / 0.8933 GB, free: 5.867 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000159/0.00756, allocations: 0.4923 MB / 0.8938 GB, free: 5.363 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.439e-05/0.007634, allocations: 45.69 kB / 0.8938 GB, free: 5.312 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.626e-05/0.007711, allocations: 80.73 kB / 0.8939 GB, free: 5.215 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.902e-05/0.00781, allocations: 80.69 kB / 0.894 GB, free: 5.117 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.007812, allocations: 0 / 0.894 GB, free: 5.117 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002313/0.008043, allocations: 165 kB / 0.8942 GB, free: 4.938 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.56e-05/0.008089, allocations: 41.69 kB / 0.8942 GB, free: 4.891 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.008094, allocations: 4.062 kB / 0.8942 GB, free: 4.887 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.008108, allocations: 3.938 kB / 0.8942 GB, free: 4.883 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.925e-05/0.008157, allocations: 7.938 kB / 0.8942 GB, free: 4.875 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.096e-06/0.008161, allocations: 0 / 0.8942 GB, free: 4.875 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001426/0.008303, allocations: 23.94 kB / 0.8942 GB, free: 4.852 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.644e-05/0.00832, allocations: 7.984 kB / 0.8942 GB, free: 4.844 MB / 0.8542 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 9.266e-05/0.008412, allocations: 160.6 kB / 0.8944 GB, free: 4.676 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.56e-05/0.008428, allocations: 8.234 kB / 0.8944 GB, free: 4.668 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.225e-05/0.00846, allocations: 4 kB / 0.8944 GB, free: 4.656 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.008465, allocations: 11.92 kB / 0.8944 GB, free: 4.645 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.00847, allocations: 4.062 kB / 0.8944 GB, free: 4.641 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.008474, allocations: 0 / 0.8944 GB, free: 4.641 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.663e-05/0.008571, allocations: 101.2 kB / 0.8945 GB, free: 4.516 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.008573, allocations: 3.938 kB / 0.8945 GB, free: 4.512 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.224e-05/0.008595, allocations: 8 kB / 0.8945 GB, free: 4.504 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.008598, allocations: 0 / 0.8945 GB, free: 4.504 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.278e-06/0.008602, allocations: 0 / 0.8945 GB, free: 4.504 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.008604, allocations: 0 / 0.8945 GB, free: 4.504 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.008605, allocations: 0 / 0.8945 GB, free: 4.504 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001254/0.008731, allocations: 96.31 kB / 0.8946 GB, free: 4.387 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.182e-05/0.008742, allocations: 11.98 kB / 0.8946 GB, free: 4.375 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.999e-06/0.008752, allocations: 0 / 0.8946 GB, free: 4.375 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.677e-05/0.008769, allocations: 0 / 0.8946 GB, free: 4.375 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.755e-05/0.008797, allocations: 11.92 kB / 0.8946 GB, free: 4.363 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.08e-06/0.008802, allocations: 0 / 0.8946 GB, free: 4.363 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.259e-05/0.008854, allocations: 123.2 kB / 0.8948 GB, free: 4.242 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.008854, allocations: 0 / 0.8948 GB, free: 4.242 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002585/0.009113, allocations: 20 kB / 0.8948 GB, free: 4.223 MB / 0.8542 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.0001442/0.009257, allocations: 107.1 kB / 0.8949 GB, free: 4.109 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001793/0.009437, allocations: 140.8 kB / 0.895 GB, free: 3.949 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.009438, allocations: 0 / 0.895 GB, free: 3.949 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.603e-05/0.009464, allocations: 19.62 kB / 0.895 GB, free: 3.926 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002294/0.009694, allocations: 11.98 kB / 0.8951 GB, free: 3.914 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000284/0.009978, allocations: 138.1 kB / 0.8952 GB, free: 3.75 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.686e-05/0.01001, allocations: 55.34 kB / 0.8952 GB, free: 3.676 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.409e-05/0.01004, allocations: 4.25 kB / 0.8952 GB, free: 3.672 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.404e-05/0.01013, allocations: 82.19 kB / 0.8953 GB, free: 3.59 MB / 0.8542 GB Notification: Performance of SimCode: time 1.012e-06/0.01013, allocations: 8.062 kB / 0.8953 GB, free: 3.582 MB / 0.8542 GB Notification: Performance of Templates: time 0.00402/0.01415, allocations: 1.316 MB / 0.8966 GB, free: 2.293 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.361402431037277]